AWS SDK for C++  1.9.157
AWS SDK for C++
UpdateDeviceFleetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
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 "UpdateDeviceFleet"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
42 
46  inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
47 
51  inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
52 
56  inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
57 
61  inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
62 
66  inline UpdateDeviceFleetRequest& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;}
67 
71  inline UpdateDeviceFleetRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
72 
76  inline UpdateDeviceFleetRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
77 
78 
82  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
83 
87  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
88 
92  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
93 
97  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
98 
102  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
103 
107  inline UpdateDeviceFleetRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
108 
112  inline UpdateDeviceFleetRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
113 
117  inline UpdateDeviceFleetRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
118 
119 
123  inline const Aws::String& GetDescription() const{ return m_description; }
124 
128  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 
133  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
134 
138  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
139 
143  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
144 
148  inline UpdateDeviceFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
149 
153  inline UpdateDeviceFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
154 
158  inline UpdateDeviceFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
159 
160 
164  inline const EdgeOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
165 
169  inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
170 
174  inline void SetOutputConfig(const EdgeOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
175 
179  inline void SetOutputConfig(EdgeOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
180 
184  inline UpdateDeviceFleetRequest& WithOutputConfig(const EdgeOutputConfig& value) { SetOutputConfig(value); return *this;}
185 
189  inline UpdateDeviceFleetRequest& WithOutputConfig(EdgeOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
190 
191 
199  inline bool GetEnableIotRoleAlias() const{ return m_enableIotRoleAlias; }
200 
208  inline bool EnableIotRoleAliasHasBeenSet() const { return m_enableIotRoleAliasHasBeenSet; }
209 
217  inline void SetEnableIotRoleAlias(bool value) { m_enableIotRoleAliasHasBeenSet = true; m_enableIotRoleAlias = value; }
218 
226  inline UpdateDeviceFleetRequest& WithEnableIotRoleAlias(bool value) { SetEnableIotRoleAlias(value); return *this;}
227 
228  private:
229 
230  Aws::String m_deviceFleetName;
231  bool m_deviceFleetNameHasBeenSet;
232 
233  Aws::String m_roleArn;
234  bool m_roleArnHasBeenSet;
235 
236  Aws::String m_description;
237  bool m_descriptionHasBeenSet;
238 
239  EdgeOutputConfig m_outputConfig;
240  bool m_outputConfigHasBeenSet;
241 
242  bool m_enableIotRoleAlias;
243  bool m_enableIotRoleAliasHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace SageMaker
248 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithOutputConfig
UpdateDeviceFleetRequest & WithOutputConfig(const EdgeOutputConfig &value)
Definition: UpdateDeviceFleetRequest.h:184
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDeviceFleetRequest.h:143
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:51
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDeviceFleetRequest.h:123
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
EdgeOutputConfig.h
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:138
Aws::SageMaker::Model::UpdateDeviceFleetRequest::OutputConfigHasBeenSet
bool OutputConfigHasBeenSet() const
Definition: UpdateDeviceFleetRequest.h:169
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDeviceFleetName
UpdateDeviceFleetRequest & WithDeviceFleetName(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:66
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:133
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetEnableIotRoleAlias
bool GetEnableIotRoleAlias() const
Definition: UpdateDeviceFleetRequest.h:199
Aws::SageMaker::Model::UpdateDeviceFleetRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdateDeviceFleetRequest.h:87
Aws::SageMaker::Model::UpdateDeviceFleetRequest::EnableIotRoleAliasHasBeenSet
bool EnableIotRoleAliasHasBeenSet() const
Definition: UpdateDeviceFleetRequest.h:208
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithEnableIotRoleAlias
UpdateDeviceFleetRequest & WithEnableIotRoleAlias(bool value)
Definition: UpdateDeviceFleetRequest.h:226
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithRoleArn
UpdateDeviceFleetRequest & WithRoleArn(const char *value)
Definition: UpdateDeviceFleetRequest.h:117
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:92
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:56
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDeviceFleetRequest.h:31
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateDeviceFleetRequest::UpdateDeviceFleetRequest
UpdateDeviceFleetRequest()
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDeviceFleetName
UpdateDeviceFleetRequest & WithDeviceFleetName(const char *value)
Definition: UpdateDeviceFleetRequest.h:76
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetOutputConfig
void SetOutputConfig(const EdgeOutputConfig &value)
Definition: UpdateDeviceFleetRequest.h:174
Aws::SageMaker::Model::EdgeOutputConfig
Definition: EdgeOutputConfig.h:33
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdateDeviceFleetRequest.h:82
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetOutputConfig
const EdgeOutputConfig & GetOutputConfig() const
Definition: UpdateDeviceFleetRequest.h:164
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:97
AWSString.h
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDescription
UpdateDeviceFleetRequest & WithDescription(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:148
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetDeviceFleetName
const Aws::String & GetDeviceFleetName() const
Definition: UpdateDeviceFleetRequest.h:41
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDeviceFleetName
UpdateDeviceFleetRequest & WithDeviceFleetName(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:71
Aws::SageMaker::Model::UpdateDeviceFleetRequest::DeviceFleetNameHasBeenSet
bool DeviceFleetNameHasBeenSet() const
Definition: UpdateDeviceFleetRequest.h:46
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDescription
UpdateDeviceFleetRequest & WithDescription(const char *value)
Definition: UpdateDeviceFleetRequest.h:158
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithRoleArn
UpdateDeviceFleetRequest & WithRoleArn(const Aws::String &value)
Definition: UpdateDeviceFleetRequest.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdateDeviceFleetRequest.h:102
SageMakerRequest.h
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetOutputConfig
void SetOutputConfig(EdgeOutputConfig &&value)
Definition: UpdateDeviceFleetRequest.h:179
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateDeviceFleetRequest
Definition: UpdateDeviceFleetRequest.h:23
Aws::SageMaker::Model::UpdateDeviceFleetRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDeviceFleetRequest.h:128
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithRoleArn
UpdateDeviceFleetRequest & WithRoleArn(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:112
Aws::SageMaker::Model::UpdateDeviceFleetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetDeviceFleetName
void SetDeviceFleetName(const char *value)
Definition: UpdateDeviceFleetRequest.h:61
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SetEnableIotRoleAlias
void SetEnableIotRoleAlias(bool value)
Definition: UpdateDeviceFleetRequest.h:217
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithDescription
UpdateDeviceFleetRequest & WithDescription(Aws::String &&value)
Definition: UpdateDeviceFleetRequest.h:153
Aws::SageMaker::Model::UpdateDeviceFleetRequest::WithOutputConfig
UpdateDeviceFleetRequest & WithOutputConfig(EdgeOutputConfig &&value)
Definition: UpdateDeviceFleetRequest.h:189
Aws::SageMaker::Model::UpdateDeviceFleetRequest::SerializePayload
Aws::String SerializePayload() const override