AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ServiceSetting.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
43 public:
44 AWS_SSM_API ServiceSetting() = default;
48
50
53 inline const Aws::String& GetSettingId() const { return m_settingId; }
54 inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
55 template <typename SettingIdT = Aws::String>
56 void SetSettingId(SettingIdT&& value) {
57 m_settingIdHasBeenSet = true;
58 m_settingId = std::forward<SettingIdT>(value);
59 }
60 template <typename SettingIdT = Aws::String>
61 ServiceSetting& WithSettingId(SettingIdT&& value) {
62 SetSettingId(std::forward<SettingIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSettingValue() const { return m_settingValue; }
72 inline bool SettingValueHasBeenSet() const { return m_settingValueHasBeenSet; }
73 template <typename SettingValueT = Aws::String>
74 void SetSettingValue(SettingValueT&& value) {
75 m_settingValueHasBeenSet = true;
76 m_settingValue = std::forward<SettingValueT>(value);
77 }
78 template <typename SettingValueT = Aws::String>
79 ServiceSetting& WithSettingValue(SettingValueT&& value) {
80 SetSettingValue(std::forward<SettingValueT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
90 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
91 template <typename LastModifiedDateT = Aws::Utils::DateTime>
92 void SetLastModifiedDate(LastModifiedDateT&& value) {
93 m_lastModifiedDateHasBeenSet = true;
94 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
95 }
96 template <typename LastModifiedDateT = Aws::Utils::DateTime>
97 ServiceSetting& WithLastModifiedDate(LastModifiedDateT&& value) {
98 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetLastModifiedUser() const { return m_lastModifiedUser; }
109 inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; }
110 template <typename LastModifiedUserT = Aws::String>
111 void SetLastModifiedUser(LastModifiedUserT&& value) {
112 m_lastModifiedUserHasBeenSet = true;
113 m_lastModifiedUser = std::forward<LastModifiedUserT>(value);
114 }
115 template <typename LastModifiedUserT = Aws::String>
116 ServiceSetting& WithLastModifiedUser(LastModifiedUserT&& value) {
117 SetLastModifiedUser(std::forward<LastModifiedUserT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetARN() const { return m_aRN; }
127 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
128 template <typename ARNT = Aws::String>
129 void SetARN(ARNT&& value) {
130 m_aRNHasBeenSet = true;
131 m_aRN = std::forward<ARNT>(value);
132 }
133 template <typename ARNT = Aws::String>
134 ServiceSetting& WithARN(ARNT&& value) {
135 SetARN(std::forward<ARNT>(value));
136 return *this;
137 }
139
141
149 inline const Aws::String& GetStatus() const { return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
151 template <typename StatusT = Aws::String>
152 void SetStatus(StatusT&& value) {
153 m_statusHasBeenSet = true;
154 m_status = std::forward<StatusT>(value);
155 }
156 template <typename StatusT = Aws::String>
157 ServiceSetting& WithStatus(StatusT&& value) {
158 SetStatus(std::forward<StatusT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_settingId;
164
165 Aws::String m_settingValue;
166
167 Aws::Utils::DateTime m_lastModifiedDate{};
168
169 Aws::String m_lastModifiedUser;
170
171 Aws::String m_aRN;
172
173 Aws::String m_status;
174 bool m_settingIdHasBeenSet = false;
175 bool m_settingValueHasBeenSet = false;
176 bool m_lastModifiedDateHasBeenSet = false;
177 bool m_lastModifiedUserHasBeenSet = false;
178 bool m_aRNHasBeenSet = false;
179 bool m_statusHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace SSM
184} // namespace Aws
AWS_SSM_API ServiceSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSettingId(SettingIdT &&value)
ServiceSetting & WithSettingValue(SettingValueT &&value)
ServiceSetting & WithLastModifiedUser(LastModifiedUserT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSettingId() const
const Aws::String & GetLastModifiedUser() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetLastModifiedUser(LastModifiedUserT &&value)
ServiceSetting & WithLastModifiedDate(LastModifiedDateT &&value)
ServiceSetting & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
AWS_SSM_API ServiceSetting()=default
void SetSettingValue(SettingValueT &&value)
ServiceSetting & WithARN(ARNT &&value)
const Aws::String & GetARN() const
const Aws::String & GetStatus() const
ServiceSetting & WithSettingId(SettingIdT &&value)
const Aws::String & GetSettingValue() const
AWS_SSM_API ServiceSetting(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue