AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GCMChannelResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_PINPOINT_API GCMChannelResponse() = default;
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
49 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 template<typename ApplicationIdT = Aws::String>
51 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
52 template<typename ApplicationIdT = Aws::String>
53 GCMChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
61 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
62 template<typename CreationDateT = Aws::String>
63 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
64 template<typename CreationDateT = Aws::String>
65 GCMChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
67
69
73 inline const Aws::String& GetCredential() const { return m_credential; }
74 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
75 template<typename CredentialT = Aws::String>
76 void SetCredential(CredentialT&& value) { m_credentialHasBeenSet = true; m_credential = std::forward<CredentialT>(value); }
77 template<typename CredentialT = Aws::String>
78 GCMChannelResponse& WithCredential(CredentialT&& value) { SetCredential(std::forward<CredentialT>(value)); return *this;}
80
82
86 inline const Aws::String& GetDefaultAuthenticationMethod() const { return m_defaultAuthenticationMethod; }
87 inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; }
88 template<typename DefaultAuthenticationMethodT = Aws::String>
89 void SetDefaultAuthenticationMethod(DefaultAuthenticationMethodT&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::forward<DefaultAuthenticationMethodT>(value); }
90 template<typename DefaultAuthenticationMethodT = Aws::String>
91 GCMChannelResponse& WithDefaultAuthenticationMethod(DefaultAuthenticationMethodT&& value) { SetDefaultAuthenticationMethod(std::forward<DefaultAuthenticationMethodT>(value)); return *this;}
93
95
98 inline bool GetEnabled() const { return m_enabled; }
99 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
100 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
101 inline GCMChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
103
105
108 inline bool GetHasCredential() const { return m_hasCredential; }
109 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
110 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
111 inline GCMChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
113
115
119 inline bool GetHasFcmServiceCredentials() const { return m_hasFcmServiceCredentials; }
120 inline bool HasFcmServiceCredentialsHasBeenSet() const { return m_hasFcmServiceCredentialsHasBeenSet; }
121 inline void SetHasFcmServiceCredentials(bool value) { m_hasFcmServiceCredentialsHasBeenSet = true; m_hasFcmServiceCredentials = value; }
124
126
130 inline const Aws::String& GetId() const { return m_id; }
131 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
132 template<typename IdT = Aws::String>
133 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
134 template<typename IdT = Aws::String>
135 GCMChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
137
139
142 inline bool GetIsArchived() const { return m_isArchived; }
143 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
144 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
145 inline GCMChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
147
149
152 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
153 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
154 template<typename LastModifiedByT = Aws::String>
155 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
156 template<typename LastModifiedByT = Aws::String>
157 GCMChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
159
161
164 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
165 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
166 template<typename LastModifiedDateT = Aws::String>
167 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
168 template<typename LastModifiedDateT = Aws::String>
169 GCMChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
171
173
177 inline const Aws::String& GetPlatform() const { return m_platform; }
178 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
179 template<typename PlatformT = Aws::String>
180 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
181 template<typename PlatformT = Aws::String>
182 GCMChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
184
186
189 inline int GetVersion() const { return m_version; }
190 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
191 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
192 inline GCMChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
194 private:
195
196 Aws::String m_applicationId;
197 bool m_applicationIdHasBeenSet = false;
198
199 Aws::String m_creationDate;
200 bool m_creationDateHasBeenSet = false;
201
202 Aws::String m_credential;
203 bool m_credentialHasBeenSet = false;
204
205 Aws::String m_defaultAuthenticationMethod;
206 bool m_defaultAuthenticationMethodHasBeenSet = false;
207
208 bool m_enabled{false};
209 bool m_enabledHasBeenSet = false;
210
211 bool m_hasCredential{false};
212 bool m_hasCredentialHasBeenSet = false;
213
214 bool m_hasFcmServiceCredentials{false};
215 bool m_hasFcmServiceCredentialsHasBeenSet = false;
216
217 Aws::String m_id;
218 bool m_idHasBeenSet = false;
219
220 bool m_isArchived{false};
221 bool m_isArchivedHasBeenSet = false;
222
223 Aws::String m_lastModifiedBy;
224 bool m_lastModifiedByHasBeenSet = false;
225
226 Aws::String m_lastModifiedDate;
227 bool m_lastModifiedDateHasBeenSet = false;
228
229 Aws::String m_platform;
230 bool m_platformHasBeenSet = false;
231
232 int m_version{0};
233 bool m_versionHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace Pinpoint
238} // namespace Aws
const Aws::String & GetLastModifiedBy() const
const Aws::String & GetApplicationId() const
const Aws::String & GetCredential() const
const Aws::String & GetLastModifiedDate() const
GCMChannelResponse & WithApplicationId(ApplicationIdT &&value)
void SetDefaultAuthenticationMethod(DefaultAuthenticationMethodT &&value)
GCMChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
GCMChannelResponse & WithEnabled(bool value)
GCMChannelResponse & WithCreationDate(CreationDateT &&value)
const Aws::String & GetCreationDate() const
void SetLastModifiedBy(LastModifiedByT &&value)
GCMChannelResponse & WithId(IdT &&value)
const Aws::String & GetDefaultAuthenticationMethod() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API GCMChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedDate(LastModifiedDateT &&value)
GCMChannelResponse & WithPlatform(PlatformT &&value)
AWS_PINPOINT_API GCMChannelResponse()=default
GCMChannelResponse & WithCredential(CredentialT &&value)
GCMChannelResponse & WithIsArchived(bool value)
GCMChannelResponse & WithHasCredential(bool value)
GCMChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
GCMChannelResponse & WithHasFcmServiceCredentials(bool value)
GCMChannelResponse & WithVersion(int value)
AWS_PINPOINT_API GCMChannelResponse(Aws::Utils::Json::JsonView jsonValue)
GCMChannelResponse & WithDefaultAuthenticationMethod(DefaultAuthenticationMethodT &&value)
void SetCreationDate(CreationDateT &&value)
void SetApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue