AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateAliasRequest.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 Lambda
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
38  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
39 
43  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
44 
48  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
49 
53  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
54 
58  inline UpdateAliasRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
59 
63  inline UpdateAliasRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(value); return *this;}
64 
68  inline UpdateAliasRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
69 
73  inline const Aws::String& GetName() const{ return m_name; }
74 
78  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
79 
83  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
84 
88  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 
93  inline UpdateAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
94 
98  inline UpdateAliasRequest& WithName(Aws::String&& value) { SetName(value); return *this;}
99 
103  inline UpdateAliasRequest& WithName(const char* value) { SetName(value); return *this;}
104 
109  inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
110 
115  inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
116 
121  inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
122 
127  inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
128 
133  inline UpdateAliasRequest& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
134 
139  inline UpdateAliasRequest& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(value); return *this;}
140 
145  inline UpdateAliasRequest& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
146 
150  inline const Aws::String& GetDescription() const{ return m_description; }
151 
155  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
156 
160  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
161 
165  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
166 
170  inline UpdateAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
171 
175  inline UpdateAliasRequest& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
176 
180  inline UpdateAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
181 
182  private:
183  Aws::String m_functionName;
184  bool m_functionNameHasBeenSet;
185  Aws::String m_name;
186  bool m_nameHasBeenSet;
187  Aws::String m_functionVersion;
188  bool m_functionVersionHasBeenSet;
189  Aws::String m_description;
190  bool m_descriptionHasBeenSet;
191  };
192 
193 } // namespace Model
194 } // namespace Lambda
195 } // namespace Aws
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
UpdateAliasRequest & WithFunctionName(const Aws::String &value)
void SetFunctionName(Aws::String &&value)
UpdateAliasRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetName() const
UpdateAliasRequest & WithDescription(const Aws::String &value)
UpdateAliasRequest & WithDescription(const char *value)
const Aws::String & GetFunctionName() const
const Aws::String & GetFunctionVersion() const
#define AWS_LAMBDA_API
UpdateAliasRequest & WithFunctionVersion(Aws::String &&value)
void SetFunctionName(const Aws::String &value)
UpdateAliasRequest & WithFunctionVersion(const Aws::String &value)
UpdateAliasRequest & WithFunctionVersion(const char *value)
UpdateAliasRequest & WithDescription(Aws::String &&value)
UpdateAliasRequest & WithFunctionName(Aws::String &&value)
UpdateAliasRequest & WithFunctionName(const char *value)
UpdateAliasRequest & WithName(const char *value)
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetFunctionVersion(const Aws::String &value)
void SetFunctionVersion(Aws::String &&value)
UpdateAliasRequest & WithName(const Aws::String &value)
JSON (JavaScript Object Notation).