AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateApplicationVersionRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace ElasticBeanstalk
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
41  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
42 
48  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
49 
55  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
56 
62  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
63 
69  inline UpdateApplicationVersionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
70 
76  inline UpdateApplicationVersionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(value); return *this;}
77 
83  inline UpdateApplicationVersionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
84 
90  inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
91 
97  inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
98 
104  inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
105 
111  inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
112 
118  inline UpdateApplicationVersionRequest& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
119 
125  inline UpdateApplicationVersionRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(value); return *this;}
126 
132  inline UpdateApplicationVersionRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
133 
137  inline const Aws::String& GetDescription() const{ return m_description; }
138 
142  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
143 
147  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
148 
152  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
153 
157  inline UpdateApplicationVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
158 
162  inline UpdateApplicationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
163 
167  inline UpdateApplicationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
168 
169  private:
170  Aws::String m_applicationName;
171  bool m_applicationNameHasBeenSet;
172  Aws::String m_versionLabel;
173  bool m_versionLabelHasBeenSet;
174  Aws::String m_description;
175  bool m_descriptionHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace ElasticBeanstalk
180 } // 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)
JSON (JavaScript Object Notation).