AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ServiceSetting.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 SSM
23{
24namespace Model
25{
26
47 {
48 public:
49 AWS_SSM_API ServiceSetting() = default;
53
54
56
59 inline const Aws::String& GetSettingId() const { return m_settingId; }
60 inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
61 template<typename SettingIdT = Aws::String>
62 void SetSettingId(SettingIdT&& value) { m_settingIdHasBeenSet = true; m_settingId = std::forward<SettingIdT>(value); }
63 template<typename SettingIdT = Aws::String>
64 ServiceSetting& WithSettingId(SettingIdT&& value) { SetSettingId(std::forward<SettingIdT>(value)); return *this;}
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) { m_settingValueHasBeenSet = true; m_settingValue = std::forward<SettingValueT>(value); }
75 template<typename SettingValueT = Aws::String>
76 ServiceSetting& WithSettingValue(SettingValueT&& value) { SetSettingValue(std::forward<SettingValueT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
84 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
85 template<typename LastModifiedDateT = Aws::Utils::DateTime>
86 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
87 template<typename LastModifiedDateT = Aws::Utils::DateTime>
88 ServiceSetting& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
90
92
96 inline const Aws::String& GetLastModifiedUser() const { return m_lastModifiedUser; }
97 inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; }
98 template<typename LastModifiedUserT = Aws::String>
99 void SetLastModifiedUser(LastModifiedUserT&& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = std::forward<LastModifiedUserT>(value); }
100 template<typename LastModifiedUserT = Aws::String>
101 ServiceSetting& WithLastModifiedUser(LastModifiedUserT&& value) { SetLastModifiedUser(std::forward<LastModifiedUserT>(value)); return *this;}
103
105
108 inline const Aws::String& GetARN() const { return m_aRN; }
109 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
110 template<typename ARNT = Aws::String>
111 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
112 template<typename ARNT = Aws::String>
113 ServiceSetting& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
115
117
125 inline const Aws::String& GetStatus() const { return m_status; }
126 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
127 template<typename StatusT = Aws::String>
128 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
129 template<typename StatusT = Aws::String>
130 ServiceSetting& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
132 private:
133
134 Aws::String m_settingId;
135 bool m_settingIdHasBeenSet = false;
136
137 Aws::String m_settingValue;
138 bool m_settingValueHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastModifiedDate{};
141 bool m_lastModifiedDateHasBeenSet = false;
142
143 Aws::String m_lastModifiedUser;
144 bool m_lastModifiedUserHasBeenSet = false;
145
146 Aws::String m_aRN;
147 bool m_aRNHasBeenSet = false;
148
149 Aws::String m_status;
150 bool m_statusHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace SSM
155} // 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