AWS SDK for C++  1.9.19
AWS SDK for C++
UpdateRobotApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace RoboMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateRobotApplication"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetApplication() const{ return m_application; }
42 
46  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
47 
51  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
52 
56  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
57 
61  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
62 
66  inline UpdateRobotApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
67 
71  inline UpdateRobotApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
72 
76  inline UpdateRobotApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
77 
78 
82  inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
83 
87  inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
88 
92  inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
93 
97  inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
98 
102  inline UpdateRobotApplicationRequest& WithSources(const Aws::Vector<SourceConfig>& value) { SetSources(value); return *this;}
103 
107  inline UpdateRobotApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
108 
112  inline UpdateRobotApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
113 
117  inline UpdateRobotApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
118 
119 
124  inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
125 
130  inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
131 
136  inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
137 
142  inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
143 
148  inline UpdateRobotApplicationRequest& WithRobotSoftwareSuite(const RobotSoftwareSuite& value) { SetRobotSoftwareSuite(value); return *this;}
149 
154  inline UpdateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuite&& value) { SetRobotSoftwareSuite(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
161 
165  inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
166 
170  inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
171 
175  inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
176 
180  inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
181 
185  inline UpdateRobotApplicationRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
186 
190  inline UpdateRobotApplicationRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
191 
195  inline UpdateRobotApplicationRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
196 
197  private:
198 
199  Aws::String m_application;
200  bool m_applicationHasBeenSet;
201 
202  Aws::Vector<SourceConfig> m_sources;
203  bool m_sourcesHasBeenSet;
204 
205  RobotSoftwareSuite m_robotSoftwareSuite;
206  bool m_robotSoftwareSuiteHasBeenSet;
207 
208  Aws::String m_currentRevisionId;
209  bool m_currentRevisionIdHasBeenSet;
210  };
211 
212 } // namespace Model
213 } // namespace RoboMaker
214 } // namespace Aws
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithCurrentRevisionId
UpdateRobotApplicationRequest & WithCurrentRevisionId(const Aws::String &value)
Definition: UpdateRobotApplicationRequest.h:185
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: UpdateRobotApplicationRequest.h:136
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: UpdateRobotApplicationRequest.h:51
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const Aws::String &value)
Definition: UpdateRobotApplicationRequest.h:170
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetRobotSoftwareSuite
void SetRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: UpdateRobotApplicationRequest.h:142
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithRobotSoftwareSuite
UpdateRobotApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
Definition: UpdateRobotApplicationRequest.h:148
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const char *value)
Definition: UpdateRobotApplicationRequest.h:180
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: UpdateRobotApplicationRequest.h:46
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::AddSources
UpdateRobotApplicationRequest & AddSources(SourceConfig &&value)
Definition: UpdateRobotApplicationRequest.h:117
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::UpdateRobotApplicationRequest
UpdateRobotApplicationRequest()
RoboMakerRequest.h
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::GetApplication
const Aws::String & GetApplication() const
Definition: UpdateRobotApplicationRequest.h:41
SourceConfig.h
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithSources
UpdateRobotApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
Definition: UpdateRobotApplicationRequest.h:107
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::AddSources
UpdateRobotApplicationRequest & AddSources(const SourceConfig &value)
Definition: UpdateRobotApplicationRequest.h:112
AWSVector.h
Aws::RoboMaker::Model::UpdateRobotApplicationRequest
Definition: UpdateRobotApplicationRequest.h:25
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::GetRobotSoftwareSuite
const RobotSoftwareSuite & GetRobotSoftwareSuite() const
Definition: UpdateRobotApplicationRequest.h:124
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: UpdateRobotApplicationRequest.h:56
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::CurrentRevisionIdHasBeenSet
bool CurrentRevisionIdHasBeenSet() const
Definition: UpdateRobotApplicationRequest.h:165
Aws::RoboMaker::Model::RobotSoftwareSuite
Definition: RobotSoftwareSuite.h:34
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithSources
UpdateRobotApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
Definition: UpdateRobotApplicationRequest.h:102
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetSources
void SetSources(Aws::Vector< SourceConfig > &&value)
Definition: UpdateRobotApplicationRequest.h:97
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetSources
void SetSources(const Aws::Vector< SourceConfig > &value)
Definition: UpdateRobotApplicationRequest.h:92
AWSString.h
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithCurrentRevisionId
UpdateRobotApplicationRequest & WithCurrentRevisionId(const char *value)
Definition: UpdateRobotApplicationRequest.h:195
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::RobotSoftwareSuiteHasBeenSet
bool RobotSoftwareSuiteHasBeenSet() const
Definition: UpdateRobotApplicationRequest.h:130
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetApplication
void SetApplication(const char *value)
Definition: UpdateRobotApplicationRequest.h:61
Aws::RoboMaker::Model::SourceConfig
Definition: SourceConfig.h:33
Aws
Definition: AccessManagementClient.h:15
RobotSoftwareSuite.h
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRobotApplicationRequest.h:33
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SetCurrentRevisionId
void SetCurrentRevisionId(Aws::String &&value)
Definition: UpdateRobotApplicationRequest.h:175
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithApplication
UpdateRobotApplicationRequest & WithApplication(Aws::String &&value)
Definition: UpdateRobotApplicationRequest.h:71
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithApplication
UpdateRobotApplicationRequest & WithApplication(const Aws::String &value)
Definition: UpdateRobotApplicationRequest.h:66
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithApplication
UpdateRobotApplicationRequest & WithApplication(const char *value)
Definition: UpdateRobotApplicationRequest.h:76
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithRobotSoftwareSuite
UpdateRobotApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
Definition: UpdateRobotApplicationRequest.h:154
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::GetSources
const Aws::Vector< SourceConfig > & GetSources() const
Definition: UpdateRobotApplicationRequest.h:82
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::GetCurrentRevisionId
const Aws::String & GetCurrentRevisionId() const
Definition: UpdateRobotApplicationRequest.h:160
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::WithCurrentRevisionId
UpdateRobotApplicationRequest & WithCurrentRevisionId(Aws::String &&value)
Definition: UpdateRobotApplicationRequest.h:190
Aws::RoboMaker::Model::UpdateRobotApplicationRequest::SourcesHasBeenSet
bool SourcesHasBeenSet() const
Definition: UpdateRobotApplicationRequest.h:87