AWS SDK for C++  1.9.73
AWS SDK for C++
SystemControl.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
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 ECS
22 {
23 namespace 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;
151 
152  Aws::String m_value;
153  bool m_valueHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace ECS
158 } // namespace Aws
Aws::ECS::Model::SystemControl::GetValue
const Aws::String & GetValue() const
Definition: SystemControl.h:103
Aws::ECS::Model::SystemControl::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: SystemControl.h:76
Aws::ECS::Model::SystemControl::SystemControl
SystemControl(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::SystemControl::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: SystemControl.h:71
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::SystemControl::GetNamespace
const Aws::String & GetNamespace() const
Definition: SystemControl.h:61
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::SystemControl::SetNamespace
void SetNamespace(const char *value)
Definition: SystemControl.h:81
Aws::ECS::Model::SystemControl::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::SystemControl
Definition: SystemControl.h:50
Aws::ECS::Model::SystemControl::WithNamespace
SystemControl & WithNamespace(Aws::String &&value)
Definition: SystemControl.h:91
Aws::ECS::Model::SystemControl::SetValue
void SetValue(const Aws::String &value)
Definition: SystemControl.h:115
Aws::ECS::Model::SystemControl::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: SystemControl.h:66
Aws::ECS::Model::SystemControl::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: SystemControl.h:109
Aws::ECS::Model::SystemControl::operator=
SystemControl & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::SystemControl::SetValue
void SetValue(Aws::String &&value)
Definition: SystemControl.h:121
Aws::ECS::Model::SystemControl::WithValue
SystemControl & WithValue(const Aws::String &value)
Definition: SystemControl.h:133
Aws::ECS::Model::SystemControl::WithNamespace
SystemControl & WithNamespace(const char *value)
Definition: SystemControl.h:96
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ECS::Model::SystemControl::WithValue
SystemControl & WithValue(Aws::String &&value)
Definition: SystemControl.h:139
Aws::ECS::Model::SystemControl::SystemControl
SystemControl()
Aws::ECS::Model::SystemControl::WithNamespace
SystemControl & WithNamespace(const Aws::String &value)
Definition: SystemControl.h:86
Aws::ECS::Model::SystemControl::WithValue
SystemControl & WithValue(const char *value)
Definition: SystemControl.h:145
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::SystemControl::SetValue
void SetValue(const char *value)
Definition: SystemControl.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ECS_EXPORTS.h