AWS SDK for C++  1.9.109
AWS SDK for C++
HPOResourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Personalize
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; }
46 
51  inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }
52 
57  inline void SetMaxNumberOfTrainingJobs(const Aws::String& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; }
58 
63  inline void SetMaxNumberOfTrainingJobs(Aws::String&& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = std::move(value); }
64 
69  inline void SetMaxNumberOfTrainingJobs(const char* value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs.assign(value); }
70 
75  inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const Aws::String& value) { SetMaxNumberOfTrainingJobs(value); return *this;}
76 
81  inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(Aws::String&& value) { SetMaxNumberOfTrainingJobs(std::move(value)); return *this;}
82 
87  inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const char* value) { SetMaxNumberOfTrainingJobs(value); return *this;}
88 
89 
95  inline const Aws::String& GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; }
96 
102  inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }
103 
109  inline void SetMaxParallelTrainingJobs(const Aws::String& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; }
110 
116  inline void SetMaxParallelTrainingJobs(Aws::String&& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = std::move(value); }
117 
123  inline void SetMaxParallelTrainingJobs(const char* value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs.assign(value); }
124 
130  inline HPOResourceConfig& WithMaxParallelTrainingJobs(const Aws::String& value) { SetMaxParallelTrainingJobs(value); return *this;}
131 
137  inline HPOResourceConfig& WithMaxParallelTrainingJobs(Aws::String&& value) { SetMaxParallelTrainingJobs(std::move(value)); return *this;}
138 
144  inline HPOResourceConfig& WithMaxParallelTrainingJobs(const char* value) { SetMaxParallelTrainingJobs(value); return *this;}
145 
146  private:
147 
148  Aws::String m_maxNumberOfTrainingJobs;
149  bool m_maxNumberOfTrainingJobsHasBeenSet;
150 
151  Aws::String m_maxParallelTrainingJobs;
152  bool m_maxParallelTrainingJobsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace Personalize
157 } // namespace Aws
Aws::Personalize::Model::HPOResourceConfig::HPOResourceConfig
HPOResourceConfig()
Aws::Personalize::Model::HPOResourceConfig::GetMaxNumberOfTrainingJobs
const Aws::String & GetMaxNumberOfTrainingJobs() const
Definition: HPOResourceConfig.h:45
Aws::Personalize::Model::HPOResourceConfig::SetMaxParallelTrainingJobs
void SetMaxParallelTrainingJobs(const Aws::String &value)
Definition: HPOResourceConfig.h:109
Aws::Personalize::Model::HPOResourceConfig
Definition: HPOResourceConfig.h:33
Aws::Personalize::Model::HPOResourceConfig::SetMaxNumberOfTrainingJobs
void SetMaxNumberOfTrainingJobs(const Aws::String &value)
Definition: HPOResourceConfig.h:57
Aws::Personalize::Model::HPOResourceConfig::WithMaxParallelTrainingJobs
HPOResourceConfig & WithMaxParallelTrainingJobs(const Aws::String &value)
Definition: HPOResourceConfig.h:130
Aws::Personalize::Model::HPOResourceConfig::SetMaxNumberOfTrainingJobs
void SetMaxNumberOfTrainingJobs(Aws::String &&value)
Definition: HPOResourceConfig.h:63
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::HPOResourceConfig::MaxNumberOfTrainingJobsHasBeenSet
bool MaxNumberOfTrainingJobsHasBeenSet() const
Definition: HPOResourceConfig.h:51
Aws::Personalize::Model::HPOResourceConfig::operator=
HPOResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HPOResourceConfig::WithMaxNumberOfTrainingJobs
HPOResourceConfig & WithMaxNumberOfTrainingJobs(const char *value)
Definition: HPOResourceConfig.h:87
Aws::Personalize::Model::HPOResourceConfig::SetMaxNumberOfTrainingJobs
void SetMaxNumberOfTrainingJobs(const char *value)
Definition: HPOResourceConfig.h:69
Aws::Personalize::Model::HPOResourceConfig::SetMaxParallelTrainingJobs
void SetMaxParallelTrainingJobs(const char *value)
Definition: HPOResourceConfig.h:123
Aws::Personalize::Model::HPOResourceConfig::WithMaxParallelTrainingJobs
HPOResourceConfig & WithMaxParallelTrainingJobs(const char *value)
Definition: HPOResourceConfig.h:144
Aws::Personalize::Model::HPOResourceConfig::WithMaxParallelTrainingJobs
HPOResourceConfig & WithMaxParallelTrainingJobs(Aws::String &&value)
Definition: HPOResourceConfig.h:137
Aws::Personalize::Model::HPOResourceConfig::MaxParallelTrainingJobsHasBeenSet
bool MaxParallelTrainingJobsHasBeenSet() const
Definition: HPOResourceConfig.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::HPOResourceConfig::HPOResourceConfig
HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::HPOResourceConfig::SetMaxParallelTrainingJobs
void SetMaxParallelTrainingJobs(Aws::String &&value)
Definition: HPOResourceConfig.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::HPOResourceConfig::GetMaxParallelTrainingJobs
const Aws::String & GetMaxParallelTrainingJobs() const
Definition: HPOResourceConfig.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Personalize_EXPORTS.h
Aws::Personalize::Model::HPOResourceConfig::WithMaxNumberOfTrainingJobs
HPOResourceConfig & WithMaxNumberOfTrainingJobs(Aws::String &&value)
Definition: HPOResourceConfig.h:81
Aws::Personalize::Model::HPOResourceConfig::WithMaxNumberOfTrainingJobs
HPOResourceConfig & WithMaxNumberOfTrainingJobs(const Aws::String &value)
Definition: HPOResourceConfig.h:75
Aws::Personalize::Model::HPOResourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const