AWS SDK for C++  1.9.110
AWS SDK for C++
GetConfigurationProfileRequest.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 "GetConfigurationProfile"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
40 
45  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 
51  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 
57  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
58 
63  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
64 
69  inline GetConfigurationProfileRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
75  inline GetConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
76 
81  inline GetConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
82 
83 
87  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
88 
92  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
93 
97  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
98 
102  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
103 
107  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
108 
112  inline GetConfigurationProfileRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
113 
117  inline GetConfigurationProfileRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
118 
122  inline GetConfigurationProfileRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_applicationId;
127  bool m_applicationIdHasBeenSet;
128 
129  Aws::String m_configurationProfileId;
130  bool m_configurationProfileIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace AppConfig
135 } // namespace Aws
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithConfigurationProfileId
GetConfigurationProfileRequest & WithConfigurationProfileId(const char *value)
Definition: GetConfigurationProfileRequest.h:122
Aws::AppConfig::Model::GetConfigurationProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetConfigurationProfileRequest.h:30
Aws::AppConfig::Model::GetConfigurationProfileRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: GetConfigurationProfileRequest.h:45
Aws::AppConfig::Model::GetConfigurationProfileRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: GetConfigurationProfileRequest.h:39
Aws::AppConfig::Model::GetConfigurationProfileRequest
Definition: GetConfigurationProfileRequest.h:22
AppConfig_EXPORTS.h
Aws::AppConfig::Model::GetConfigurationProfileRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: GetConfigurationProfileRequest.h:57
Aws::AppConfig::Model::GetConfigurationProfileRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: GetConfigurationProfileRequest.h:87
Aws::AppConfig::Model::GetConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: GetConfigurationProfileRequest.h:97
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithConfigurationProfileId
GetConfigurationProfileRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: GetConfigurationProfileRequest.h:117
Aws::AppConfig::Model::GetConfigurationProfileRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: GetConfigurationProfileRequest.h:92
Aws::AppConfig::Model::GetConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: GetConfigurationProfileRequest.h:102
AppConfigRequest.h
Aws::AppConfig::Model::GetConfigurationProfileRequest::GetConfigurationProfileRequest
GetConfigurationProfileRequest()
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithApplicationId
GetConfigurationProfileRequest & WithApplicationId(const char *value)
Definition: GetConfigurationProfileRequest.h:81
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
AWSString.h
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithApplicationId
GetConfigurationProfileRequest & WithApplicationId(Aws::String &&value)
Definition: GetConfigurationProfileRequest.h:75
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithApplicationId
GetConfigurationProfileRequest & WithApplicationId(const Aws::String &value)
Definition: GetConfigurationProfileRequest.h:69
Aws::AppConfig::Model::GetConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: GetConfigurationProfileRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::GetConfigurationProfileRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: GetConfigurationProfileRequest.h:51
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::GetConfigurationProfileRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: GetConfigurationProfileRequest.h:107
Aws::AppConfig::Model::GetConfigurationProfileRequest::WithConfigurationProfileId
GetConfigurationProfileRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: GetConfigurationProfileRequest.h:112
Aws::AppConfig::Model::GetConfigurationProfileRequest::SerializePayload
Aws::String SerializePayload() const override