AWS SDK for C++  1.9.20
AWS SDK for C++
CreateRobotApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace RoboMaker
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateRobotApplication"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 
52  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
62  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 
67  inline CreateRobotApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline CreateRobotApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline CreateRobotApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
84 
88  inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
89 
93  inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
94 
98  inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
99 
103  inline CreateRobotApplicationRequest& WithSources(const Aws::Vector<SourceConfig>& value) { SetSources(value); return *this;}
104 
108  inline CreateRobotApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
109 
113  inline CreateRobotApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
114 
118  inline CreateRobotApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
119 
120 
125  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
126 
131  inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
132 
137  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
138 
143  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
144 
149  inline CreateRobotApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
150 
155  inline CreateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
156 
157 
162  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
163 
168  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
169 
174  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
175 
180  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 
186  inline CreateRobotApplicationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
187 
192  inline CreateRobotApplicationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
193 
198  inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
199 
204  inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
205 
210  inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
211 
216  inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
217 
222  inline CreateRobotApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
223 
228  inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
229 
234  inline CreateRobotApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
235 
236  private:
237 
238  Aws::String m_name;
239  bool m_nameHasBeenSet;
240 
241  Aws::Vector<SourceConfig> m_sources;
242  bool m_sourcesHasBeenSet;
243 
244  RobotSoftwareSuite m_robotSoftwareSuite;
245  bool m_robotSoftwareSuiteHasBeenSet;
246 
248  bool m_tagsHasBeenSet;
249  };
250 
251 } // namespace Model
252 } // namespace RoboMaker
253 } // namespace Aws
Aws::RoboMaker::Model::CreateRobotApplicationRequest::CreateRobotApplicationRequest
CreateRobotApplicationRequest()
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddSources
CreateRobotApplicationRequest & AddSources(const SourceConfig &value)
Definition: CreateRobotApplicationRequest.h:113
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(const char *key, const char *value)
Definition: CreateRobotApplicationRequest.h:234
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateRobotApplicationRequest.h:222
RoboMakerRequest.h
SourceConfig.h
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetSources
void SetSources(Aws::Vector< SourceConfig > &&value)
Definition: CreateRobotApplicationRequest.h:98
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRobotApplicationRequest.h:216
Aws::RoboMaker::Model::CreateRobotApplicationRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateRobotApplicationRequest.h:168
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationRequest.h:143
AWSVector.h
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationRequest.h:137
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateRobotApplicationRequest.h:52
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRobotApplicationRequest.h:198
Aws::RoboMaker::Model::CreateRobotApplicationRequest::GetName
const Aws::String & GetName() const
Definition: CreateRobotApplicationRequest.h:42
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithName
CreateRobotApplicationRequest & WithName(Aws::String &&value)
Definition: CreateRobotApplicationRequest.h:72
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithTags
CreateRobotApplicationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationRequest.h:186
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddSources
CreateRobotApplicationRequest & AddSources(SourceConfig &&value)
Definition: CreateRobotApplicationRequest.h:118
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithRobotSoftwareSuite
CreateRobotApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: CreateRobotApplicationRequest.h:149
Aws::RoboMaker::Model::CreateRobotApplicationRequest::RobotSoftwareSuiteHasBeenSet
bool RobotSoftwareSuiteHasBeenSet() const
Definition: CreateRobotApplicationRequest.h:131
AWSString.h
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRobotApplicationRequest.h:204
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SourcesHasBeenSet
bool SourcesHasBeenSet() const
Definition: CreateRobotApplicationRequest.h:88
Aws::RoboMaker::Model::CreateRobotApplicationRequest
Definition: CreateRobotApplicationRequest.h:26
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateRobotApplicationRequest.h:228
Aws::RoboMaker::Model::CreateRobotApplicationRequest::GetSources
const Aws::Vector< SourceConfig > & GetSources() const
Definition: CreateRobotApplicationRequest.h:83
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetSources
void SetSources(const Aws::Vector< SourceConfig > &value)
Definition: CreateRobotApplicationRequest.h:93
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotApplicationRequest.h:180
Aws::RoboMaker::Model::CreateRobotApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateRobotApplicationRequest.h:34
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithSources
CreateRobotApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
Definition: CreateRobotApplicationRequest.h:103
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetName
void SetName(const char *value)
Definition: CreateRobotApplicationRequest.h:62
Aws::RoboMaker::Model::SourceConfig
Definition: SourceConfig.h:33
Aws::RoboMaker::Model::CreateRobotApplicationRequest::AddTags
CreateRobotApplicationRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateRobotApplicationRequest.h:210
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithSources
CreateRobotApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
Definition: CreateRobotApplicationRequest.h:108
Aws
Definition: AccessManagementClient.h:15
RobotSoftwareSuite.h
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithName
CreateRobotApplicationRequest & WithName(const Aws::String &value)
Definition: CreateRobotApplicationRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateRobotApplicationRequest.h:57
Aws::RoboMaker::Model::CreateRobotApplicationRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRobotApplicationRequest.h:162
Aws::RoboMaker::Model::CreateRobotApplicationRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRobotApplicationRequest.h:174
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithName
CreateRobotApplicationRequest & WithName(const char *value)
Definition: CreateRobotApplicationRequest.h:77
Aws::RoboMaker::Model::CreateRobotApplicationRequest::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: CreateRobotApplicationRequest.h:125
AWSMap.h
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithTags
CreateRobotApplicationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRobotApplicationRequest.h:192
Aws::RoboMaker::Model::CreateRobotApplicationRequest::WithRobotSoftwareSuite
CreateRobotApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: CreateRobotApplicationRequest.h:155
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::RoboMaker::Model::CreateRobotApplicationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateRobotApplicationRequest.h:47