AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentParameter.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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 SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API EnvironmentParameter();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetKey() const{ return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline EnvironmentParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline EnvironmentParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline EnvironmentParameter& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline const Aws::String& GetValueType() const{ return m_valueType; }
61 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
62 inline void SetValueType(const Aws::String& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
63 inline void SetValueType(Aws::String&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
64 inline void SetValueType(const char* value) { m_valueTypeHasBeenSet = true; m_valueType.assign(value); }
65 inline EnvironmentParameter& WithValueType(const Aws::String& value) { SetValueType(value); return *this;}
66 inline EnvironmentParameter& WithValueType(Aws::String&& value) { SetValueType(std::move(value)); return *this;}
67 inline EnvironmentParameter& WithValueType(const char* value) { SetValueType(value); return *this;}
69
71
74 inline const Aws::String& GetValue() const{ return m_value; }
75 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
76 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
77 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
78 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
79 inline EnvironmentParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
80 inline EnvironmentParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
81 inline EnvironmentParameter& WithValue(const char* value) { SetValue(value); return *this;}
83 private:
84
85 Aws::String m_key;
86 bool m_keyHasBeenSet = false;
87
88 Aws::String m_valueType;
89 bool m_valueTypeHasBeenSet = false;
90
91 Aws::String m_value;
92 bool m_valueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SageMaker
97} // namespace Aws
EnvironmentParameter & WithKey(const Aws::String &value)
EnvironmentParameter & WithKey(const char *value)
EnvironmentParameter & WithValue(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentParameter & WithValue(const Aws::String &value)
EnvironmentParameter & WithValue(Aws::String &&value)
AWS_SAGEMAKER_API EnvironmentParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EnvironmentParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentParameter & WithValueType(const char *value)
EnvironmentParameter & WithValueType(Aws::String &&value)
EnvironmentParameter & WithKey(Aws::String &&value)
EnvironmentParameter & WithValueType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue