AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
53
54
56
59 inline const Aws::String& GetSettingId() const{ return m_settingId; }
60 inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
61 inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
62 inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
63 inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
64 inline ServiceSetting& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
65 inline ServiceSetting& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
66 inline ServiceSetting& WithSettingId(const char* value) { SetSettingId(value); return *this;}
68
70
73 inline const Aws::String& GetSettingValue() const{ return m_settingValue; }
74 inline bool SettingValueHasBeenSet() const { return m_settingValueHasBeenSet; }
75 inline void SetSettingValue(const Aws::String& value) { m_settingValueHasBeenSet = true; m_settingValue = value; }
76 inline void SetSettingValue(Aws::String&& value) { m_settingValueHasBeenSet = true; m_settingValue = std::move(value); }
77 inline void SetSettingValue(const char* value) { m_settingValueHasBeenSet = true; m_settingValue.assign(value); }
78 inline ServiceSetting& WithSettingValue(const Aws::String& value) { SetSettingValue(value); return *this;}
79 inline ServiceSetting& WithSettingValue(Aws::String&& value) { SetSettingValue(std::move(value)); return *this;}
80 inline ServiceSetting& WithSettingValue(const char* value) { SetSettingValue(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
88 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
89 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
90 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
91 inline ServiceSetting& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
92 inline ServiceSetting& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetLastModifiedUser() const{ return m_lastModifiedUser; }
101 inline bool LastModifiedUserHasBeenSet() const { return m_lastModifiedUserHasBeenSet; }
102 inline void SetLastModifiedUser(const Aws::String& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = value; }
103 inline void SetLastModifiedUser(Aws::String&& value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser = std::move(value); }
104 inline void SetLastModifiedUser(const char* value) { m_lastModifiedUserHasBeenSet = true; m_lastModifiedUser.assign(value); }
105 inline ServiceSetting& WithLastModifiedUser(const Aws::String& value) { SetLastModifiedUser(value); return *this;}
106 inline ServiceSetting& WithLastModifiedUser(Aws::String&& value) { SetLastModifiedUser(std::move(value)); return *this;}
107 inline ServiceSetting& WithLastModifiedUser(const char* value) { SetLastModifiedUser(value); return *this;}
109
111
114 inline const Aws::String& GetARN() const{ return m_aRN; }
115 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
116 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
117 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
118 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
119 inline ServiceSetting& WithARN(const Aws::String& value) { SetARN(value); return *this;}
120 inline ServiceSetting& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
121 inline ServiceSetting& WithARN(const char* value) { SetARN(value); return *this;}
123
125
133 inline const Aws::String& GetStatus() const{ return m_status; }
134 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
136 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
137 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
138 inline ServiceSetting& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
139 inline ServiceSetting& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
140 inline ServiceSetting& WithStatus(const char* value) { SetStatus(value); return *this;}
142 private:
143
144 Aws::String m_settingId;
145 bool m_settingIdHasBeenSet = false;
146
147 Aws::String m_settingValue;
148 bool m_settingValueHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedDate;
151 bool m_lastModifiedDateHasBeenSet = false;
152
153 Aws::String m_lastModifiedUser;
154 bool m_lastModifiedUserHasBeenSet = false;
155
156 Aws::String m_aRN;
157 bool m_aRNHasBeenSet = false;
158
159 Aws::String m_status;
160 bool m_statusHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace SSM
165} // namespace Aws
AWS_SSM_API ServiceSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSetting & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetSettingId(const char *value)
ServiceSetting & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSettingId() const
ServiceSetting & WithSettingValue(const char *value)
const Aws::String & GetLastModifiedUser() const
void SetStatus(Aws::String &&value)
ServiceSetting & WithARN(Aws::String &&value)
void SetLastModifiedUser(const char *value)
void SetSettingId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetARN(const Aws::String &value)
void SetSettingValue(const Aws::String &value)
ServiceSetting & WithARN(const Aws::String &value)
ServiceSetting & WithLastModifiedUser(const Aws::String &value)
void SetSettingValue(Aws::String &&value)
ServiceSetting & WithStatus(const char *value)
ServiceSetting & WithSettingId(const Aws::String &value)
void SetLastModifiedUser(const Aws::String &value)
void SetLastModifiedUser(Aws::String &&value)
void SetSettingValue(const char *value)
ServiceSetting & WithLastModifiedUser(const char *value)
ServiceSetting & WithARN(const char *value)
void SetARN(const char *value)
ServiceSetting & WithSettingId(Aws::String &&value)
ServiceSetting & WithSettingId(const char *value)
const Aws::String & GetARN() const
const Aws::String & GetStatus() const
ServiceSetting & WithLastModifiedUser(Aws::String &&value)
void SetStatus(const char *value)
void SetARN(Aws::String &&value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
ServiceSetting & WithStatus(Aws::String &&value)
ServiceSetting & WithStatus(const Aws::String &value)
void SetStatus(const Aws::String &value)
ServiceSetting & WithSettingValue(const Aws::String &value)
const Aws::String & GetSettingValue() const
AWS_SSM_API ServiceSetting(Aws::Utils::Json::JsonView jsonValue)
ServiceSetting & WithSettingValue(Aws::String &&value)
void SetSettingId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue