AWS SDK for C++  1.9.110
AWS SDK for C++
DeleteHostedConfigurationVersionRequest.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 "DeleteHostedConfigurationVersion"; }
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 DeleteHostedConfigurationVersionRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline DeleteHostedConfigurationVersionRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline DeleteHostedConfigurationVersionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
74 
75 
79  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
80 
84  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
85 
89  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
90 
94  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
95 
99  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
100 
104  inline DeleteHostedConfigurationVersionRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
105 
109  inline DeleteHostedConfigurationVersionRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
110 
114  inline DeleteHostedConfigurationVersionRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
115 
116 
120  inline int GetVersionNumber() const{ return m_versionNumber; }
121 
125  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
126 
130  inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
131 
135  inline DeleteHostedConfigurationVersionRequest& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
136 
137  private:
138 
139  Aws::String m_applicationId;
140  bool m_applicationIdHasBeenSet;
141 
142  Aws::String m_configurationProfileId;
143  bool m_configurationProfileIdHasBeenSet;
144 
145  int m_versionNumber;
146  bool m_versionNumberHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace AppConfig
151 } // namespace Aws
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithConfigurationProfileId
DeleteHostedConfigurationVersionRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: DeleteHostedConfigurationVersionRequest.h:104
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: DeleteHostedConfigurationVersionRequest.h:79
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::DeleteHostedConfigurationVersionRequest
DeleteHostedConfigurationVersionRequest()
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: DeleteHostedConfigurationVersionRequest.h:48
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: DeleteHostedConfigurationVersionRequest.h:58
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: DeleteHostedConfigurationVersionRequest.h:99
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest
Definition: DeleteHostedConfigurationVersionRequest.h:22
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: DeleteHostedConfigurationVersionRequest.h:53
AppConfig_EXPORTS.h
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: DeleteHostedConfigurationVersionRequest.h:89
AppConfigRequest.h
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithConfigurationProfileId
DeleteHostedConfigurationVersionRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: DeleteHostedConfigurationVersionRequest.h:109
AWSString.h
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DeleteHostedConfigurationVersionRequest.h:125
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithVersionNumber
DeleteHostedConfigurationVersionRequest & WithVersionNumber(int value)
Definition: DeleteHostedConfigurationVersionRequest.h:135
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: DeleteHostedConfigurationVersionRequest.h:84
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithConfigurationProfileId
DeleteHostedConfigurationVersionRequest & WithConfigurationProfileId(const char *value)
Definition: DeleteHostedConfigurationVersionRequest.h:114
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::GetVersionNumber
int GetVersionNumber() const
Definition: DeleteHostedConfigurationVersionRequest.h:120
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: DeleteHostedConfigurationVersionRequest.h:94
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::DeleteHostedConfigurationVersionRequest::SetVersionNumber
void SetVersionNumber(int value)
Definition: DeleteHostedConfigurationVersionRequest.h:130
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithApplicationId
DeleteHostedConfigurationVersionRequest & WithApplicationId(const Aws::String &value)
Definition: DeleteHostedConfigurationVersionRequest.h:63
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithApplicationId
DeleteHostedConfigurationVersionRequest & WithApplicationId(const char *value)
Definition: DeleteHostedConfigurationVersionRequest.h:73
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: DeleteHostedConfigurationVersionRequest.h:38
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteHostedConfigurationVersionRequest.h:30
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::WithApplicationId
DeleteHostedConfigurationVersionRequest & WithApplicationId(Aws::String &&value)
Definition: DeleteHostedConfigurationVersionRequest.h:68
Aws::AppConfig::Model::DeleteHostedConfigurationVersionRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: DeleteHostedConfigurationVersionRequest.h:43