AWS SDK for C++  1.8.95
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
virtual const char * GetServiceRequestName() const override
#define AWS_ELASTICBEANSTALK_API
UpdateApplicationRequest & WithDescription(const char *value)
UpdateApplicationRequest & WithApplicationName(Aws::String &&value)
UpdateApplicationRequest & WithDescription(const Aws::String &value)
UpdateApplicationRequest & WithApplicationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateApplicationRequest & WithApplicationName(const char *value)
UpdateApplicationRequest & WithDescription(Aws::String &&value)