AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterSetting.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ClusterSettingName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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:
36 AWS_ECS_API ClusterSetting();
40
41
43
47 inline const ClusterSettingName& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const ClusterSettingName& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(ClusterSettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline ClusterSetting& WithName(const ClusterSettingName& value) { SetName(value); return *this;}
52 inline ClusterSetting& WithName(ClusterSettingName&& value) { SetName(std::move(value)); return *this;}
54
56
68 inline const Aws::String& GetValue() const{ return m_value; }
69 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
70 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
71 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
72 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
73 inline ClusterSetting& WithValue(const Aws::String& value) { SetValue(value); return *this;}
74 inline ClusterSetting& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
75 inline ClusterSetting& WithValue(const char* value) { SetValue(value); return *this;}
77 private:
78
79 ClusterSettingName m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::String m_value;
83 bool m_valueHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ECS
88} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue