AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSimulationJobBatchRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/robomaker/model/BatchPolicy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/robomaker/model/SimulationJobRequest.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace RoboMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ROBOMAKER_API StartSimulationJobBatchRequest();
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_ROBOMAKER_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
46 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
47 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
48 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
49 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
52 inline StartSimulationJobBatchRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
54
56
59 inline const BatchPolicy& GetBatchPolicy() const{ return m_batchPolicy; }
60 inline bool BatchPolicyHasBeenSet() const { return m_batchPolicyHasBeenSet; }
61 inline void SetBatchPolicy(const BatchPolicy& value) { m_batchPolicyHasBeenSet = true; m_batchPolicy = value; }
62 inline void SetBatchPolicy(BatchPolicy&& value) { m_batchPolicyHasBeenSet = true; m_batchPolicy = std::move(value); }
63 inline StartSimulationJobBatchRequest& WithBatchPolicy(const BatchPolicy& value) { SetBatchPolicy(value); return *this;}
64 inline StartSimulationJobBatchRequest& WithBatchPolicy(BatchPolicy&& value) { SetBatchPolicy(std::move(value)); return *this;}
66
68
71 inline const Aws::Vector<SimulationJobRequest>& GetCreateSimulationJobRequests() const{ return m_createSimulationJobRequests; }
72 inline bool CreateSimulationJobRequestsHasBeenSet() const { return m_createSimulationJobRequestsHasBeenSet; }
73 inline void SetCreateSimulationJobRequests(const Aws::Vector<SimulationJobRequest>& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests = value; }
74 inline void SetCreateSimulationJobRequests(Aws::Vector<SimulationJobRequest>&& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests = std::move(value); }
77 inline StartSimulationJobBatchRequest& AddCreateSimulationJobRequests(const SimulationJobRequest& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests.push_back(value); return *this; }
78 inline StartSimulationJobBatchRequest& AddCreateSimulationJobRequests(SimulationJobRequest&& value) { m_createSimulationJobRequestsHasBeenSet = true; m_createSimulationJobRequests.push_back(std::move(value)); return *this; }
80
82
86 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
89 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
91 inline StartSimulationJobBatchRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
92 inline StartSimulationJobBatchRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
93 inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline StartSimulationJobBatchRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
96 inline StartSimulationJobBatchRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
97 inline StartSimulationJobBatchRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
98 inline StartSimulationJobBatchRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100 private:
101
102 Aws::String m_clientRequestToken;
103 bool m_clientRequestTokenHasBeenSet = false;
104
105 BatchPolicy m_batchPolicy;
106 bool m_batchPolicyHasBeenSet = false;
107
108 Aws::Vector<SimulationJobRequest> m_createSimulationJobRequests;
109 bool m_createSimulationJobRequestsHasBeenSet = false;
110
112 bool m_tagsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace RoboMaker
117} // namespace Aws
StartSimulationJobBatchRequest & WithClientRequestToken(const char *value)
StartSimulationJobBatchRequest & WithBatchPolicy(BatchPolicy &&value)
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, const char *value)
StartSimulationJobBatchRequest & AddCreateSimulationJobRequests(const SimulationJobRequest &value)
StartSimulationJobBatchRequest & WithClientRequestToken(Aws::String &&value)
void SetCreateSimulationJobRequests(const Aws::Vector< SimulationJobRequest > &value)
void SetCreateSimulationJobRequests(Aws::Vector< SimulationJobRequest > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationJobBatchRequest & AddCreateSimulationJobRequests(SimulationJobRequest &&value)
StartSimulationJobBatchRequest & WithCreateSimulationJobRequests(Aws::Vector< SimulationJobRequest > &&value)
StartSimulationJobBatchRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartSimulationJobBatchRequest & AddTags(const char *key, const char *value)
StartSimulationJobBatchRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Vector< SimulationJobRequest > & GetCreateSimulationJobRequests() const
StartSimulationJobBatchRequest & WithBatchPolicy(const BatchPolicy &value)
StartSimulationJobBatchRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartSimulationJobBatchRequest & WithCreateSimulationJobRequests(const Aws::Vector< SimulationJobRequest > &value)
StartSimulationJobBatchRequest & AddTags(const char *key, Aws::String &&value)
StartSimulationJobBatchRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartSimulationJobBatchRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartSimulationJobBatchRequest & WithClientRequestToken(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector