AWS SDK for C++  1.9.19
AWS SDK for C++
StartSimulationJobBatchRequest.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 "StartSimulationJobBatch"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
45 
50  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
51 
56  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
57 
62  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
63 
68  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
69 
74  inline StartSimulationJobBatchRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
75 
80  inline StartSimulationJobBatchRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
81 
86  inline StartSimulationJobBatchRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
87 
88 
92  inline const BatchPolicy& GetBatchPolicy() const{ return m_batchPolicy; }
93 
97  inline bool BatchPolicyHasBeenSet() const { return m_batchPolicyHasBeenSet; }
98 
102  inline void SetBatchPolicy(const BatchPolicy& value) { m_batchPolicyHasBeenSet = true; m_batchPolicy = value; }
103 
107  inline void SetBatchPolicy(BatchPolicy&& value) { m_batchPolicyHasBeenSet = true; m_batchPolicy = std::move(value); }
108 
112  inline StartSimulationJobBatchRequest& WithBatchPolicy(const BatchPolicy& value) { SetBatchPolicy(value); return *this;}
113 
117  inline StartSimulationJobBatchRequest& WithBatchPolicy(BatchPolicy&& value) { SetBatchPolicy(std::move(value)); return *this;}
118 
119 
123  inline const Aws::Vector<SimulationJobRequest>& GetCreateSimulationJobRequests() const{ return m_createSimulationJobRequests; }
124 
128  inline bool CreateSimulationJobRequestsHasBeenSet() const { return m_createSimulationJobRequestsHasBeenSet; }
129 
133  inline void SetCreateSimulationJobRequests(const Aws::Vector<SimulationJobRequest>& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests = value; }
134 
138  inline void SetCreateSimulationJobRequests(Aws::Vector<SimulationJobRequest>&& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests = std::move(value); }
139 
143  inline StartSimulationJobBatchRequest& WithCreateSimulationJobRequests(const Aws::Vector<SimulationJobRequest>& value) { SetCreateSimulationJobRequests(value); return *this;}
144 
148  inline StartSimulationJobBatchRequest& WithCreateSimulationJobRequests(Aws::Vector<SimulationJobRequest>&& value) { SetCreateSimulationJobRequests(std::move(value)); return *this;}
149 
153  inline StartSimulationJobBatchRequest& AddCreateSimulationJobRequests(const SimulationJobRequest& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests.push_back(value); return *this; }
154 
158  inline StartSimulationJobBatchRequest& AddCreateSimulationJobRequests(SimulationJobRequest&& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests.push_back(std::move(value)); return *this; }
159 
160 
165  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
166 
171  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
172 
177  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
178 
183  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
184 
189  inline StartSimulationJobBatchRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
190 
195  inline StartSimulationJobBatchRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
196 
201  inline StartSimulationJobBatchRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
202 
207  inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
208 
213  inline StartSimulationJobBatchRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
214 
219  inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
220 
225  inline StartSimulationJobBatchRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
226 
231  inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
232 
237  inline StartSimulationJobBatchRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
238 
239  private:
240 
241  Aws::String m_clientRequestToken;
242  bool m_clientRequestTokenHasBeenSet;
243 
244  BatchPolicy m_batchPolicy;
245  bool m_batchPolicyHasBeenSet;
246 
247  Aws::Vector<SimulationJobRequest> m_createSimulationJobRequests;
248  bool m_createSimulationJobRequestsHasBeenSet;
249 
251  bool m_tagsHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace RoboMaker
256 } // namespace Aws
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(const char *key, Aws::String &&value)
Definition: StartSimulationJobBatchRequest.h:225
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: StartSimulationJobBatchRequest.h:207
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: StartSimulationJobBatchRequest.h:201
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithBatchPolicy
StartSimulationJobBatchRequest & WithBatchPolicy(const BatchPolicy &value)
Definition: StartSimulationJobBatchRequest.h:112
SimulationJobRequest.h
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, const char *value)
Definition: StartSimulationJobBatchRequest.h:231
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::BatchPolicyHasBeenSet
bool BatchPolicyHasBeenSet() const
Definition: StartSimulationJobBatchRequest.h:97
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: StartSimulationJobBatchRequest.h:56
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddCreateSimulationJobRequests
StartSimulationJobBatchRequest & AddCreateSimulationJobRequests(const SimulationJobRequest &value)
Definition: StartSimulationJobBatchRequest.h:153
RoboMakerRequest.h
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(const char *key, const char *value)
Definition: StartSimulationJobBatchRequest.h:237
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithClientRequestToken
StartSimulationJobBatchRequest & WithClientRequestToken(const Aws::String &value)
Definition: StartSimulationJobBatchRequest.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetCreateSimulationJobRequests
void SetCreateSimulationJobRequests(Aws::Vector< SimulationJobRequest > &&value)
Definition: StartSimulationJobBatchRequest.h:138
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithClientRequestToken
StartSimulationJobBatchRequest & WithClientRequestToken(Aws::String &&value)
Definition: StartSimulationJobBatchRequest.h:80
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: StartSimulationJobBatchRequest.h:50
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithClientRequestToken
StartSimulationJobBatchRequest & WithClientRequestToken(const char *value)
Definition: StartSimulationJobBatchRequest.h:86
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithCreateSimulationJobRequests
StartSimulationJobBatchRequest & WithCreateSimulationJobRequests(Aws::Vector< SimulationJobRequest > &&value)
Definition: StartSimulationJobBatchRequest.h:148
AWSVector.h
BatchPolicy.h
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::CreateSimulationJobRequestsHasBeenSet
bool CreateSimulationJobRequestsHasBeenSet() const
Definition: StartSimulationJobBatchRequest.h:128
Aws::RoboMaker::Model::SimulationJobRequest
Definition: SimulationJobRequest.h:42
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetBatchPolicy
void SetBatchPolicy(BatchPolicy &&value)
Definition: StartSimulationJobBatchRequest.h:107
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::GetBatchPolicy
const BatchPolicy & GetBatchPolicy() const
Definition: StartSimulationJobBatchRequest.h:92
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: StartSimulationJobBatchRequest.h:44
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: StartSimulationJobBatchRequest.h:219
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartSimulationJobBatchRequest.h:177
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartSimulationJobBatchRequest.h:183
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::StartSimulationJobBatchRequest
StartSimulationJobBatchRequest()
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartSimulationJobBatchRequest.h:35
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: StartSimulationJobBatchRequest.h:165
Aws::RoboMaker::Model::BatchPolicy
Definition: BatchPolicy.h:30
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithBatchPolicy
StartSimulationJobBatchRequest & WithBatchPolicy(BatchPolicy &&value)
Definition: StartSimulationJobBatchRequest.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddCreateSimulationJobRequests
StartSimulationJobBatchRequest & AddCreateSimulationJobRequests(SimulationJobRequest &&value)
Definition: StartSimulationJobBatchRequest.h:158
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithTags
StartSimulationJobBatchRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: StartSimulationJobBatchRequest.h:195
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: StartSimulationJobBatchRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: StartSimulationJobBatchRequest.h:68
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetBatchPolicy
void SetBatchPolicy(const BatchPolicy &value)
Definition: StartSimulationJobBatchRequest.h:102
Aws::RoboMaker::Model::StartSimulationJobBatchRequest
Definition: StartSimulationJobBatchRequest.h:27
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithTags
StartSimulationJobBatchRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: StartSimulationJobBatchRequest.h:189
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::GetCreateSimulationJobRequests
const Aws::Vector< SimulationJobRequest > & GetCreateSimulationJobRequests() const
Definition: StartSimulationJobBatchRequest.h:123
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::WithCreateSimulationJobRequests
StartSimulationJobBatchRequest & WithCreateSimulationJobRequests(const Aws::Vector< SimulationJobRequest > &value)
Definition: StartSimulationJobBatchRequest.h:143
UUID.h
AWSMap.h
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SetCreateSimulationJobRequests
void SetCreateSimulationJobRequests(const Aws::Vector< SimulationJobRequest > &value)
Definition: StartSimulationJobBatchRequest.h:133
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: StartSimulationJobBatchRequest.h:171
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::AddTags
StartSimulationJobBatchRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: StartSimulationJobBatchRequest.h:213
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::StartSimulationJobBatchRequest::SerializePayload
Aws::String SerializePayload() const override