AWS SDK for C++  1.9.160
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 SageMaker
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetKey() const{ return m_key; }
47 
51  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
52 
56  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
57 
61  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
62 
66  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
67 
71  inline ProvisioningParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
72 
76  inline ProvisioningParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
77 
81  inline ProvisioningParameter& WithKey(const char* value) { SetKey(value); return *this;}
82 
83 
87  inline const Aws::String& GetValue() const{ return m_value; }
88 
92  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
93 
97  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
98 
102  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
103 
107  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
108 
112  inline ProvisioningParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
113 
117  inline ProvisioningParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
118 
122  inline ProvisioningParameter& WithValue(const char* value) { SetValue(value); return *this;}
123 
124  private:
125 
126  Aws::String m_key;
127  bool m_keyHasBeenSet;
128 
129  Aws::String m_value;
130  bool m_valueHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SageMaker
135 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ProvisioningParameter
Definition: ProvisioningParameter.h:35
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ProvisioningParameter::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ProvisioningParameter.h:51
Aws::SageMaker::Model::ProvisioningParameter::ProvisioningParameter
ProvisioningParameter()
Aws::SageMaker::Model::ProvisioningParameter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ProvisioningParameter.h:92
Aws::SageMaker::Model::ProvisioningParameter::SetKey
void SetKey(Aws::String &&value)
Definition: ProvisioningParameter.h:61
Aws::SageMaker::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(Aws::String &&value)
Definition: ProvisioningParameter.h:117
Aws::SageMaker::Model::ProvisioningParameter::SetKey
void SetKey(const char *value)
Definition: ProvisioningParameter.h:66
Aws::SageMaker::Model::ProvisioningParameter::SetKey
void SetKey(const Aws::String &value)
Definition: ProvisioningParameter.h:56
Aws::SageMaker::Model::ProvisioningParameter::operator=
ProvisioningParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(const char *value)
Definition: ProvisioningParameter.h:81
Aws::SageMaker::Model::ProvisioningParameter::SetValue
void SetValue(Aws::String &&value)
Definition: ProvisioningParameter.h:102
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ProvisioningParameter::SetValue
void SetValue(const char *value)
Definition: ProvisioningParameter.h:107
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ProvisioningParameter::GetKey
const Aws::String & GetKey() const
Definition: ProvisioningParameter.h:46
Aws::SageMaker::Model::ProvisioningParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(const Aws::String &value)
Definition: ProvisioningParameter.h:112
Aws::SageMaker::Model::ProvisioningParameter::SetValue
void SetValue(const Aws::String &value)
Definition: ProvisioningParameter.h:97
Aws::SageMaker::Model::ProvisioningParameter::GetValue
const Aws::String & GetValue() const
Definition: ProvisioningParameter.h:87
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ProvisioningParameter::ProvisioningParameter
ProvisioningParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(Aws::String &&value)
Definition: ProvisioningParameter.h:76
Aws::SageMaker::Model::ProvisioningParameter::WithKey
ProvisioningParameter & WithKey(const Aws::String &value)
Definition: ProvisioningParameter.h:71
Aws::SageMaker::Model::ProvisioningParameter::WithValue
ProvisioningParameter & WithValue(const char *value)
Definition: ProvisioningParameter.h:122