AWS SDK for C++  1.9.19
AWS SDK for C++
DeleteRobotApplicationRequest.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 "DeleteRobotApplication"; }
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 DeleteRobotApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
64 
68  inline DeleteRobotApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
69 
73  inline DeleteRobotApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
74 
75 
79  inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; }
80 
84  inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
85 
89  inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
90 
94  inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); }
95 
99  inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); }
100 
104  inline DeleteRobotApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;}
105 
109  inline DeleteRobotApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;}
110 
114  inline DeleteRobotApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;}
115 
116  private:
117 
118  Aws::String m_application;
119  bool m_applicationHasBeenSet;
120 
121  Aws::String m_applicationVersion;
122  bool m_applicationVersionHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace RoboMaker
127 } // namespace Aws
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::GetApplicationVersion
const Aws::String & GetApplicationVersion() const
Definition: DeleteRobotApplicationRequest.h:79
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplication
DeleteRobotApplicationRequest & WithApplication(const Aws::String &value)
Definition: DeleteRobotApplicationRequest.h:63
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRobotApplicationRequest.h:30
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::DeleteRobotApplicationRequest
DeleteRobotApplicationRequest()
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SetApplicationVersion
void SetApplicationVersion(Aws::String &&value)
Definition: DeleteRobotApplicationRequest.h:94
RoboMakerRequest.h
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SetApplication
void SetApplication(const char *value)
Definition: DeleteRobotApplicationRequest.h:58
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: DeleteRobotApplicationRequest.h:43
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: DeleteRobotApplicationRequest.h:53
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SetApplicationVersion
void SetApplicationVersion(const char *value)
Definition: DeleteRobotApplicationRequest.h:99
Aws::RoboMaker::Model::DeleteRobotApplicationRequest
Definition: DeleteRobotApplicationRequest.h:22
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::GetApplication
const Aws::String & GetApplication() const
Definition: DeleteRobotApplicationRequest.h:38
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplicationVersion
DeleteRobotApplicationRequest & WithApplicationVersion(Aws::String &&value)
Definition: DeleteRobotApplicationRequest.h:109
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplicationVersion
DeleteRobotApplicationRequest & WithApplicationVersion(const char *value)
Definition: DeleteRobotApplicationRequest.h:114
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::SetApplicationVersion
void SetApplicationVersion(const Aws::String &value)
Definition: DeleteRobotApplicationRequest.h:89
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::DeleteRobotApplicationRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: DeleteRobotApplicationRequest.h:48
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplicationVersion
DeleteRobotApplicationRequest & WithApplicationVersion(const Aws::String &value)
Definition: DeleteRobotApplicationRequest.h:104
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::ApplicationVersionHasBeenSet
bool ApplicationVersionHasBeenSet() const
Definition: DeleteRobotApplicationRequest.h:84
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplication
DeleteRobotApplicationRequest & WithApplication(const char *value)
Definition: DeleteRobotApplicationRequest.h:73
Aws::RoboMaker::Model::DeleteRobotApplicationRequest::WithApplication
DeleteRobotApplicationRequest & WithApplication(Aws::String &&value)
Definition: DeleteRobotApplicationRequest.h:68