AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SystemControl.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
54 public:
55 AWS_ECS_API SystemControl() = default;
59
61
64 inline const Aws::String& GetNamespace() const { return m_namespace; }
65 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
66 template <typename NamespaceT = Aws::String>
67 void SetNamespace(NamespaceT&& value) {
68 m_namespaceHasBeenSet = true;
69 m_namespace = std::forward<NamespaceT>(value);
70 }
71 template <typename NamespaceT = Aws::String>
72 SystemControl& WithNamespace(NamespaceT&& value) {
73 SetNamespace(std::forward<NamespaceT>(value));
74 return *this;
75 }
77
79
89 inline const Aws::String& GetValue() const { return m_value; }
90 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
91 template <typename ValueT = Aws::String>
92 void SetValue(ValueT&& value) {
93 m_valueHasBeenSet = true;
94 m_value = std::forward<ValueT>(value);
95 }
96 template <typename ValueT = Aws::String>
97 SystemControl& WithValue(ValueT&& value) {
98 SetValue(std::forward<ValueT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_namespace;
104
105 Aws::String m_value;
106 bool m_namespaceHasBeenSet = false;
107 bool m_valueHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ECS
112} // namespace Aws
SystemControl & WithNamespace(NamespaceT &&value)
const Aws::String & GetValue() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNamespace() const
void SetNamespace(NamespaceT &&value)
AWS_ECS_API SystemControl(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API SystemControl()=default
AWS_ECS_API SystemControl & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
SystemControl & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue