AWS SDK for C++  1.9.110
AWS SDK for C++
GetDeploymentRequest.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 "GetDeployment"; }
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 GetDeploymentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline GetDeploymentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline GetDeploymentRequest& 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 GetDeploymentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
105 
109  inline GetDeploymentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
110 
114  inline GetDeploymentRequest& 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 GetDeploymentRequest& 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::GetDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: GetDeploymentRequest.h:94
Aws::AppConfig::Model::GetDeploymentRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: GetDeploymentRequest.h:43
Aws::AppConfig::Model::GetDeploymentRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: GetDeploymentRequest.h:84
Aws::AppConfig::Model::GetDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: GetDeploymentRequest.h:99
Aws::AppConfig::Model::GetDeploymentRequest::WithDeploymentNumber
GetDeploymentRequest & WithDeploymentNumber(int value)
Definition: GetDeploymentRequest.h:135
Aws::AppConfig::Model::GetDeploymentRequest::WithEnvironmentId
GetDeploymentRequest & WithEnvironmentId(const char *value)
Definition: GetDeploymentRequest.h:114
Aws::AppConfig::Model::GetDeploymentRequest
Definition: GetDeploymentRequest.h:22
Aws::AppConfig::Model::GetDeploymentRequest::WithApplicationId
GetDeploymentRequest & WithApplicationId(Aws::String &&value)
Definition: GetDeploymentRequest.h:68
Aws::AppConfig::Model::GetDeploymentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::GetDeploymentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDeploymentRequest.h:30
AppConfig_EXPORTS.h
Aws::AppConfig::Model::GetDeploymentRequest::WithApplicationId
GetDeploymentRequest & WithApplicationId(const Aws::String &value)
Definition: GetDeploymentRequest.h:63
Aws::AppConfig::Model::GetDeploymentRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: GetDeploymentRequest.h:89
Aws::AppConfig::Model::GetDeploymentRequest::GetDeploymentNumber
int GetDeploymentNumber() const
Definition: GetDeploymentRequest.h:120
Aws::AppConfig::Model::GetDeploymentRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: GetDeploymentRequest.h:79
Aws::AppConfig::Model::GetDeploymentRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetDeploymentRequest.h:58
AppConfigRequest.h
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
AWSString.h
Aws::AppConfig::Model::GetDeploymentRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetDeploymentRequest.h:38
Aws::AppConfig::Model::GetDeploymentRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetDeploymentRequest.h:53
Aws::AppConfig::Model::GetDeploymentRequest::DeploymentNumberHasBeenSet
bool DeploymentNumberHasBeenSet() const
Definition: GetDeploymentRequest.h:125
Aws::AppConfig::Model::GetDeploymentRequest::WithEnvironmentId
GetDeploymentRequest & WithEnvironmentId(const Aws::String &value)
Definition: GetDeploymentRequest.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::GetDeploymentRequest::GetDeploymentRequest
GetDeploymentRequest()
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::GetDeploymentRequest::SetDeploymentNumber
void SetDeploymentNumber(int value)
Definition: GetDeploymentRequest.h:130
Aws::AppConfig::Model::GetDeploymentRequest::WithEnvironmentId
GetDeploymentRequest & WithEnvironmentId(Aws::String &&value)
Definition: GetDeploymentRequest.h:109
Aws::AppConfig::Model::GetDeploymentRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetDeploymentRequest.h:48
Aws::AppConfig::Model::GetDeploymentRequest::WithApplicationId
GetDeploymentRequest & WithApplicationId(const char *value)
Definition: GetDeploymentRequest.h:73