AWS SDK for C++  1.9.131
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 ElasticBeanstalk
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
48 
54  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
55 
61  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
62 
68  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
69 
75  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
76 
82  inline UpdateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
83 
89  inline UpdateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
90 
96  inline UpdateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
97 
98 
103  inline const Aws::String& GetDescription() const{ return m_description; }
104 
109  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 
115  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
116 
121  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
122 
127  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
128 
133  inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
134 
139  inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
140 
145  inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
146 
147  private:
148 
149  Aws::String m_applicationName;
150  bool m_applicationNameHasBeenSet;
151 
152  Aws::String m_description;
153  bool m_descriptionHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace ElasticBeanstalk
158 } // namespace Aws
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const char *value)
Definition: UpdateApplicationRequest.h:145
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest
Definition: UpdateApplicationRequest.h:25
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: UpdateApplicationRequest.h:47
Aws::Http::URI
Definition: URI.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationRequest.h:33
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
ElasticBeanstalkRequest.h
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:121
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithApplicationName
UpdateApplicationRequest & WithApplicationName(const char *value)
Definition: UpdateApplicationRequest.h:96
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithApplicationName
UpdateApplicationRequest & WithApplicationName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:89
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateApplicationRequest.h:103
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:68
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateApplicationRequest.h:109
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:133
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateApplicationRequest.h:127
AWSString.h
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::UpdateApplicationRequest
UpdateApplicationRequest()
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: UpdateApplicationRequest.h:54
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: UpdateApplicationRequest.h:75
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
ElasticBeanstalk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::ElasticBeanstalkRequest
Definition: ElasticBeanstalkRequest.h:17
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:139
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::WithApplicationName
UpdateApplicationRequest & WithApplicationName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:82
Aws::ElasticBeanstalk::Model::UpdateApplicationRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:61