AWS SDK for C++  1.9.104
AWS SDK for C++
CreateSimulationApplicationVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RoboMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationApplicationVersion"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetApplication() const{ return m_application; }
40 
44  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
45 
49  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
50 
54  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
55 
59  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
60 
64  inline CreateSimulationApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
65 
69  inline CreateSimulationApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
70 
74  inline CreateSimulationApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
75 
76 
81  inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
82 
87  inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
88 
93  inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
94 
99  inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
100 
105  inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
106 
111  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
112 
117  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
118 
123  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
124 
125 
130  inline const Aws::Vector<Aws::String>& GetS3Etags() const{ return m_s3Etags; }
131 
136  inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; }
137 
142  inline void SetS3Etags(const Aws::Vector<Aws::String>& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = value; }
143 
148  inline void SetS3Etags(Aws::Vector<Aws::String>&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags = std::move(value); }
149 
154  inline CreateSimulationApplicationVersionRequest& WithS3Etags(const Aws::Vector<Aws::String>& value) { SetS3Etags(value); return *this;}
155 
160  inline CreateSimulationApplicationVersionRequest& WithS3Etags(Aws::Vector<Aws::String>&& value) { SetS3Etags(std::move(value)); return *this;}
161 
166  inline CreateSimulationApplicationVersionRequest& AddS3Etags(const Aws::String& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; }
167 
172  inline CreateSimulationApplicationVersionRequest& AddS3Etags(Aws::String&& value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(std::move(value)); return *this; }
173 
178  inline CreateSimulationApplicationVersionRequest& AddS3Etags(const char* value) { m_s3EtagsHasBeenSet = true; m_s3Etags.push_back(value); return *this; }
179 
180 
185  inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
186 
191  inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
192 
197  inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
198 
203  inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
204 
209  inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
210 
215  inline CreateSimulationApplicationVersionRequest& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;}
216 
221  inline CreateSimulationApplicationVersionRequest& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
222 
227  inline CreateSimulationApplicationVersionRequest& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
228 
229  private:
230 
231  Aws::String m_application;
232  bool m_applicationHasBeenSet;
233 
234  Aws::String m_currentRevisionId;
235  bool m_currentRevisionIdHasBeenSet;
236 
237  Aws::Vector<Aws::String> m_s3Etags;
238  bool m_s3EtagsHasBeenSet;
239 
240  Aws::String m_imageDigest;
241  bool m_imageDigestHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace RoboMaker
246 } // namespace Aws
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:49
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithS3Etags
CreateSimulationApplicationVersionRequest & WithS3Etags(Aws::Vector< Aws::String > &&value)
Definition: CreateSimulationApplicationVersionRequest.h:160
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithImageDigest
CreateSimulationApplicationVersionRequest & WithImageDigest(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:221
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:123
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:69
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSimulationApplicationVersionRequest.h:31
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::CurrentRevisionIdHasBeenSet
bool CurrentRevisionIdHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:87
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::S3EtagsHasBeenSet
bool S3EtagsHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:136
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::AddS3Etags
CreateSimulationApplicationVersionRequest & AddS3Etags(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:172
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetImageDigest
void SetImageDigest(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:197
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:111
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetApplication
const Aws::String & GetApplication() const
Definition: CreateSimulationApplicationVersionRequest.h:39
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::AddS3Etags
CreateSimulationApplicationVersionRequest & AddS3Etags(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:178
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithImageDigest
CreateSimulationApplicationVersionRequest & WithImageDigest(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:227
AWSVector.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetS3Etags
void SetS3Etags(const Aws::Vector< Aws::String > &value)
Definition: CreateSimulationApplicationVersionRequest.h:142
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetCurrentRevisionId
const Aws::String & GetCurrentRevisionId() const
Definition: CreateSimulationApplicationVersionRequest.h:81
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest
Definition: CreateSimulationApplicationVersionRequest.h:23
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetS3Etags
const Aws::Vector< Aws::String > & GetS3Etags() const
Definition: CreateSimulationApplicationVersionRequest.h:130
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetImageDigest
const Aws::String & GetImageDigest() const
Definition: CreateSimulationApplicationVersionRequest.h:185
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithImageDigest
CreateSimulationApplicationVersionRequest & WithImageDigest(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:215
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::ImageDigestHasBeenSet
bool ImageDigestHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:191
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:44
AWSString.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:93
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:105
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::AddS3Etags
CreateSimulationApplicationVersionRequest & AddS3Etags(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:166
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:54
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:99
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:74
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithS3Etags
CreateSimulationApplicationVersionRequest & WithS3Etags(const Aws::Vector< Aws::String > &value)
Definition: CreateSimulationApplicationVersionRequest.h:154
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::CreateSimulationApplicationVersionRequest
CreateSimulationApplicationVersionRequest()
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetImageDigest
void SetImageDigest(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:203
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetS3Etags
void SetS3Etags(Aws::Vector< Aws::String > &&value)
Definition: CreateSimulationApplicationVersionRequest.h:148
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetImageDigest
void SetImageDigest(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:209
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:64