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