AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
SystemControl.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 ECS
22{
23namespace Model
24{
25
50 {
51 public:
56
57
61 inline const Aws::String& GetNamespace() const{ return m_namespace; }
62
66 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
67
71 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
72
76 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
77
81 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
82
86 inline SystemControl& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
87
91 inline SystemControl& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
92
96 inline SystemControl& WithNamespace(const char* value) { SetNamespace(value); return *this;}
97
98
103 inline const Aws::String& GetValue() const{ return m_value; }
104
109 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
110
115 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
116
121 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
122
127 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
128
133 inline SystemControl& WithValue(const Aws::String& value) { SetValue(value); return *this;}
134
139 inline SystemControl& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
140
145 inline SystemControl& WithValue(const char* value) { SetValue(value); return *this;}
146
147 private:
148
149 Aws::String m_namespace;
150 bool m_namespaceHasBeenSet = false;
151
152 Aws::String m_value;
153 bool m_valueHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace ECS
158} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
SystemControl & WithValue(const Aws::String &value)
const Aws::String & GetValue() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNamespace() const
Definition: SystemControl.h:61
SystemControl & WithNamespace(const Aws::String &value)
Definition: SystemControl.h:86
void SetValue(const Aws::String &value)
AWS_ECS_API SystemControl(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const char *value)
Definition: SystemControl.h:81
void SetNamespace(Aws::String &&value)
Definition: SystemControl.h:76
SystemControl & WithValue(Aws::String &&value)
SystemControl & WithNamespace(Aws::String &&value)
Definition: SystemControl.h:91
void SetValue(const char *value)
void SetValue(Aws::String &&value)
SystemControl & WithNamespace(const char *value)
Definition: SystemControl.h:96
SystemControl & WithValue(const char *value)
AWS_ECS_API SystemControl & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const Aws::String &value)
Definition: SystemControl.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String