AWS SDK for C++  1.9.160
AWS SDK for C++
CreateSolutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Personalize
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CreateSolution"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetName() const{ return m_name; }
42 
46  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 
51  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 
56  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 
61  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 
66  inline CreateSolutionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 
71  inline CreateSolutionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 
76  inline CreateSolutionRequest& WithName(const char* value) { SetName(value); return *this;}
77 
78 
85  inline bool GetPerformHPO() const{ return m_performHPO; }
86 
93  inline bool PerformHPOHasBeenSet() const { return m_performHPOHasBeenSet; }
94 
101  inline void SetPerformHPO(bool value) { m_performHPOHasBeenSet = true; m_performHPO = value; }
102 
109  inline CreateSolutionRequest& WithPerformHPO(bool value) { SetPerformHPO(value); return *this;}
110 
111 
122  inline bool GetPerformAutoML() const{ return m_performAutoML; }
123 
134  inline bool PerformAutoMLHasBeenSet() const { return m_performAutoMLHasBeenSet; }
135 
146  inline void SetPerformAutoML(bool value) { m_performAutoMLHasBeenSet = true; m_performAutoML = value; }
147 
158  inline CreateSolutionRequest& WithPerformAutoML(bool value) { SetPerformAutoML(value); return *this;}
159 
160 
165  inline const Aws::String& GetRecipeArn() const{ return m_recipeArn; }
166 
171  inline bool RecipeArnHasBeenSet() const { return m_recipeArnHasBeenSet; }
172 
177  inline void SetRecipeArn(const Aws::String& value) { m_recipeArnHasBeenSet = true; m_recipeArn = value; }
178 
183  inline void SetRecipeArn(Aws::String&& value) { m_recipeArnHasBeenSet = true; m_recipeArn = std::move(value); }
184 
189  inline void SetRecipeArn(const char* value) { m_recipeArnHasBeenSet = true; m_recipeArn.assign(value); }
190 
195  inline CreateSolutionRequest& WithRecipeArn(const Aws::String& value) { SetRecipeArn(value); return *this;}
196 
201  inline CreateSolutionRequest& WithRecipeArn(Aws::String&& value) { SetRecipeArn(std::move(value)); return *this;}
202 
207  inline CreateSolutionRequest& WithRecipeArn(const char* value) { SetRecipeArn(value); return *this;}
208 
209 
214  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
215 
220  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
221 
226  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
227 
232  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
233 
238  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
239 
244  inline CreateSolutionRequest& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
245 
250  inline CreateSolutionRequest& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
251 
256  inline CreateSolutionRequest& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
257 
258 
266  inline const Aws::String& GetEventType() const{ return m_eventType; }
267 
275  inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
276 
284  inline void SetEventType(const Aws::String& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
285 
293  inline void SetEventType(Aws::String&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
294 
302  inline void SetEventType(const char* value) { m_eventTypeHasBeenSet = true; m_eventType.assign(value); }
303 
311  inline CreateSolutionRequest& WithEventType(const Aws::String& value) { SetEventType(value); return *this;}
312 
320  inline CreateSolutionRequest& WithEventType(Aws::String&& value) { SetEventType(std::move(value)); return *this;}
321 
329  inline CreateSolutionRequest& WithEventType(const char* value) { SetEventType(value); return *this;}
330 
331 
338  inline const SolutionConfig& GetSolutionConfig() const{ return m_solutionConfig; }
339 
346  inline bool SolutionConfigHasBeenSet() const { return m_solutionConfigHasBeenSet; }
347 
354  inline void SetSolutionConfig(const SolutionConfig& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = value; }
355 
362  inline void SetSolutionConfig(SolutionConfig&& value) { m_solutionConfigHasBeenSet = true; m_solutionConfig = std::move(value); }
363 
370  inline CreateSolutionRequest& WithSolutionConfig(const SolutionConfig& value) { SetSolutionConfig(value); return *this;}
371 
378  inline CreateSolutionRequest& WithSolutionConfig(SolutionConfig&& value) { SetSolutionConfig(std::move(value)); return *this;}
379 
380  private:
381 
382  Aws::String m_name;
383  bool m_nameHasBeenSet;
384 
385  bool m_performHPO;
386  bool m_performHPOHasBeenSet;
387 
388  bool m_performAutoML;
389  bool m_performAutoMLHasBeenSet;
390 
391  Aws::String m_recipeArn;
392  bool m_recipeArnHasBeenSet;
393 
394  Aws::String m_datasetGroupArn;
395  bool m_datasetGroupArnHasBeenSet;
396 
397  Aws::String m_eventType;
398  bool m_eventTypeHasBeenSet;
399 
400  SolutionConfig m_solutionConfig;
401  bool m_solutionConfigHasBeenSet;
402  };
403 
404 } // namespace Model
405 } // namespace Personalize
406 } // namespace Aws
Aws::Personalize::Model::CreateSolutionRequest::WithName
CreateSolutionRequest & WithName(const Aws::String &value)
Definition: CreateSolutionRequest.h:66
Aws::Personalize::Model::CreateSolutionRequest::WithSolutionConfig
CreateSolutionRequest & WithSolutionConfig(const SolutionConfig &value)
Definition: CreateSolutionRequest.h:370
Aws::Personalize::Model::CreateSolutionRequest::WithPerformHPO
CreateSolutionRequest & WithPerformHPO(bool value)
Definition: CreateSolutionRequest.h:109
PersonalizeRequest.h
Aws::Personalize::Model::CreateSolutionRequest::SetEventType
void SetEventType(const Aws::String &value)
Definition: CreateSolutionRequest.h:284
Aws::Personalize::Model::CreateSolutionRequest::WithRecipeArn
CreateSolutionRequest & WithRecipeArn(Aws::String &&value)
Definition: CreateSolutionRequest.h:201
Aws::Personalize::Model::CreateSolutionRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateSolutionRequest.h:56
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::CreateSolutionRequest::WithSolutionConfig
CreateSolutionRequest & WithSolutionConfig(SolutionConfig &&value)
Definition: CreateSolutionRequest.h:378
Aws::Personalize::Model::CreateSolutionRequest::PerformHPOHasBeenSet
bool PerformHPOHasBeenSet() const
Definition: CreateSolutionRequest.h:93
Aws::Personalize::Model::CreateSolutionRequest::GetName
const Aws::String & GetName() const
Definition: CreateSolutionRequest.h:41
Aws::Personalize::Model::CreateSolutionRequest::WithEventType
CreateSolutionRequest & WithEventType(Aws::String &&value)
Definition: CreateSolutionRequest.h:320
Aws::Personalize::Model::CreateSolutionRequest::GetPerformAutoML
bool GetPerformAutoML() const
Definition: CreateSolutionRequest.h:122
Aws::Personalize::Model::CreateSolutionRequest::SetPerformAutoML
void SetPerformAutoML(bool value)
Definition: CreateSolutionRequest.h:146
Aws::Personalize::Model::CreateSolutionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateSolutionRequest.h:46
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateSolutionRequest::SetSolutionConfig
void SetSolutionConfig(const SolutionConfig &value)
Definition: CreateSolutionRequest.h:354
Aws::Personalize::Model::CreateSolutionRequest::WithName
CreateSolutionRequest & WithName(const char *value)
Definition: CreateSolutionRequest.h:76
Aws::Personalize::Model::CreateSolutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Personalize::Model::CreateSolutionRequest::RecipeArnHasBeenSet
bool RecipeArnHasBeenSet() const
Definition: CreateSolutionRequest.h:171
Aws::Personalize::Model::CreateSolutionRequest::SolutionConfigHasBeenSet
bool SolutionConfigHasBeenSet() const
Definition: CreateSolutionRequest.h:346
Aws::Personalize::Model::CreateSolutionRequest::GetEventType
const Aws::String & GetEventType() const
Definition: CreateSolutionRequest.h:266
Aws::Personalize::Model::CreateSolutionRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: CreateSolutionRequest.h:238
Aws::Personalize::Model::CreateSolutionRequest::SetName
void SetName(const char *value)
Definition: CreateSolutionRequest.h:61
Aws::Personalize::Model::CreateSolutionRequest::WithEventType
CreateSolutionRequest & WithEventType(const Aws::String &value)
Definition: CreateSolutionRequest.h:311
Aws::Personalize::Model::CreateSolutionRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateSolutionRequest.h:51
Aws::Personalize::Model::CreateSolutionRequest::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: CreateSolutionRequest.h:232
Aws::Personalize::Model::CreateSolutionRequest::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: CreateSolutionRequest.h:220
Aws::Personalize::Model::CreateSolutionRequest::WithDatasetGroupArn
CreateSolutionRequest & WithDatasetGroupArn(const char *value)
Definition: CreateSolutionRequest.h:256
Aws::Personalize::Model::CreateSolutionRequest::SetEventType
void SetEventType(const char *value)
Definition: CreateSolutionRequest.h:302
Aws::Personalize::Model::CreateSolutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::Personalize::Model::CreateSolutionRequest::GetPerformHPO
bool GetPerformHPO() const
Definition: CreateSolutionRequest.h:85
Aws::Personalize::Model::CreateSolutionRequest::GetRecipeArn
const Aws::String & GetRecipeArn() const
Definition: CreateSolutionRequest.h:165
Aws::Personalize::Model::CreateSolutionRequest::CreateSolutionRequest
CreateSolutionRequest()
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::CreateSolutionRequest::GetSolutionConfig
const SolutionConfig & GetSolutionConfig() const
Definition: CreateSolutionRequest.h:338
Aws::Personalize::Model::CreateSolutionRequest::SetRecipeArn
void SetRecipeArn(const Aws::String &value)
Definition: CreateSolutionRequest.h:177
Aws::Personalize::Model::CreateSolutionRequest
Definition: CreateSolutionRequest.h:23
Aws::Personalize::Model::CreateSolutionRequest::SetPerformHPO
void SetPerformHPO(bool value)
Definition: CreateSolutionRequest.h:101
SolutionConfig.h
Aws::Personalize::Model::CreateSolutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSolutionRequest.h:31
Aws::Personalize::Model::CreateSolutionRequest::WithDatasetGroupArn
CreateSolutionRequest & WithDatasetGroupArn(Aws::String &&value)
Definition: CreateSolutionRequest.h:250
Aws::Personalize::Model::CreateSolutionRequest::WithName
CreateSolutionRequest & WithName(Aws::String &&value)
Definition: CreateSolutionRequest.h:71
Aws::Personalize::Model::CreateSolutionRequest::SetRecipeArn
void SetRecipeArn(const char *value)
Definition: CreateSolutionRequest.h:189
Aws::Personalize::Model::CreateSolutionRequest::SetEventType
void SetEventType(Aws::String &&value)
Definition: CreateSolutionRequest.h:293
Aws::Personalize::Model::CreateSolutionRequest::EventTypeHasBeenSet
bool EventTypeHasBeenSet() const
Definition: CreateSolutionRequest.h:275
Aws::Personalize::Model::CreateSolutionRequest::WithEventType
CreateSolutionRequest & WithEventType(const char *value)
Definition: CreateSolutionRequest.h:329
Aws::Personalize::Model::CreateSolutionRequest::WithDatasetGroupArn
CreateSolutionRequest & WithDatasetGroupArn(const Aws::String &value)
Definition: CreateSolutionRequest.h:244
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateSolutionRequest::PerformAutoMLHasBeenSet
bool PerformAutoMLHasBeenSet() const
Definition: CreateSolutionRequest.h:134
Aws::Personalize::Model::CreateSolutionRequest::WithPerformAutoML
CreateSolutionRequest & WithPerformAutoML(bool value)
Definition: CreateSolutionRequest.h:158
Aws::Personalize::Model::CreateSolutionRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: CreateSolutionRequest.h:226
Aws::Personalize::Model::CreateSolutionRequest::SetSolutionConfig
void SetSolutionConfig(SolutionConfig &&value)
Definition: CreateSolutionRequest.h:362
Aws::Personalize::Model::CreateSolutionRequest::SetRecipeArn
void SetRecipeArn(Aws::String &&value)
Definition: CreateSolutionRequest.h:183
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::SolutionConfig
Definition: SolutionConfig.h:37
Aws::Personalize::Model::CreateSolutionRequest::WithRecipeArn
CreateSolutionRequest & WithRecipeArn(const char *value)
Definition: CreateSolutionRequest.h:207
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateSolutionRequest::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: CreateSolutionRequest.h:214
Aws::Personalize::Model::CreateSolutionRequest::WithRecipeArn
CreateSolutionRequest & WithRecipeArn(const Aws::String &value)
Definition: CreateSolutionRequest.h:195