AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SystemControl.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
58 {
59 public:
60 AWS_ECS_API SystemControl();
64
65
67
70 inline const Aws::String& GetNamespace() const{ return m_namespace; }
71 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
72 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
73 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
74 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
75 inline SystemControl& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
76 inline SystemControl& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
77 inline SystemControl& WithNamespace(const char* value) { SetNamespace(value); return *this;}
79
81
90 inline const Aws::String& GetValue() const{ return m_value; }
91 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
92 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
93 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
94 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
95 inline SystemControl& WithValue(const Aws::String& value) { SetValue(value); return *this;}
96 inline SystemControl& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
97 inline SystemControl& WithValue(const char* value) { SetValue(value); return *this;}
99 private:
100
101 Aws::String m_namespace;
102 bool m_namespaceHasBeenSet = false;
103
104 Aws::String m_value;
105 bool m_valueHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ECS
110} // namespace Aws
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
SystemControl & WithNamespace(const Aws::String &value)
void SetValue(const Aws::String &value)
AWS_ECS_API SystemControl(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const char *value)
void SetNamespace(Aws::String &&value)
SystemControl & WithValue(Aws::String &&value)
SystemControl & WithNamespace(Aws::String &&value)
void SetValue(const char *value)
void SetValue(Aws::String &&value)
SystemControl & WithNamespace(const char *value)
SystemControl & WithValue(const char *value)
AWS_ECS_API SystemControl & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue