AWS SDK for C++  1.9.45
AWS SDK for C++
CreateDeploymentJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 #include <aws/core/utils/UUID.h>
16 
17 namespace Aws
18 {
19 namespace RoboMaker
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CreateDeploymentJob"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; }
44 
48  inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
49 
53  inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; }
54 
58  inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); }
59 
63  inline CreateDeploymentJobRequest& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;}
64 
68  inline CreateDeploymentJobRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;}
69 
70 
75  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
76 
81  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
82 
87  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
88 
93  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
94 
99  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
100 
105  inline CreateDeploymentJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
106 
111  inline CreateDeploymentJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
112 
117  inline CreateDeploymentJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
118 
119 
123  inline const Aws::String& GetFleet() const{ return m_fleet; }
124 
128  inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; }
129 
133  inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; }
134 
138  inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); }
139 
143  inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); }
144 
148  inline CreateDeploymentJobRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;}
149 
153  inline CreateDeploymentJobRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;}
154 
158  inline CreateDeploymentJobRequest& WithFleet(const char* value) { SetFleet(value); return *this;}
159 
160 
164  inline const Aws::Vector<DeploymentApplicationConfig>& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; }
165 
169  inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; }
170 
174  inline void SetDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = value; }
175 
179  inline void SetDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = std::move(value); }
180 
184  inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(const Aws::Vector<DeploymentApplicationConfig>& value) { SetDeploymentApplicationConfigs(value); return *this;}
185 
189  inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(Aws::Vector<DeploymentApplicationConfig>&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;}
190 
194  inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; }
195 
199  inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; }
200 
201 
206  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
207 
212  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
213 
218  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
219 
224  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
225 
230  inline CreateDeploymentJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
231 
236  inline CreateDeploymentJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
237 
242  inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
243 
248  inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
249 
254  inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
255 
260  inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
261 
266  inline CreateDeploymentJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
267 
272  inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
273 
278  inline CreateDeploymentJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
279 
280  private:
281 
282  DeploymentConfig m_deploymentConfig;
283  bool m_deploymentConfigHasBeenSet;
284 
285  Aws::String m_clientRequestToken;
286  bool m_clientRequestTokenHasBeenSet;
287 
288  Aws::String m_fleet;
289  bool m_fleetHasBeenSet;
290 
291  Aws::Vector<DeploymentApplicationConfig> m_deploymentApplicationConfigs;
292  bool m_deploymentApplicationConfigsHasBeenSet;
293 
295  bool m_tagsHasBeenSet;
296  };
297 
298 } // namespace Model
299 } // namespace RoboMaker
300 } // namespace Aws
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetFleet
const Aws::String & GetFleet() const
Definition: CreateDeploymentJobRequest.h:123
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:260
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDeploymentJobRequest.h:206
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: CreateDeploymentJobRequest.h:174
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:254
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateDeploymentJobRequest.h:75
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateDeploymentJobRequest.h:272
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithClientRequestToken
CreateDeploymentJobRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:105
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithDeploymentConfig
CreateDeploymentJobRequest & WithDeploymentConfig(DeploymentConfig &&value)
Definition: CreateDeploymentJobRequest.h:68
DeploymentApplicationConfig.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::CreateDeploymentJobRequest
CreateDeploymentJobRequest()
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithClientRequestToken
CreateDeploymentJobRequest & WithClientRequestToken(const char *value)
Definition: CreateDeploymentJobRequest.h:117
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithFleet
CreateDeploymentJobRequest & WithFleet(Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:153
Aws::RoboMaker::Model::CreateDeploymentJobRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateDeploymentJobRequest.h:81
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetFleet
void SetFleet(const char *value)
Definition: CreateDeploymentJobRequest.h:143
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::DeploymentApplicationConfigsHasBeenSet
bool DeploymentApplicationConfigsHasBeenSet() const
Definition: CreateDeploymentJobRequest.h:169
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDeploymentJobRequest.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithDeploymentApplicationConfigs
CreateDeploymentJobRequest & WithDeploymentApplicationConfigs(const Aws::Vector< DeploymentApplicationConfig > &value)
Definition: CreateDeploymentJobRequest.h:184
AWSVector.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDeploymentJobRequest.h:212
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentJobRequest.h:218
DeploymentConfig.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:93
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetDeploymentApplicationConfigs
void SetDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: CreateDeploymentJobRequest.h:179
Aws::RoboMaker::Model::CreateDeploymentJobRequest::DeploymentConfigHasBeenSet
bool DeploymentConfigHasBeenSet() const
Definition: CreateDeploymentJobRequest.h:48
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetDeploymentConfig
void SetDeploymentConfig(DeploymentConfig &&value)
Definition: CreateDeploymentJobRequest.h:58
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithTags
CreateDeploymentJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentJobRequest.h:230
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:87
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetDeploymentApplicationConfigs
const Aws::Vector< DeploymentApplicationConfig > & GetDeploymentApplicationConfigs() const
Definition: CreateDeploymentJobRequest.h:164
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithTags
CreateDeploymentJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentJobRequest.h:236
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentJobRequest.h:224
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateDeploymentJobRequest.h:99
Aws::RoboMaker::Model::CreateDeploymentJobRequest::FleetHasBeenSet
bool FleetHasBeenSet() const
Definition: CreateDeploymentJobRequest.h:128
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetDeploymentConfig
void SetDeploymentConfig(const DeploymentConfig &value)
Definition: CreateDeploymentJobRequest.h:53
AWSString.h
Aws::RoboMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:32
Aws::RoboMaker::Model::CreateDeploymentJobRequest::GetDeploymentConfig
const DeploymentConfig & GetDeploymentConfig() const
Definition: CreateDeploymentJobRequest.h:43
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(const char *key, const char *value)
Definition: CreateDeploymentJobRequest.h:278
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddDeploymentApplicationConfigs
CreateDeploymentJobRequest & AddDeploymentApplicationConfigs(DeploymentApplicationConfig &&value)
Definition: CreateDeploymentJobRequest.h:199
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetFleet
void SetFleet(Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:138
Aws::RoboMaker::Model::CreateDeploymentJobRequest
Definition: CreateDeploymentJobRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithDeploymentApplicationConfigs
CreateDeploymentJobRequest & WithDeploymentApplicationConfigs(Aws::Vector< DeploymentApplicationConfig > &&value)
Definition: CreateDeploymentJobRequest.h:189
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithDeploymentConfig
CreateDeploymentJobRequest & WithDeploymentConfig(const DeploymentConfig &value)
Definition: CreateDeploymentJobRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateDeploymentJobRequest::SetFleet
void SetFleet(const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:133
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithFleet
CreateDeploymentJobRequest & WithFleet(const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:148
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithFleet
CreateDeploymentJobRequest & WithFleet(const char *value)
Definition: CreateDeploymentJobRequest.h:158
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddDeploymentApplicationConfigs
CreateDeploymentJobRequest & AddDeploymentApplicationConfigs(const DeploymentApplicationConfig &value)
Definition: CreateDeploymentJobRequest.h:194
Aws::RoboMaker::Model::CreateDeploymentJobRequest::WithClientRequestToken
CreateDeploymentJobRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:111
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:242
UUID.h
AWSMap.h
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateDeploymentJobRequest.h:266
Aws::RoboMaker::Model::CreateDeploymentJobRequest::AddTags
CreateDeploymentJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDeploymentJobRequest.h:248
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::DeploymentApplicationConfig
Definition: DeploymentApplicationConfig.h:34