AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateApplicationVersionRequest.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 "UpdateApplicationVersion"; }
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 UpdateApplicationVersionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
83 
89  inline UpdateApplicationVersionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
90 
96  inline UpdateApplicationVersionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
97 
98 
104  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
105 
111  inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
112 
118  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
119 
125  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
126 
132  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
133 
139  inline UpdateApplicationVersionRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
140 
146  inline UpdateApplicationVersionRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
147 
153  inline UpdateApplicationVersionRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
154 
155 
159  inline const Aws::String& GetDescription() const{ return m_description; }
160 
164  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
165 
169  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
170 
174  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
175 
179  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
180 
184  inline UpdateApplicationVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
185 
189  inline UpdateApplicationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
190 
194  inline UpdateApplicationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
195 
196  private:
197 
198  Aws::String m_applicationName;
199  bool m_applicationNameHasBeenSet;
200 
201  Aws::String m_versionLabel;
202  bool m_versionLabelHasBeenSet;
203 
204  Aws::String m_description;
205  bool m_descriptionHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace ElasticBeanstalk
210 } // namespace Aws
UpdateApplicationVersionRequest & WithApplicationName(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
UpdateApplicationVersionRequest & WithDescription(Aws::String &&value)
UpdateApplicationVersionRequest & WithVersionLabel(Aws::String &&value)
UpdateApplicationVersionRequest & WithDescription(const char *value)
UpdateApplicationVersionRequest & WithApplicationName(const char *value)
UpdateApplicationVersionRequest & WithVersionLabel(const Aws::String &value)
UpdateApplicationVersionRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateApplicationVersionRequest & WithApplicationName(Aws::String &&value)
UpdateApplicationVersionRequest & WithVersionLabel(const char *value)