AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateProvisioningParameter.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ServiceCatalog
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetKey() const{ return m_key; }
45 
49  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
50 
54  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
55 
59  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
60 
64  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
65 
69  inline UpdateProvisioningParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
70 
74  inline UpdateProvisioningParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
75 
79  inline UpdateProvisioningParameter& WithKey(const char* value) { SetKey(value); return *this;}
80 
81 
85  inline const Aws::String& GetValue() const{ return m_value; }
86 
90  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
91 
95  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
96 
100  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
101 
105  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
106 
110  inline UpdateProvisioningParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
111 
115  inline UpdateProvisioningParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
116 
120  inline UpdateProvisioningParameter& WithValue(const char* value) { SetValue(value); return *this;}
121 
122 
127  inline bool GetUsePreviousValue() const{ return m_usePreviousValue; }
128 
133  inline bool UsePreviousValueHasBeenSet() const { return m_usePreviousValueHasBeenSet; }
134 
139  inline void SetUsePreviousValue(bool value) { m_usePreviousValueHasBeenSet = true; m_usePreviousValue = value; }
140 
145  inline UpdateProvisioningParameter& WithUsePreviousValue(bool value) { SetUsePreviousValue(value); return *this;}
146 
147  private:
148 
149  Aws::String m_key;
150  bool m_keyHasBeenSet;
151 
152  Aws::String m_value;
153  bool m_valueHasBeenSet;
154 
155  bool m_usePreviousValue;
156  bool m_usePreviousValueHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace ServiceCatalog
161 } // namespace Aws
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetValue
void SetValue(const Aws::String &value)
Definition: UpdateProvisioningParameter.h:95
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithKey
UpdateProvisioningParameter & WithKey(const Aws::String &value)
Definition: UpdateProvisioningParameter.h:69
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithUsePreviousValue
UpdateProvisioningParameter & WithUsePreviousValue(bool value)
Definition: UpdateProvisioningParameter.h:145
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithKey
UpdateProvisioningParameter & WithKey(const char *value)
Definition: UpdateProvisioningParameter.h:79
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: UpdateProvisioningParameter.h:90
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: UpdateProvisioningParameter.h:49
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::GetValue
const Aws::String & GetValue() const
Definition: UpdateProvisioningParameter.h:85
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetKey
void SetKey(const Aws::String &value)
Definition: UpdateProvisioningParameter.h:54
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetKey
void SetKey(Aws::String &&value)
Definition: UpdateProvisioningParameter.h:59
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::GetUsePreviousValue
bool GetUsePreviousValue() const
Definition: UpdateProvisioningParameter.h:127
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetValue
void SetValue(const char *value)
Definition: UpdateProvisioningParameter.h:105
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithValue
UpdateProvisioningParameter & WithValue(const Aws::String &value)
Definition: UpdateProvisioningParameter.h:110
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::UpdateProvisioningParameter
UpdateProvisioningParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithKey
UpdateProvisioningParameter & WithKey(Aws::String &&value)
Definition: UpdateProvisioningParameter.h:74
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::GetKey
const Aws::String & GetKey() const
Definition: UpdateProvisioningParameter.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithValue
UpdateProvisioningParameter & WithValue(Aws::String &&value)
Definition: UpdateProvisioningParameter.h:115
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::UpdateProvisioningParameter
UpdateProvisioningParameter()
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetUsePreviousValue
void SetUsePreviousValue(bool value)
Definition: UpdateProvisioningParameter.h:139
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::UsePreviousValueHasBeenSet
bool UsePreviousValueHasBeenSet() const
Definition: UpdateProvisioningParameter.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetKey
void SetKey(const char *value)
Definition: UpdateProvisioningParameter.h:64
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::WithValue
UpdateProvisioningParameter & WithValue(const char *value)
Definition: UpdateProvisioningParameter.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::SetValue
void SetValue(Aws::String &&value)
Definition: UpdateProvisioningParameter.h:100
Aws::ServiceCatalog::Model::UpdateProvisioningParameter::operator=
UpdateProvisioningParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::UpdateProvisioningParameter
Definition: UpdateProvisioningParameter.h:33