AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterSetting.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
34 {
35 public:
40
41
46 inline const ClusterSettingName& GetName() const{ return m_name; }
47
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53
58 inline void SetName(const ClusterSettingName& value) { m_nameHasBeenSet = true; m_name = value; }
59
64 inline void SetName(ClusterSettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65
70 inline ClusterSetting& WithName(const ClusterSettingName& value) { SetName(value); return *this;}
71
76 inline ClusterSetting& WithName(ClusterSettingName&& value) { SetName(std::move(value)); return *this;}
77
78
88 inline const Aws::String& GetValue() const{ return m_value; }
89
99 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
100
110 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
111
121 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
122
132 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
133
143 inline ClusterSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;}
144
154 inline ClusterSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
155
165 inline ClusterSetting& WithValue(const char* value) { SetValue(value); return *this;}
166
167 private:
168
169 ClusterSettingName m_name;
170 bool m_nameHasBeenSet = false;
171
172 Aws::String m_value;
173 bool m_valueHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace ECS
178} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetValue(Aws::String &&value)
void SetValue(const Aws::String &value)
ClusterSetting & WithName(const ClusterSettingName &value)
const Aws::String & GetValue() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterSetting & WithName(ClusterSettingName &&value)
const ClusterSettingName & GetName() const
AWS_ECS_API ClusterSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterSetting & WithValue(const char *value)
void SetValue(const char *value)
ClusterSetting & WithValue(Aws::String &&value)
ClusterSetting & WithValue(const Aws::String &value)
void SetName(ClusterSettingName &&value)
AWS_ECS_API ClusterSetting(Aws::Utils::Json::JsonView jsonValue)
void SetName(const ClusterSettingName &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String