AWS SDK for C++  1.9.19
AWS SDK for C++
CreateRobotApplicationVersionRequest.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 "CreateRobotApplicationVersion"; }
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 CreateRobotApplicationVersionRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
64 
68  inline CreateRobotApplicationVersionRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
69 
73  inline CreateRobotApplicationVersionRequest& 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 CreateRobotApplicationVersionRequest& WithCurrentRevisionId(const Aws::String& value) { SetCurrentRevisionId(value); return *this;}
111 
116  inline CreateRobotApplicationVersionRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
117 
122  inline CreateRobotApplicationVersionRequest& 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::CreateRobotApplicationVersionRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: CreateRobotApplicationVersionRequest.h:53
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationVersionRequest.h:92
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithApplication
CreateRobotApplicationVersionRequest & WithApplication(const char *value)
Definition: CreateRobotApplicationVersionRequest.h:73
RoboMakerRequest.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::GetApplication
const Aws::String & GetApplication() const
Definition: CreateRobotApplicationVersionRequest.h:38
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest
Definition: CreateRobotApplicationVersionRequest.h:22
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::CreateRobotApplicationVersionRequest
CreateRobotApplicationVersionRequest()
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithCurrentRevisionId
CreateRobotApplicationVersionRequest & WithCurrentRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationVersionRequest.h:116
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateRobotApplicationVersionRequest.h:30
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(Aws::String &&value)
Definition: CreateRobotApplicationVersionRequest.h:98
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SetApplication
void SetApplication(const char *value)
Definition: CreateRobotApplicationVersionRequest.h:58
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithCurrentRevisionId
CreateRobotApplicationVersionRequest & WithCurrentRevisionId(const char *value)
Definition: CreateRobotApplicationVersionRequest.h:122
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithApplication
CreateRobotApplicationVersionRequest & WithApplication(Aws::String &&value)
Definition: CreateRobotApplicationVersionRequest.h:68
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithApplication
CreateRobotApplicationVersionRequest & WithApplication(const Aws::String &value)
Definition: CreateRobotApplicationVersionRequest.h:63
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::WithCurrentRevisionId
CreateRobotApplicationVersionRequest & WithCurrentRevisionId(const Aws::String &value)
Definition: CreateRobotApplicationVersionRequest.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SetCurrentRevisionId
void SetCurrentRevisionId(const char *value)
Definition: CreateRobotApplicationVersionRequest.h:104
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: CreateRobotApplicationVersionRequest.h:48
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::GetCurrentRevisionId
const Aws::String & GetCurrentRevisionId() const
Definition: CreateRobotApplicationVersionRequest.h:80
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::CurrentRevisionIdHasBeenSet
bool CurrentRevisionIdHasBeenSet() const
Definition: CreateRobotApplicationVersionRequest.h:86
Aws::RoboMaker::Model::CreateRobotApplicationVersionRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: CreateRobotApplicationVersionRequest.h:43