AWS SDK for C++  1.9.110
AWS SDK for C++
StopDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AppConfig
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 "StopDeployment"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
39 
43  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 
48  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 
53  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
54 
58  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
59 
63  inline StopDeploymentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline StopDeploymentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline StopDeploymentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
74 
75 
79  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
80 
84  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
85 
89  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
90 
94  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
95 
99  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
100 
104  inline StopDeploymentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
105 
109  inline StopDeploymentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
110 
114  inline StopDeploymentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
115 
116 
120  inline int GetDeploymentNumber() const{ return m_deploymentNumber; }
121 
125  inline bool DeploymentNumberHasBeenSet() const { return m_deploymentNumberHasBeenSet; }
126 
130  inline void SetDeploymentNumber(int value) { m_deploymentNumberHasBeenSet = true; m_deploymentNumber = value; }
131 
135  inline StopDeploymentRequest& WithDeploymentNumber(int value) { SetDeploymentNumber(value); return *this;}
136 
137  private:
138 
139  Aws::String m_applicationId;
140  bool m_applicationIdHasBeenSet;
141 
142  Aws::String m_environmentId;
143  bool m_environmentIdHasBeenSet;
144 
145  int m_deploymentNumber;
146  bool m_deploymentNumberHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace AppConfig
151 } // namespace Aws
Aws::AppConfig::Model::StopDeploymentRequest
Definition: StopDeploymentRequest.h:22
Aws::AppConfig::Model::StopDeploymentRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: StopDeploymentRequest.h:48
Aws::AppConfig::Model::StopDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: StopDeploymentRequest.h:89
Aws::AppConfig::Model::StopDeploymentRequest::WithApplicationId
StopDeploymentRequest & WithApplicationId(Aws::String &&value)
Definition: StopDeploymentRequest.h:68
Aws::AppConfig::Model::StopDeploymentRequest::WithApplicationId
StopDeploymentRequest & WithApplicationId(const char *value)
Definition: StopDeploymentRequest.h:73
Aws::AppConfig::Model::StopDeploymentRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: StopDeploymentRequest.h:43
Aws::AppConfig::Model::StopDeploymentRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: StopDeploymentRequest.h:53
Aws::AppConfig::Model::StopDeploymentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StopDeploymentRequest.h:30
Aws::AppConfig::Model::StopDeploymentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::StopDeploymentRequest::DeploymentNumberHasBeenSet
bool DeploymentNumberHasBeenSet() const
Definition: StopDeploymentRequest.h:125
AppConfig_EXPORTS.h
Aws::AppConfig::Model::StopDeploymentRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: StopDeploymentRequest.h:79
Aws::AppConfig::Model::StopDeploymentRequest::WithDeploymentNumber
StopDeploymentRequest & WithDeploymentNumber(int value)
Definition: StopDeploymentRequest.h:135
AppConfigRequest.h
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::StopDeploymentRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: StopDeploymentRequest.h:84
AWSString.h
Aws::AppConfig::Model::StopDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: StopDeploymentRequest.h:99
Aws::AppConfig::Model::StopDeploymentRequest::StopDeploymentRequest
StopDeploymentRequest()
Aws::AppConfig::Model::StopDeploymentRequest::SetDeploymentNumber
void SetDeploymentNumber(int value)
Definition: StopDeploymentRequest.h:130
Aws::AppConfig::Model::StopDeploymentRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: StopDeploymentRequest.h:58
Aws::AppConfig::Model::StopDeploymentRequest::WithApplicationId
StopDeploymentRequest & WithApplicationId(const Aws::String &value)
Definition: StopDeploymentRequest.h:63
Aws::AppConfig::Model::StopDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: StopDeploymentRequest.h:94
Aws::AppConfig::Model::StopDeploymentRequest::WithEnvironmentId
StopDeploymentRequest & WithEnvironmentId(const Aws::String &value)
Definition: StopDeploymentRequest.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::StopDeploymentRequest::GetDeploymentNumber
int GetDeploymentNumber() const
Definition: StopDeploymentRequest.h:120
Aws::AppConfig::Model::StopDeploymentRequest::WithEnvironmentId
StopDeploymentRequest & WithEnvironmentId(const char *value)
Definition: StopDeploymentRequest.h:114
Aws::AppConfig::Model::StopDeploymentRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: StopDeploymentRequest.h:38
Aws::AppConfig::Model::StopDeploymentRequest::WithEnvironmentId
StopDeploymentRequest & WithEnvironmentId(Aws::String &&value)
Definition: StopDeploymentRequest.h:109