AWS SDK for C++  0.14.3
AWS SDK for C++
ActionConfigurationProperty.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 Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace CodePipeline
30 {
31 namespace Model
32 {
33 
38  {
39  public:
42  ActionConfigurationProperty& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const Aws::String& GetName() const{ return m_name; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline ActionConfigurationProperty& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline ActionConfigurationProperty& WithName(Aws::String&& value) { SetName(value); return *this;}
74 
78  inline ActionConfigurationProperty& WithName(const char* value) { SetName(value); return *this;}
79 
83  inline bool GetRequired() const{ return m_required; }
84 
88  inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
89 
93  inline ActionConfigurationProperty& WithRequired(bool value) { SetRequired(value); return *this;}
94 
98  inline bool GetKey() const{ return m_key; }
99 
103  inline void SetKey(bool value) { m_keyHasBeenSet = true; m_key = value; }
104 
108  inline ActionConfigurationProperty& WithKey(bool value) { SetKey(value); return *this;}
109 
117  inline bool GetSecret() const{ return m_secret; }
118 
126  inline void SetSecret(bool value) { m_secretHasBeenSet = true; m_secret = value; }
127 
135  inline ActionConfigurationProperty& WithSecret(bool value) { SetSecret(value); return *this;}
136 
147  inline bool GetQueryable() const{ return m_queryable; }
148 
159  inline void SetQueryable(bool value) { m_queryableHasBeenSet = true; m_queryable = value; }
160 
171  inline ActionConfigurationProperty& WithQueryable(bool value) { SetQueryable(value); return *this;}
172 
177  inline const Aws::String& GetDescription() const{ return m_description; }
178 
183  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
184 
189  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
190 
195  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
196 
201  inline ActionConfigurationProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
202 
207  inline ActionConfigurationProperty& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
208 
213  inline ActionConfigurationProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
214 
218  inline const ActionConfigurationPropertyType& GetType() const{ return m_type; }
219 
223  inline void SetType(const ActionConfigurationPropertyType& value) { m_typeHasBeenSet = true; m_type = value; }
224 
228  inline void SetType(ActionConfigurationPropertyType&& value) { m_typeHasBeenSet = true; m_type = value; }
229 
233  inline ActionConfigurationProperty& WithType(const ActionConfigurationPropertyType& value) { SetType(value); return *this;}
234 
238  inline ActionConfigurationProperty& WithType(ActionConfigurationPropertyType&& value) { SetType(value); return *this;}
239 
240  private:
241  Aws::String m_name;
242  bool m_nameHasBeenSet;
243  bool m_required;
244  bool m_requiredHasBeenSet;
245  bool m_key;
246  bool m_keyHasBeenSet;
247  bool m_secret;
248  bool m_secretHasBeenSet;
249  bool m_queryable;
250  bool m_queryableHasBeenSet;
251  Aws::String m_description;
252  bool m_descriptionHasBeenSet;
254  bool m_typeHasBeenSet;
255  };
256 
257 } // namespace Model
258 } // namespace CodePipeline
259 } // namespace Aws
ActionConfigurationProperty & WithType(ActionConfigurationPropertyType &&value)
void SetType(ActionConfigurationPropertyType &&value)
ActionConfigurationProperty & WithType(const ActionConfigurationPropertyType &value)
ActionConfigurationProperty & WithDescription(const char *value)
const ActionConfigurationPropertyType & GetType() const
void SetType(const ActionConfigurationPropertyType &value)
ActionConfigurationProperty & WithName(Aws::String &&value)
ActionConfigurationProperty & WithRequired(bool value)
ActionConfigurationProperty & WithDescription(Aws::String &&value)
ActionConfigurationProperty & WithName(const char *value)
#define AWS_CODEPIPELINE_API
ActionConfigurationProperty & WithDescription(const Aws::String &value)
ActionConfigurationProperty & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).