AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateProvisioningParameter.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 ServiceCatalog
29 {
30 namespace Model
31 {
32 
39  {
40  public:
43  UpdateProvisioningParameter& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
50  inline const Aws::String& GetKey() const{ return m_key; }
51 
56  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
57 
62  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = value; }
63 
68  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
69 
74  inline UpdateProvisioningParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
75 
80  inline UpdateProvisioningParameter& WithKey(Aws::String&& value) { SetKey(value); return *this;}
81 
86  inline UpdateProvisioningParameter& WithKey(const char* value) { SetKey(value); return *this;}
87 
93  inline const Aws::String& GetValue() const{ return m_value; }
94 
100  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
101 
107  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = value; }
108 
114  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
115 
121  inline UpdateProvisioningParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
122 
128  inline UpdateProvisioningParameter& WithValue(Aws::String&& value) { SetValue(value); return *this;}
129 
135  inline UpdateProvisioningParameter& WithValue(const char* value) { SetValue(value); return *this;}
136 
141  inline bool GetUsePreviousValue() const{ return m_usePreviousValue; }
142 
147  inline void SetUsePreviousValue(bool value) { m_usePreviousValueHasBeenSet = true; m_usePreviousValue = value; }
148 
153  inline UpdateProvisioningParameter& WithUsePreviousValue(bool value) { SetUsePreviousValue(value); return *this;}
154 
155  private:
156  Aws::String m_key;
157  bool m_keyHasBeenSet;
158  Aws::String m_value;
159  bool m_valueHasBeenSet;
160  bool m_usePreviousValue;
161  bool m_usePreviousValueHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace ServiceCatalog
166 } // namespace Aws
UpdateProvisioningParameter & WithValue(const Aws::String &value)
#define AWS_SERVICECATALOG_API
UpdateProvisioningParameter & WithKey(const char *value)
UpdateProvisioningParameter & WithKey(Aws::String &&value)
UpdateProvisioningParameter & WithKey(const Aws::String &value)
UpdateProvisioningParameter & WithUsePreviousValue(bool value)
UpdateProvisioningParameter & WithValue(const char *value)
UpdateProvisioningParameter & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).