AWS SDK for C++  1.9.103
AWS SDK for C++
UpdateApplicationRequest.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 "UpdateApplication"; }
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 UpdateApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline UpdateApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline UpdateApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
114  inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
115 
116 
120  inline const Aws::String& GetDescription() const{ return m_description; }
121 
125  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 
130  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 
135  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
136 
140  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 
145  inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 
150  inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 
155  inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
156 
157  private:
158 
159  Aws::String m_applicationId;
160  bool m_applicationIdHasBeenSet;
161 
162  Aws::String m_name;
163  bool m_nameHasBeenSet;
164 
165  Aws::String m_description;
166  bool m_descriptionHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace AppConfig
171 } // namespace Aws
Aws::AppConfig::Model::UpdateApplicationRequest::UpdateApplicationRequest
UpdateApplicationRequest()
Aws::AppConfig::Model::UpdateApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::UpdateApplicationRequest::GetName
const Aws::String & GetName() const
Definition: UpdateApplicationRequest.h:79
Aws::AppConfig::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:109
Aws::AppConfig::Model::UpdateApplicationRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: UpdateApplicationRequest.h:53
Aws::AppConfig::Model::UpdateApplicationRequest::WithApplicationId
UpdateApplicationRequest & WithApplicationId(const Aws::String &value)
Definition: UpdateApplicationRequest.h:63
Aws::AppConfig::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:130
Aws::AppConfig::Model::UpdateApplicationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:135
Aws::AppConfig::Model::UpdateApplicationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateApplicationRequest.h:125
Aws::AppConfig::Model::UpdateApplicationRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: UpdateApplicationRequest.h:38
Aws::AppConfig::Model::UpdateApplicationRequest::WithApplicationId
UpdateApplicationRequest & WithApplicationId(Aws::String &&value)
Definition: UpdateApplicationRequest.h:68
Aws::AppConfig::Model::UpdateApplicationRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:94
Aws::AppConfig::Model::UpdateApplicationRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:89
Aws::AppConfig::Model::UpdateApplicationRequest
Definition: UpdateApplicationRequest.h:22
AppConfig_EXPORTS.h
Aws::AppConfig::Model::UpdateApplicationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateApplicationRequest.h:120
Aws::AppConfig::Model::UpdateApplicationRequest::WithApplicationId
UpdateApplicationRequest & WithApplicationId(const char *value)
Definition: UpdateApplicationRequest.h:73
Aws::AppConfig::Model::UpdateApplicationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateApplicationRequest.h:84
Aws::AppConfig::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:104
Aws::AppConfig::Model::UpdateApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationRequest.h:30
Aws::AppConfig::Model::UpdateApplicationRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: UpdateApplicationRequest.h:43
Aws::AppConfig::Model::UpdateApplicationRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: UpdateApplicationRequest.h:48
AppConfigRequest.h
Aws::AppConfig::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:150
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:145
AWSString.h
Aws::AppConfig::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateApplicationRequest.h:140
Aws::AppConfig::Model::UpdateApplicationRequest::SetName
void SetName(const char *value)
Definition: UpdateApplicationRequest.h:99
Aws::AppConfig::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const char *value)
Definition: UpdateApplicationRequest.h:114
Aws::AppConfig::Model::UpdateApplicationRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: UpdateApplicationRequest.h:58
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::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const char *value)
Definition: UpdateApplicationRequest.h:155