AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
SageMakerPipelineParameter.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Scheduler
22{
23namespace Model
24{
25
33 {
34 public:
39
40
45 inline const Aws::String& GetName() const{ return m_name; }
46
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70
75 inline SageMakerPipelineParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
76
81 inline SageMakerPipelineParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82
87 inline SageMakerPipelineParameter& WithName(const char* value) { SetName(value); return *this;}
88
89
94 inline const Aws::String& GetValue() const{ return m_value; }
95
100 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
101
106 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
107
112 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
113
118 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
119
124 inline SageMakerPipelineParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
125
130 inline SageMakerPipelineParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
131
136 inline SageMakerPipelineParameter& WithValue(const char* value) { SetValue(value); return *this;}
137
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_value;
144 bool m_valueHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Scheduler
149} // namespace Aws
#define AWS_SCHEDULER_API
SageMakerPipelineParameter & WithName(const Aws::String &value)
AWS_SCHEDULER_API SageMakerPipelineParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEDULER_API SageMakerPipelineParameter(Aws::Utils::Json::JsonView jsonValue)
SageMakerPipelineParameter & WithValue(const Aws::String &value)
SageMakerPipelineParameter & WithName(const char *value)
SageMakerPipelineParameter & WithValue(const char *value)
SageMakerPipelineParameter & WithName(Aws::String &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
SageMakerPipelineParameter & WithValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String