AWS SDK for C++  1.9.110
AWS SDK for C++
DeleteEnvironmentRequest.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 "DeleteEnvironment"; }
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 DeleteEnvironmentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline DeleteEnvironmentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline DeleteEnvironmentRequest& 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 DeleteEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
105 
109  inline DeleteEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
110 
114  inline DeleteEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_applicationId;
119  bool m_applicationIdHasBeenSet;
120 
121  Aws::String m_environmentId;
122  bool m_environmentIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace AppConfig
127 } // namespace Aws
Aws::AppConfig::Model::DeleteEnvironmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteEnvironmentRequest.h:30
Aws::AppConfig::Model::DeleteEnvironmentRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: DeleteEnvironmentRequest.h:84
Aws::AppConfig::Model::DeleteEnvironmentRequest
Definition: DeleteEnvironmentRequest.h:22
Aws::AppConfig::Model::DeleteEnvironmentRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: DeleteEnvironmentRequest.h:38
AppConfig_EXPORTS.h
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:53
AppConfigRequest.h
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::DeleteEnvironmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithApplicationId
DeleteEnvironmentRequest & WithApplicationId(const char *value)
Definition: DeleteEnvironmentRequest.h:73
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:94
AWSString.h
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:104
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:109
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: DeleteEnvironmentRequest.h:99
Aws::AppConfig::Model::DeleteEnvironmentRequest::DeleteEnvironmentRequest
DeleteEnvironmentRequest()
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:48
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(const char *value)
Definition: DeleteEnvironmentRequest.h:114
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:89
Aws::AppConfig::Model::DeleteEnvironmentRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: DeleteEnvironmentRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::DeleteEnvironmentRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: DeleteEnvironmentRequest.h:79
Aws::AppConfig::Model::DeleteEnvironmentRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: DeleteEnvironmentRequest.h:58
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithApplicationId
DeleteEnvironmentRequest & WithApplicationId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:63
Aws::AppConfig::Model::DeleteEnvironmentRequest::WithApplicationId
DeleteEnvironmentRequest & WithApplicationId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:68
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