AWS SDK for C++  1.9.160
AWS SDK for C++
CreateDeviceFleetRequest.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 "CreateDeviceFleet"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
44 
48  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
49 
53  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
54 
58  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
59 
63  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
64 
68  inline CreateDeviceFleetRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
69 
73  inline CreateDeviceFleetRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
74 
78  inline CreateDeviceFleetRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
79 
80 
85  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
86 
91  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
92 
97  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
98 
103  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
104 
109  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
110 
115  inline CreateDeviceFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
116 
121  inline CreateDeviceFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
122 
127  inline CreateDeviceFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
128 
129 
133  inline const Aws::String& GetDescription() const{ return m_description; }
134 
138  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 
143  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 
148  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
149 
153  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
154 
158  inline CreateDeviceFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
159 
163  inline CreateDeviceFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
164 
168  inline CreateDeviceFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
169 
170 
174  inline const EdgeOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
175 
179  inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
180 
184  inline void SetOutputConfig(const EdgeOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
185 
189  inline void SetOutputConfig(EdgeOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
190 
194  inline CreateDeviceFleetRequest& WithOutputConfig(const EdgeOutputConfig& value) { SetOutputConfig(value); return *this;}
195 
199  inline CreateDeviceFleetRequest& WithOutputConfig(EdgeOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
200 
201 
205  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
206 
210  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
211 
215  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
216 
220  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
221 
225  inline CreateDeviceFleetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
226 
230  inline CreateDeviceFleetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
231 
235  inline CreateDeviceFleetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
236 
240  inline CreateDeviceFleetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
241 
242 
250  inline bool GetEnableIotRoleAlias() const{ return m_enableIotRoleAlias; }
251 
259  inline bool EnableIotRoleAliasHasBeenSet() const { return m_enableIotRoleAliasHasBeenSet; }
260 
268  inline void SetEnableIotRoleAlias(bool value) { m_enableIotRoleAliasHasBeenSet = true; m_enableIotRoleAlias = value; }
269 
277  inline CreateDeviceFleetRequest& WithEnableIotRoleAlias(bool value) { SetEnableIotRoleAlias(value); return *this;}
278 
279  private:
280 
281  Aws::String m_deviceFleetName;
282  bool m_deviceFleetNameHasBeenSet;
283 
284  Aws::String m_roleArn;
285  bool m_roleArnHasBeenSet;
286 
287  Aws::String m_description;
288  bool m_descriptionHasBeenSet;
289 
290  EdgeOutputConfig m_outputConfig;
291  bool m_outputConfigHasBeenSet;
292 
293  Aws::Vector<Tag> m_tags;
294  bool m_tagsHasBeenSet;
295 
296  bool m_enableIotRoleAlias;
297  bool m_enableIotRoleAliasHasBeenSet;
298  };
299 
300 } // namespace Model
301 } // namespace SageMaker
302 } // namespace Aws
Aws::SageMaker::Model::CreateDeviceFleetRequest::CreateDeviceFleetRequest
CreateDeviceFleetRequest()
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: CreateDeviceFleetRequest.h:63
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetOutputConfig
void SetOutputConfig(EdgeOutputConfig &&value)
Definition: CreateDeviceFleetRequest.h:189
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDeviceFleetName
CreateDeviceFleetRequest & WithDeviceFleetName(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:73
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: CreateDeviceFleetRequest.h:43
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: CreateDeviceFleetRequest.h:109
Aws::SageMaker::Model::CreateDeviceFleetRequest
Definition: CreateDeviceFleetRequest.h:25
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithRoleArn
CreateDeviceFleetRequest & WithRoleArn(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:115
EdgeOutputConfig.h
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetEnableIotRoleAlias
void SetEnableIotRoleAlias(bool value)
Definition: CreateDeviceFleetRequest.h:268
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetOutputConfig
const EdgeOutputConfig & GetOutputConfig() const
Definition: CreateDeviceFleetRequest.h:174
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithEnableIotRoleAlias
CreateDeviceFleetRequest & WithEnableIotRoleAlias(bool value)
Definition: CreateDeviceFleetRequest.h:277
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:103
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDescription
CreateDeviceFleetRequest & WithDescription(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:163
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:58
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDescription
CreateDeviceFleetRequest & WithDescription(const char *value)
Definition: CreateDeviceFleetRequest.h:168
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDeviceFleetRequest.h:205
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDeviceFleetRequest.h:153
Aws::SageMaker::Model::CreateDeviceFleetRequest::OutputConfigHasBeenSet
bool OutputConfigHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:179
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDeviceFleetRequest.h:220
AWSVector.h
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithTags
CreateDeviceFleetRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDeviceFleetRequest.h:225
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:97
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithRoleArn
CreateDeviceFleetRequest & WithRoleArn(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:121
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDescription
CreateDeviceFleetRequest & WithDescription(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:158
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::EdgeOutputConfig
Definition: EdgeOutputConfig.h:33
Aws::SageMaker::Model::CreateDeviceFleetRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:210
Aws::SageMaker::Model::CreateDeviceFleetRequest::AddTags
CreateDeviceFleetRequest & AddTags(const Tag &value)
Definition: CreateDeviceFleetRequest.h:235
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDeviceFleetRequest.h:148
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateDeviceFleetRequest::EnableIotRoleAliasHasBeenSet
bool EnableIotRoleAliasHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:259
Aws::SageMaker::Model::CreateDeviceFleetRequest::AddTags
CreateDeviceFleetRequest & AddTags(Tag &&value)
Definition: CreateDeviceFleetRequest.h:240
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDeviceFleetRequest.h:33
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithOutputConfig
CreateDeviceFleetRequest & WithOutputConfig(const EdgeOutputConfig &value)
Definition: CreateDeviceFleetRequest.h:194
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDeviceFleetName
CreateDeviceFleetRequest & WithDeviceFleetName(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:68
Aws::SageMaker::Model::CreateDeviceFleetRequest::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:48
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:53
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithRoleArn
CreateDeviceFleetRequest & WithRoleArn(const char *value)
Definition: CreateDeviceFleetRequest.h:127
Aws::SageMaker::Model::CreateDeviceFleetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDeviceFleetRequest.h:143
SageMakerRequest.h
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithDeviceFleetName
CreateDeviceFleetRequest & WithDeviceFleetName(const char *value)
Definition: CreateDeviceFleetRequest.h:78
Aws::SageMaker::Model::CreateDeviceFleetRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:91
Aws::SageMaker::Model::CreateDeviceFleetRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDeviceFleetRequest.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithOutputConfig
CreateDeviceFleetRequest & WithOutputConfig(EdgeOutputConfig &&value)
Definition: CreateDeviceFleetRequest.h:199
Aws::SageMaker::Model::CreateDeviceFleetRequest::WithTags
CreateDeviceFleetRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDeviceFleetRequest.h:230
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetEnableIotRoleAlias
bool GetEnableIotRoleAlias() const
Definition: CreateDeviceFleetRequest.h:250
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDeviceFleetRequest.h:133
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetOutputConfig
void SetOutputConfig(const EdgeOutputConfig &value)
Definition: CreateDeviceFleetRequest.h:184
Aws::SageMaker::Model::CreateDeviceFleetRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: CreateDeviceFleetRequest.h:85
Aws::SageMaker::Model::CreateDeviceFleetRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDeviceFleetRequest.h:215