Skip to content

Commit

Permalink
AWS Personalize: Adds ability to create a solution version using FULL…
Browse files Browse the repository at this point in the history
… or UPDATE training mode

Documentation updates for WorkSpaces
  • Loading branch information
aws-sdk-cpp-automation committed Oct 14, 2019
1 parent afe4a67 commit c66d7be
Show file tree
Hide file tree
Showing 13 changed files with 493 additions and 86 deletions.
2 changes: 1 addition & 1 deletion aws-cpp-sdk-core/include/aws/core/VersionConfig.h
Expand Up @@ -13,4 +13,4 @@
* permissions and limitations under the License.
*/

#define AWS_SDK_VERSION_STRING "1.7.202"
#define AWS_SDK_VERSION_STRING "1.7.203"
Expand Up @@ -17,6 +17,7 @@
#include <aws/personalize/Personalize_EXPORTS.h>
#include <aws/personalize/PersonalizeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/personalize/model/TrainingMode.h>
#include <utility>

namespace Aws
Expand Down Expand Up @@ -92,10 +93,98 @@ namespace Model
*/
inline CreateSolutionVersionRequest& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;}


/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline const TrainingMode& GetTrainingMode() const{ return m_trainingMode; }

/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline bool TrainingModeHasBeenSet() const { return m_trainingModeHasBeenSet; }

/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline void SetTrainingMode(const TrainingMode& value) { m_trainingModeHasBeenSet = true; m_trainingMode = value; }

/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline void SetTrainingMode(TrainingMode&& value) { m_trainingModeHasBeenSet = true; m_trainingMode = std::move(value); }

/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline CreateSolutionVersionRequest& WithTrainingMode(const TrainingMode& value) { SetTrainingMode(value); return *this;}

/**
* <p>The scope of training to be performed when creating the solution version. The
* <code>FULL</code> option trains the solution version based on the entirety of
* the input solution's training data, while the <code>UPDATE</code> option
* processes only the data that has changed in comparison to the input solution.
* Choose <code>UPDATE</code> when you want to incrementally update your solution
* version instead of creating an entirely new one.</p> <important> <p>The
* <code>UPDATE</code> option can only be used when you already have an active
* solution version created from the input solution using the <code>FULL</code>
* option and the input solution was trained with the
* <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>
*/
inline CreateSolutionVersionRequest& WithTrainingMode(TrainingMode&& value) { SetTrainingMode(std::move(value)); return *this;}

private:

Aws::String m_solutionArn;
bool m_solutionArnHasBeenSet;

TrainingMode m_trainingMode;
bool m_trainingModeHasBeenSet;
};

} // namespace Model
Expand Down
Expand Up @@ -49,83 +49,107 @@ namespace Model


/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline const Aws::String& GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; }

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline void SetMaxNumberOfTrainingJobs(const Aws::String& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; }

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline void SetMaxNumberOfTrainingJobs(Aws::String&& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = std::move(value); }

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline void SetMaxNumberOfTrainingJobs(const char* value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs.assign(value); }

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const Aws::String& value) { SetMaxNumberOfTrainingJobs(value); return *this;}

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(Aws::String&& value) { SetMaxNumberOfTrainingJobs(std::move(value)); return *this;}

/**
* <p>The maximum number of training jobs.</p>
* <p>The maximum number of training jobs when you create a solution version. The
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
*/
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const char* value) { SetMaxNumberOfTrainingJobs(value); return *this;}


/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline const Aws::String& GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; }

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline void SetMaxParallelTrainingJobs(const Aws::String& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; }

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline void SetMaxParallelTrainingJobs(Aws::String&& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = std::move(value); }

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline void SetMaxParallelTrainingJobs(const char* value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs.assign(value); }

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline HPOResourceConfig& WithMaxParallelTrainingJobs(const Aws::String& value) { SetMaxParallelTrainingJobs(value); return *this;}

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline HPOResourceConfig& WithMaxParallelTrainingJobs(Aws::String&& value) { SetMaxParallelTrainingJobs(std::move(value)); return *this;}

/**
* <p>The maximum number of parallel training jobs.</p>
* <p>The maximum number of parallel training jobs when you create a solution
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
* <code>10</code>.</p>
*/
inline HPOResourceConfig& WithMaxParallelTrainingJobs(const char* value) { SetMaxParallelTrainingJobs(value); return *this;}

Expand Down

0 comments on commit c66d7be

Please sign in to comment.