AWS SDK for C++  0.14.3
AWS SDK for C++
AliasConfiguration.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Lambda
29 {
30 namespace Model
31 {
32 
37  {
38  public:
41  AliasConfiguration& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
50  inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
51 
58  inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; }
59 
66  inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; }
67 
74  inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); }
75 
82  inline AliasConfiguration& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
83 
90  inline AliasConfiguration& WithAliasArn(Aws::String&& value) { SetAliasArn(value); return *this;}
91 
98  inline AliasConfiguration& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
99 
103  inline const Aws::String& GetName() const{ return m_name; }
104 
108  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
109 
113  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
114 
118  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
119 
123  inline AliasConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
124 
128  inline AliasConfiguration& WithName(Aws::String&& value) { SetName(value); return *this;}
129 
133  inline AliasConfiguration& WithName(const char* value) { SetName(value); return *this;}
134 
138  inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
139 
143  inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
144 
148  inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
149 
153  inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
154 
158  inline AliasConfiguration& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
159 
163  inline AliasConfiguration& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(value); return *this;}
164 
168  inline AliasConfiguration& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
169 
173  inline const Aws::String& GetDescription() const{ return m_description; }
174 
178  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
179 
183  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
184 
188  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 
193  inline AliasConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
194 
198  inline AliasConfiguration& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
199 
203  inline AliasConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
204 
205  private:
206  Aws::String m_aliasArn;
207  bool m_aliasArnHasBeenSet;
208  Aws::String m_name;
209  bool m_nameHasBeenSet;
210  Aws::String m_functionVersion;
211  bool m_functionVersionHasBeenSet;
212  Aws::String m_description;
213  bool m_descriptionHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace Lambda
218 } // namespace Aws
AliasConfiguration & WithFunctionVersion(Aws::String &&value)
AliasConfiguration & WithFunctionVersion(const char *value)
void SetDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetAliasArn(const Aws::String &value)
#define AWS_LAMBDA_API
void SetFunctionVersion(const Aws::String &value)
const Aws::String & GetFunctionVersion() const
const Aws::String & GetAliasArn() const
const Aws::String & GetName() const
AliasConfiguration & WithDescription(const char *value)
AliasConfiguration & WithAliasArn(const Aws::String &value)
AliasConfiguration & WithName(const char *value)
AliasConfiguration & WithAliasArn(Aws::String &&value)
AliasConfiguration & WithName(Aws::String &&value)
AliasConfiguration & WithDescription(const Aws::String &value)
AliasConfiguration & WithDescription(Aws::String &&value)
AliasConfiguration & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AliasConfiguration & WithFunctionVersion(const Aws::String &value)
void SetFunctionVersion(Aws::String &&value)
AliasConfiguration & WithAliasArn(const char *value)
JSON (JavaScript Object Notation).
void SetName(const Aws::String &value)