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 AppRegistry
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& GetApplication() const{ return m_application; }
39 
43  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
44 
48  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
49 
53  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
54 
58  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
59 
63  inline UpdateApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
64 
68  inline UpdateApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
69 
73  inline UpdateApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
74 
75 
80  inline const Aws::String& GetName() const{ return m_name; }
81 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
92  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 
98  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
99 
104  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 
110  inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
111 
116  inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 
122  inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
123 
124 
128  inline const Aws::String& GetDescription() const{ return m_description; }
129 
133  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 
138  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 
143  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
144 
148  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 
153  inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
154 
158  inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 
163  inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
164 
165  private:
166 
167  Aws::String m_application;
168  bool m_applicationHasBeenSet;
169 
170  Aws::String m_name;
171  bool m_nameHasBeenSet;
172 
173  Aws::String m_description;
174  bool m_descriptionHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace AppRegistry
179 } // namespace Aws
Aws::AppRegistry::Model::UpdateApplicationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:143
Aws::AppRegistry::Model::UpdateApplicationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateApplicationRequest.h:128
Aws::AppRegistry::Model::UpdateApplicationRequest::GetName
const Aws::String & GetName() const
Definition: UpdateApplicationRequest.h:80
Aws::AppRegistry::Model::UpdateApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppRegistry::Model::UpdateApplicationRequest::WithApplication
UpdateApplicationRequest & WithApplication(const char *value)
Definition: UpdateApplicationRequest.h:73
Aws::AppRegistry::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:116
Aws::AppRegistry::Model::UpdateApplicationRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: UpdateApplicationRequest.h:53
Aws::AppRegistry::AppRegistryRequest
Definition: AppRegistryRequest.h:17
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::UpdateApplicationRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:92
Aws::AppRegistry::Model::UpdateApplicationRequest
Definition: UpdateApplicationRequest.h:22
Aws::AppRegistry::Model::UpdateApplicationRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: UpdateApplicationRequest.h:43
Aws::AppRegistry::Model::UpdateApplicationRequest::UpdateApplicationRequest
UpdateApplicationRequest()
Aws::AppRegistry::Model::UpdateApplicationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateApplicationRequest.h:133
Aws::AppRegistry::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateApplicationRequest.h:148
Aws::AppRegistry::Model::UpdateApplicationRequest::WithApplication
UpdateApplicationRequest & WithApplication(const Aws::String &value)
Definition: UpdateApplicationRequest.h:63
Aws::AppRegistry::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const char *value)
Definition: UpdateApplicationRequest.h:122
Aws::AppRegistry::Model::UpdateApplicationRequest::SetApplication
void SetApplication(const char *value)
Definition: UpdateApplicationRequest.h:58
Aws::AppRegistry::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:153
Aws::AppRegistry::Model::UpdateApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationRequest.h:30
AWSString.h
Aws::AppRegistry::Model::UpdateApplicationRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:98
Aws::AppRegistry::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:110
AppRegistryRequest.h
Aws::AppRegistry::Model::UpdateApplicationRequest::SetName
void SetName(const char *value)
Definition: UpdateApplicationRequest.h:104
Aws::AppRegistry::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const char *value)
Definition: UpdateApplicationRequest.h:163
Aws::AppRegistry::Model::UpdateApplicationRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: UpdateApplicationRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::UpdateApplicationRequest::WithApplication
UpdateApplicationRequest & WithApplication(Aws::String &&value)
Definition: UpdateApplicationRequest.h:68
Aws::AppRegistry::Model::UpdateApplicationRequest::GetApplication
const Aws::String & GetApplication() const
Definition: UpdateApplicationRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::UpdateApplicationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateApplicationRequest.h:86
AppRegistry_EXPORTS.h
Aws::AppRegistry::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:138
Aws::AppRegistry::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:158