AWS SDK for C++  1.9.158
AWS SDK for C++
CreateTrialRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateTrial"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetTrialName() const{ return m_trialName; }
45 
50  inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
51 
56  inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
57 
62  inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
63 
68  inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
69 
74  inline CreateTrialRequest& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
75 
80  inline CreateTrialRequest& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
81 
86  inline CreateTrialRequest& WithTrialName(const char* value) { SetTrialName(value); return *this;}
87 
88 
94  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
95 
101  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
102 
108  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
109 
115  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
116 
122  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
123 
129  inline CreateTrialRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
130 
136  inline CreateTrialRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
137 
143  inline CreateTrialRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
144 
145 
149  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
150 
154  inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
155 
159  inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
160 
164  inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
165 
169  inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
170 
174  inline CreateTrialRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
175 
179  inline CreateTrialRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
180 
184  inline CreateTrialRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
185 
186 
187 
188  inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
189 
190 
191  inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; }
192 
193 
194  inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = value; }
195 
196 
197  inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::move(value); }
198 
199 
200  inline CreateTrialRequest& WithMetadataProperties(const MetadataProperties& value) { SetMetadataProperties(value); return *this;}
201 
202 
203  inline CreateTrialRequest& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
204 
205 
210  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
211 
216  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
217 
222  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
223 
228  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
229 
234  inline CreateTrialRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
235 
240  inline CreateTrialRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
241 
246  inline CreateTrialRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
247 
252  inline CreateTrialRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
253 
254  private:
255 
256  Aws::String m_trialName;
257  bool m_trialNameHasBeenSet;
258 
259  Aws::String m_displayName;
260  bool m_displayNameHasBeenSet;
261 
262  Aws::String m_experimentName;
263  bool m_experimentNameHasBeenSet;
264 
265  MetadataProperties m_metadataProperties;
266  bool m_metadataPropertiesHasBeenSet;
267 
268  Aws::Vector<Tag> m_tags;
269  bool m_tagsHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace SageMaker
274 } // namespace Aws
Aws::SageMaker::Model::CreateTrialRequest::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: CreateTrialRequest.h:149
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SageMaker::Model::CreateTrialRequest::TrialNameHasBeenSet
bool TrialNameHasBeenSet() const
Definition: CreateTrialRequest.h:50
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateTrialRequest::SetTrialName
void SetTrialName(const char *value)
Definition: CreateTrialRequest.h:68
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateTrialRequest::SetMetadataProperties
void SetMetadataProperties(const MetadataProperties &value)
Definition: CreateTrialRequest.h:194
Aws::SageMaker::Model::CreateTrialRequest::SetTrialName
void SetTrialName(Aws::String &&value)
Definition: CreateTrialRequest.h:62
Aws::SageMaker::Model::CreateTrialRequest::SetExperimentName
void SetExperimentName(const char *value)
Definition: CreateTrialRequest.h:169
Aws::SageMaker::Model::CreateTrialRequest::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: CreateTrialRequest.h:164
Aws::SageMaker::Model::CreateTrialRequest::WithDisplayName
CreateTrialRequest & WithDisplayName(const Aws::String &value)
Definition: CreateTrialRequest.h:129
Aws::SageMaker::Model::CreateTrialRequest::WithExperimentName
CreateTrialRequest & WithExperimentName(Aws::String &&value)
Definition: CreateTrialRequest.h:179
Aws::SageMaker::Model::CreateTrialRequest::GetMetadataProperties
const MetadataProperties & GetMetadataProperties() const
Definition: CreateTrialRequest.h:188
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateTrialRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::SageMaker::Model::CreateTrialRequest::WithDisplayName
CreateTrialRequest & WithDisplayName(const char *value)
Definition: CreateTrialRequest.h:143
Aws::SageMaker::Model::CreateTrialRequest::WithDisplayName
CreateTrialRequest & WithDisplayName(Aws::String &&value)
Definition: CreateTrialRequest.h:136
Aws::SageMaker::Model::CreateTrialRequest::WithTags
CreateTrialRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateTrialRequest.h:240
Aws::SageMaker::Model::CreateTrialRequest::CreateTrialRequest
CreateTrialRequest()
Aws::SageMaker::Model::CreateTrialRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateTrialRequest::WithTrialName
CreateTrialRequest & WithTrialName(Aws::String &&value)
Definition: CreateTrialRequest.h:80
Aws::SageMaker::Model::CreateTrialRequest::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: CreateTrialRequest.h:159
Aws::SageMaker::Model::CreateTrialRequest::WithExperimentName
CreateTrialRequest & WithExperimentName(const Aws::String &value)
Definition: CreateTrialRequest.h:174
Aws::SageMaker::Model::CreateTrialRequest::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: CreateTrialRequest.h:115
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateTrialRequest::MetadataPropertiesHasBeenSet
bool MetadataPropertiesHasBeenSet() const
Definition: CreateTrialRequest.h:191
Aws::SageMaker::Model::CreateTrialRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateTrialRequest.h:222
Aws::SageMaker::Model::CreateTrialRequest::WithTrialName
CreateTrialRequest & WithTrialName(const Aws::String &value)
Definition: CreateTrialRequest.h:74
Aws::SageMaker::Model::MetadataProperties
Definition: MetadataProperties.h:33
Aws::SageMaker::Model::CreateTrialRequest::AddTags
CreateTrialRequest & AddTags(const Tag &value)
Definition: CreateTrialRequest.h:246
Aws::SageMaker::Model::CreateTrialRequest::WithMetadataProperties
CreateTrialRequest & WithMetadataProperties(const MetadataProperties &value)
Definition: CreateTrialRequest.h:200
Aws::SageMaker::Model::CreateTrialRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateTrialRequest.h:228
AWSString.h
Aws::SageMaker::Model::CreateTrialRequest::AddTags
CreateTrialRequest & AddTags(Tag &&value)
Definition: CreateTrialRequest.h:252
Tag.h
Aws::SageMaker::Model::CreateTrialRequest::WithExperimentName
CreateTrialRequest & WithExperimentName(const char *value)
Definition: CreateTrialRequest.h:184
Aws::SageMaker::Model::CreateTrialRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTrialRequest.h:33
Aws::SageMaker::Model::CreateTrialRequest::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: CreateTrialRequest.h:108
Aws::SageMaker::Model::CreateTrialRequest::WithTrialName
CreateTrialRequest & WithTrialName(const char *value)
Definition: CreateTrialRequest.h:86
Aws::SageMaker::Model::CreateTrialRequest::ExperimentNameHasBeenSet
bool ExperimentNameHasBeenSet() const
Definition: CreateTrialRequest.h:154
Aws::SageMaker::Model::CreateTrialRequest::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: CreateTrialRequest.h:94
Aws::SageMaker::Model::CreateTrialRequest::SetDisplayName
void SetDisplayName(const char *value)
Definition: CreateTrialRequest.h:122
Aws::SageMaker::Model::CreateTrialRequest::GetTrialName
const Aws::String & GetTrialName() const
Definition: CreateTrialRequest.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateTrialRequest
Definition: CreateTrialRequest.h:25
MetadataProperties.h
SageMakerRequest.h
Aws::SageMaker::Model::CreateTrialRequest::WithMetadataProperties
CreateTrialRequest & WithMetadataProperties(MetadataProperties &&value)
Definition: CreateTrialRequest.h:203
Aws::SageMaker::Model::CreateTrialRequest::WithTags
CreateTrialRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateTrialRequest.h:234
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateTrialRequest::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: CreateTrialRequest.h:101
Aws::SageMaker::Model::CreateTrialRequest::SetMetadataProperties
void SetMetadataProperties(MetadataProperties &&value)
Definition: CreateTrialRequest.h:197
Aws::SageMaker::Model::CreateTrialRequest::SetTrialName
void SetTrialName(const Aws::String &value)
Definition: CreateTrialRequest.h:56
Aws::SageMaker::Model::CreateTrialRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateTrialRequest.h:210
Aws::SageMaker::Model::CreateTrialRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateTrialRequest.h:216