AWS SDK for C++  1.9.20
AWS SDK for C++
CreateSimulationApplicationVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RoboMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateSimulationApplicationVersion"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetApplication() const{ return m_application; }
39 
43  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
44 
48  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
49 
53  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
54 
58  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
59 
63  inline CreateSimulationApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
64 
68  inline CreateSimulationApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
69 
73  inline CreateSimulationApplicationVersionRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
74 
75 
80  inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
81 
86  inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
87 
92  inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
93 
98  inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
99 
104  inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
105 
110  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
111 
116  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
117 
122  inline CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_application;
127  bool m_applicationHasBeenSet;
128 
129  Aws::String m_currentRevisionId;
130  bool m_currentRevisionIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace RoboMaker
135 } // namespace Aws
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:48
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:122
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:68
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSimulationApplicationVersionRequest.h:30
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::CurrentRevisionIdHasBeenSet
bool CurrentRevisionIdHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:86
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:110
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetApplication
const Aws::String & GetApplication() const
Definition: CreateSimulationApplicationVersionRequest.h:38
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::GetCurrentRevisionId
const Aws::String & GetCurrentRevisionId() const
Definition: CreateSimulationApplicationVersionRequest.h:80
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest
Definition: CreateSimulationApplicationVersionRequest.h:22
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: CreateSimulationApplicationVersionRequest.h:43
AWSString.h
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:92
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:104
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:53
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:98
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:73
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::SetApplication
void SetApplication(const char *value)
Definition: CreateSimulationApplicationVersionRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::CreateSimulationApplicationVersionRequest
CreateSimulationApplicationVersionRequest()
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithCurrentRevisionId
CreateSimulationApplicationVersionRequest & WithCurrentRevisionId(Aws::String &&value)
Definition: CreateSimulationApplicationVersionRequest.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateSimulationApplicationVersionRequest::WithApplication
CreateSimulationApplicationVersionRequest & WithApplication(const Aws::String &value)
Definition: CreateSimulationApplicationVersionRequest.h:63