AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
ADMChannelResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
29 public:
30 AWS_PINPOINT_API ADMChannelResponse() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
48 ADMChannelResponse& WithApplicationId(ApplicationIdT&& value) {
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
59 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
60 template <typename CreationDateT = Aws::String>
61 void SetCreationDate(CreationDateT&& value) {
62 m_creationDateHasBeenSet = true;
63 m_creationDate = std::forward<CreationDateT>(value);
64 }
65 template <typename CreationDateT = Aws::String>
66 ADMChannelResponse& WithCreationDate(CreationDateT&& value) {
67 SetCreationDate(std::forward<CreationDateT>(value));
68 return *this;
69 }
71
73
76 inline bool GetEnabled() const { return m_enabled; }
77 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
78 inline void SetEnabled(bool value) {
79 m_enabledHasBeenSet = true;
80 m_enabled = value;
81 }
82 inline ADMChannelResponse& WithEnabled(bool value) {
83 SetEnabled(value);
84 return *this;
85 }
87
89
92 inline bool GetHasCredential() const { return m_hasCredential; }
93 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
94 inline void SetHasCredential(bool value) {
95 m_hasCredentialHasBeenSet = true;
96 m_hasCredential = value;
97 }
99 SetHasCredential(value);
100 return *this;
101 }
103
105
109 inline const Aws::String& GetId() const { return m_id; }
110 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
111 template <typename IdT = Aws::String>
112 void SetId(IdT&& value) {
113 m_idHasBeenSet = true;
114 m_id = std::forward<IdT>(value);
115 }
116 template <typename IdT = Aws::String>
118 SetId(std::forward<IdT>(value));
119 return *this;
120 }
122
124
127 inline bool GetIsArchived() const { return m_isArchived; }
128 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
129 inline void SetIsArchived(bool value) {
130 m_isArchivedHasBeenSet = true;
131 m_isArchived = value;
132 }
133 inline ADMChannelResponse& WithIsArchived(bool value) {
134 SetIsArchived(value);
135 return *this;
136 }
138
140
143 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
144 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
145 template <typename LastModifiedByT = Aws::String>
146 void SetLastModifiedBy(LastModifiedByT&& value) {
147 m_lastModifiedByHasBeenSet = true;
148 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
149 }
150 template <typename LastModifiedByT = Aws::String>
151 ADMChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) {
152 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
153 return *this;
154 }
156
158
161 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
162 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
163 template <typename LastModifiedDateT = Aws::String>
164 void SetLastModifiedDate(LastModifiedDateT&& value) {
165 m_lastModifiedDateHasBeenSet = true;
166 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
167 }
168 template <typename LastModifiedDateT = Aws::String>
169 ADMChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) {
170 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::String& GetPlatform() const { return m_platform; }
181 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
182 template <typename PlatformT = Aws::String>
183 void SetPlatform(PlatformT&& value) {
184 m_platformHasBeenSet = true;
185 m_platform = std::forward<PlatformT>(value);
186 }
187 template <typename PlatformT = Aws::String>
188 ADMChannelResponse& WithPlatform(PlatformT&& value) {
189 SetPlatform(std::forward<PlatformT>(value));
190 return *this;
191 }
193
195
198 inline int GetVersion() const { return m_version; }
199 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
200 inline void SetVersion(int value) {
201 m_versionHasBeenSet = true;
202 m_version = value;
203 }
204 inline ADMChannelResponse& WithVersion(int value) {
205 SetVersion(value);
206 return *this;
207 }
209 private:
210 Aws::String m_applicationId;
211 bool m_applicationIdHasBeenSet = false;
212
213 Aws::String m_creationDate;
214 bool m_creationDateHasBeenSet = false;
215
216 bool m_enabled{false};
217 bool m_enabledHasBeenSet = false;
218
219 bool m_hasCredential{false};
220 bool m_hasCredentialHasBeenSet = false;
221
222 Aws::String m_id;
223 bool m_idHasBeenSet = false;
224
225 bool m_isArchived{false};
226 bool m_isArchivedHasBeenSet = false;
227
228 Aws::String m_lastModifiedBy;
229 bool m_lastModifiedByHasBeenSet = false;
230
231 Aws::String m_lastModifiedDate;
232 bool m_lastModifiedDateHasBeenSet = false;
233
234 Aws::String m_platform;
235 bool m_platformHasBeenSet = false;
236
237 int m_version{0};
238 bool m_versionHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace Pinpoint
243} // namespace Aws
ADMChannelResponse & WithId(IdT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ADMChannelResponse()=default
ADMChannelResponse & WithHasCredential(bool value)
ADMChannelResponse & WithVersion(int value)
ADMChannelResponse & WithPlatform(PlatformT &&value)
void SetApplicationId(ApplicationIdT &&value)
void SetCreationDate(CreationDateT &&value)
ADMChannelResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API ADMChannelResponse(Aws::Utils::Json::JsonView jsonValue)
ADMChannelResponse & WithEnabled(bool value)
ADMChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
ADMChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API ADMChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLastModifiedBy() const
const Aws::String & GetCreationDate() const
ADMChannelResponse & WithIsArchived(bool value)
const Aws::String & GetApplicationId() const
const Aws::String & GetLastModifiedDate() const
ADMChannelResponse & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue