AWS SDK for C++  1.9.108
AWS SDK for C++
ProvisioningParameter.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 ProvisioningParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
70 
74  inline ProvisioningParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
75 
79  inline ProvisioningParameter& 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 ProvisioningParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
111 
115  inline ProvisioningParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
116 
120  inline ProvisioningParameter& WithValue(const char* value) { SetValue(value); return *this;}
121 
122  private:
123 
124  Aws::String m_key;
125  bool m_keyHasBeenSet;
126 
127  Aws::String m_value;
128  bool m_valueHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace ServiceCatalog
133 } // namespace Aws
Aws::ServiceCatalog::Model::ProvisioningParameter::ProvisioningParameter
ProvisioningParameter()
Aws::ServiceCatalog::Model::ProvisioningParameter::ProvisioningParameter
ProvisioningParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(const char *value)
Definition: ProvisioningParameter.h:79
Aws::ServiceCatalog::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(const Aws::String &value)
Definition: ProvisioningParameter.h:110
Aws::ServiceCatalog::Model::ProvisioningParameter::SetKey
void SetKey(const Aws::String &value)
Definition: ProvisioningParameter.h:54
Aws::ServiceCatalog::Model::ProvisioningParameter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ProvisioningParameter.h:90
Aws::ServiceCatalog::Model::ProvisioningParameter::GetKey
const Aws::String & GetKey() const
Definition: ProvisioningParameter.h:44
Aws::ServiceCatalog::Model::ProvisioningParameter::SetKey
void SetKey(Aws::String &&value)
Definition: ProvisioningParameter.h:59
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(const char *value)
Definition: ProvisioningParameter.h:120
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ProvisioningParameter
Definition: ProvisioningParameter.h:33
Aws::ServiceCatalog::Model::ProvisioningParameter::SetValue
void SetValue(Aws::String &&value)
Definition: ProvisioningParameter.h:100
Aws::ServiceCatalog::Model::ProvisioningParameter::SetValue
void SetValue(const char *value)
Definition: ProvisioningParameter.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(Aws::String &&value)
Definition: ProvisioningParameter.h:74
Aws::ServiceCatalog::Model::ProvisioningParameter::GetValue
const Aws::String & GetValue() const
Definition: ProvisioningParameter.h:85
Aws::ServiceCatalog::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(const Aws::String &value)
Definition: ProvisioningParameter.h:69
Aws::ServiceCatalog::Model::ProvisioningParameter::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ProvisioningParameter.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ProvisioningParameter::SetValue
void SetValue(const Aws::String &value)
Definition: ProvisioningParameter.h:95
Aws::ServiceCatalog::Model::ProvisioningParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ProvisioningParameter::operator=
ProvisioningParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ProvisioningParameter::SetKey
void SetKey(const char *value)
Definition: ProvisioningParameter.h:64
Aws::ServiceCatalog::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(Aws::String &&value)
Definition: ProvisioningParameter.h:115