AWS SDK for C++  0.14.3
AWS SDK for C++
ProvisioningArtifactParameter.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 ServiceCatalog
30 {
31 namespace Model
32 {
33 
39  {
40  public:
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
49  inline const Aws::String& GetParameterKey() const{ return m_parameterKey; }
50 
54  inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; }
55 
59  inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; }
60 
64  inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); }
65 
69  inline ProvisioningArtifactParameter& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;}
70 
74  inline ProvisioningArtifactParameter& WithParameterKey(Aws::String&& value) { SetParameterKey(value); return *this;}
75 
79  inline ProvisioningArtifactParameter& WithParameterKey(const char* value) { SetParameterKey(value); return *this;}
80 
84  inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
85 
89  inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
90 
94  inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
95 
99  inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
100 
104  inline ProvisioningArtifactParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
105 
109  inline ProvisioningArtifactParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(value); return *this;}
110 
114  inline ProvisioningArtifactParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
115 
119  inline const Aws::String& GetParameterType() const{ return m_parameterType; }
120 
124  inline void SetParameterType(const Aws::String& value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; }
125 
129  inline void SetParameterType(Aws::String&& value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; }
130 
134  inline void SetParameterType(const char* value) { m_parameterTypeHasBeenSet = true; m_parameterType.assign(value); }
135 
139  inline ProvisioningArtifactParameter& WithParameterType(const Aws::String& value) { SetParameterType(value); return *this;}
140 
144  inline ProvisioningArtifactParameter& WithParameterType(Aws::String&& value) { SetParameterType(value); return *this;}
145 
149  inline ProvisioningArtifactParameter& WithParameterType(const char* value) { SetParameterType(value); return *this;}
150 
156  inline bool GetIsNoEcho() const{ return m_isNoEcho; }
157 
163  inline void SetIsNoEcho(bool value) { m_isNoEchoHasBeenSet = true; m_isNoEcho = value; }
164 
170  inline ProvisioningArtifactParameter& WithIsNoEcho(bool value) { SetIsNoEcho(value); return *this;}
171 
175  inline const Aws::String& GetDescription() const{ return m_description; }
176 
180  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
181 
185  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
186 
190  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
191 
195  inline ProvisioningArtifactParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
196 
200  inline ProvisioningArtifactParameter& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
201 
205  inline ProvisioningArtifactParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
206 
210  inline const ParameterConstraints& GetParameterConstraints() const{ return m_parameterConstraints; }
211 
215  inline void SetParameterConstraints(const ParameterConstraints& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = value; }
216 
220  inline void SetParameterConstraints(ParameterConstraints&& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = value; }
221 
225  inline ProvisioningArtifactParameter& WithParameterConstraints(const ParameterConstraints& value) { SetParameterConstraints(value); return *this;}
226 
230  inline ProvisioningArtifactParameter& WithParameterConstraints(ParameterConstraints&& value) { SetParameterConstraints(value); return *this;}
231 
232  private:
233  Aws::String m_parameterKey;
234  bool m_parameterKeyHasBeenSet;
235  Aws::String m_defaultValue;
236  bool m_defaultValueHasBeenSet;
237  Aws::String m_parameterType;
238  bool m_parameterTypeHasBeenSet;
239  bool m_isNoEcho;
240  bool m_isNoEchoHasBeenSet;
241  Aws::String m_description;
242  bool m_descriptionHasBeenSet;
243  ParameterConstraints m_parameterConstraints;
244  bool m_parameterConstraintsHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace ServiceCatalog
249 } // namespace Aws
ProvisioningArtifactParameter & WithDefaultValue(Aws::String &&value)
ProvisioningArtifactParameter & WithDefaultValue(const Aws::String &value)
#define AWS_SERVICECATALOG_API
ProvisioningArtifactParameter & WithDescription(const char *value)
ProvisioningArtifactParameter & WithParameterKey(const Aws::String &value)
ProvisioningArtifactParameter & WithParameterKey(const char *value)
ProvisioningArtifactParameter & WithParameterKey(Aws::String &&value)
ProvisioningArtifactParameter & WithDescription(const Aws::String &value)
ProvisioningArtifactParameter & WithParameterConstraints(ParameterConstraints &&value)
ProvisioningArtifactParameter & WithParameterType(const Aws::String &value)
ProvisioningArtifactParameter & WithDefaultValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ProvisioningArtifactParameter & WithParameterType(const char *value)
ProvisioningArtifactParameter & WithParameterType(Aws::String &&value)
ProvisioningArtifactParameter & WithParameterConstraints(const ParameterConstraints &value)
ProvisioningArtifactParameter & WithDescription(Aws::String &&value)
JSON (JavaScript Object Notation).