AWS SDK for C++  1.9.158
AWS SDK for C++
OutputParameter.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline OutputParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline OutputParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline OutputParameter& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetValue() const{ return m_value; }
85 
89  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
90 
94  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
95 
99  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
100 
104  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
105 
109  inline OutputParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
110 
114  inline OutputParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
115 
119  inline OutputParameter& WithValue(const char* value) { SetValue(value); return *this;}
120 
121  private:
122 
123  Aws::String m_name;
124  bool m_nameHasBeenSet;
125 
126  Aws::String m_value;
127  bool m_valueHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SageMaker
132 } // namespace Aws
Aws::SageMaker::Model::OutputParameter::OutputParameter
OutputParameter()
Aws::SageMaker::Model::OutputParameter::operator=
OutputParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::OutputParameter::WithValue
OutputParameter & WithValue(const char *value)
Definition: OutputParameter.h:119
Aws::SageMaker::Model::OutputParameter::GetValue
const Aws::String & GetValue() const
Definition: OutputParameter.h:84
Aws::SageMaker::Model::OutputParameter::WithValue
OutputParameter & WithValue(Aws::String &&value)
Definition: OutputParameter.h:114
Aws::SageMaker::Model::OutputParameter::SetName
void SetName(const char *value)
Definition: OutputParameter.h:63
Aws::SageMaker::Model::OutputParameter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: OutputParameter.h:89
Aws::SageMaker::Model::OutputParameter::WithName
OutputParameter & WithName(const char *value)
Definition: OutputParameter.h:78
Aws::SageMaker::Model::OutputParameter::WithValue
OutputParameter & WithValue(const Aws::String &value)
Definition: OutputParameter.h:109
Aws::SageMaker::Model::OutputParameter
Definition: OutputParameter.h:32
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::OutputParameter::SetName
void SetName(Aws::String &&value)
Definition: OutputParameter.h:58
Aws::SageMaker::Model::OutputParameter::SetValue
void SetValue(const char *value)
Definition: OutputParameter.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::OutputParameter::GetName
const Aws::String & GetName() const
Definition: OutputParameter.h:43
Aws::SageMaker::Model::OutputParameter::SetName
void SetName(const Aws::String &value)
Definition: OutputParameter.h:53
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::OutputParameter::SetValue
void SetValue(const Aws::String &value)
Definition: OutputParameter.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::OutputParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::OutputParameter::OutputParameter
OutputParameter(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OutputParameter::WithName
OutputParameter & WithName(Aws::String &&value)
Definition: OutputParameter.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::OutputParameter::SetValue
void SetValue(Aws::String &&value)
Definition: OutputParameter.h:99
Aws::SageMaker::Model::OutputParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: OutputParameter.h:48
Aws::SageMaker::Model::OutputParameter::WithName
OutputParameter & WithName(const Aws::String &value)
Definition: OutputParameter.h:68