AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
51 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
52 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
53 inline GCMChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
54 inline GCMChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
55 inline GCMChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
57
59
62 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
63 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
64 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
65 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
66 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
67 inline GCMChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
68 inline GCMChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
69 inline GCMChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
71
73
77 inline const Aws::String& GetCredential() const{ return m_credential; }
78 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
79 inline void SetCredential(const Aws::String& value) { m_credentialHasBeenSet = true; m_credential = value; }
80 inline void SetCredential(Aws::String&& value) { m_credentialHasBeenSet = true; m_credential = std::move(value); }
81 inline void SetCredential(const char* value) { m_credentialHasBeenSet = true; m_credential.assign(value); }
82 inline GCMChannelResponse& WithCredential(const Aws::String& value) { SetCredential(value); return *this;}
83 inline GCMChannelResponse& WithCredential(Aws::String&& value) { SetCredential(std::move(value)); return *this;}
84 inline GCMChannelResponse& WithCredential(const char* value) { SetCredential(value); return *this;}
86
88
92 inline const Aws::String& GetDefaultAuthenticationMethod() const{ return m_defaultAuthenticationMethod; }
93 inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; }
94 inline void SetDefaultAuthenticationMethod(const Aws::String& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = value; }
95 inline void SetDefaultAuthenticationMethod(Aws::String&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::move(value); }
96 inline void SetDefaultAuthenticationMethod(const char* value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod.assign(value); }
99 inline GCMChannelResponse& WithDefaultAuthenticationMethod(const char* value) { SetDefaultAuthenticationMethod(value); return *this;}
101
103
106 inline bool GetEnabled() const{ return m_enabled; }
107 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
108 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
109 inline GCMChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
111
113
116 inline bool GetHasCredential() const{ return m_hasCredential; }
117 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
118 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
119 inline GCMChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
121
123
127 inline bool GetHasFcmServiceCredentials() const{ return m_hasFcmServiceCredentials; }
128 inline bool HasFcmServiceCredentialsHasBeenSet() const { return m_hasFcmServiceCredentialsHasBeenSet; }
129 inline void SetHasFcmServiceCredentials(bool value) { m_hasFcmServiceCredentialsHasBeenSet = true; m_hasFcmServiceCredentials = value; }
132
134
138 inline const Aws::String& GetId() const{ return m_id; }
139 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
140 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
141 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
142 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
143 inline GCMChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
144 inline GCMChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
145 inline GCMChannelResponse& WithId(const char* value) { SetId(value); return *this;}
147
149
152 inline bool GetIsArchived() const{ return m_isArchived; }
153 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
154 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
155 inline GCMChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
157
159
162 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
163 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
164 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
165 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
166 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
167 inline GCMChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
168 inline GCMChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
169 inline GCMChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
171
173
176 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
177 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
178 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
179 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
180 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
181 inline GCMChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
182 inline GCMChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
183 inline GCMChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
185
187
191 inline const Aws::String& GetPlatform() const{ return m_platform; }
192 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
193 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
194 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
195 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
196 inline GCMChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
197 inline GCMChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
198 inline GCMChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
200
202
205 inline int GetVersion() const{ return m_version; }
206 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
207 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
208 inline GCMChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
210 private:
211
212 Aws::String m_applicationId;
213 bool m_applicationIdHasBeenSet = false;
214
215 Aws::String m_creationDate;
216 bool m_creationDateHasBeenSet = false;
217
218 Aws::String m_credential;
219 bool m_credentialHasBeenSet = false;
220
221 Aws::String m_defaultAuthenticationMethod;
222 bool m_defaultAuthenticationMethodHasBeenSet = false;
223
224 bool m_enabled;
225 bool m_enabledHasBeenSet = false;
226
227 bool m_hasCredential;
228 bool m_hasCredentialHasBeenSet = false;
229
230 bool m_hasFcmServiceCredentials;
231 bool m_hasFcmServiceCredentialsHasBeenSet = false;
232
233 Aws::String m_id;
234 bool m_idHasBeenSet = false;
235
236 bool m_isArchived;
237 bool m_isArchivedHasBeenSet = false;
238
239 Aws::String m_lastModifiedBy;
240 bool m_lastModifiedByHasBeenSet = false;
241
242 Aws::String m_lastModifiedDate;
243 bool m_lastModifiedDateHasBeenSet = false;
244
245 Aws::String m_platform;
246 bool m_platformHasBeenSet = false;
247
248 int m_version;
249 bool m_versionHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace Pinpoint
254} // namespace Aws
const Aws::String & GetLastModifiedBy() const
const Aws::String & GetApplicationId() const
void SetDefaultAuthenticationMethod(Aws::String &&value)
const Aws::String & GetCredential() const
void SetDefaultAuthenticationMethod(const char *value)
GCMChannelResponse & WithCredential(const Aws::String &value)
GCMChannelResponse & WithId(const char *value)
const Aws::String & GetLastModifiedDate() const
GCMChannelResponse & WithCreationDate(const Aws::String &value)
GCMChannelResponse & WithEnabled(bool value)
GCMChannelResponse & WithPlatform(const char *value)
const Aws::String & GetCreationDate() const
void SetApplicationId(const Aws::String &value)
void SetCredential(const Aws::String &value)
const Aws::String & GetDefaultAuthenticationMethod() const
GCMChannelResponse & WithCreationDate(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API GCMChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
GCMChannelResponse & WithLastModifiedDate(Aws::String &&value)
GCMChannelResponse & WithLastModifiedDate(const Aws::String &value)
GCMChannelResponse & WithId(const Aws::String &value)
GCMChannelResponse & WithApplicationId(const char *value)
GCMChannelResponse & WithCredential(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
GCMChannelResponse & WithCredential(const char *value)
GCMChannelResponse & WithLastModifiedBy(const char *value)
GCMChannelResponse & WithDefaultAuthenticationMethod(const char *value)
GCMChannelResponse & WithDefaultAuthenticationMethod(const Aws::String &value)
GCMChannelResponse & WithIsArchived(bool value)
void SetLastModifiedDate(const Aws::String &value)
GCMChannelResponse & WithApplicationId(Aws::String &&value)
GCMChannelResponse & WithCreationDate(Aws::String &&value)
GCMChannelResponse & WithPlatform(Aws::String &&value)
GCMChannelResponse & WithLastModifiedBy(Aws::String &&value)
GCMChannelResponse & WithLastModifiedBy(const Aws::String &value)
GCMChannelResponse & WithHasCredential(bool value)
GCMChannelResponse & WithDefaultAuthenticationMethod(Aws::String &&value)
GCMChannelResponse & WithHasFcmServiceCredentials(bool value)
GCMChannelResponse & WithVersion(int value)
GCMChannelResponse & WithApplicationId(const Aws::String &value)
AWS_PINPOINT_API GCMChannelResponse(Aws::Utils::Json::JsonView jsonValue)
GCMChannelResponse & WithId(Aws::String &&value)
void SetPlatform(const Aws::String &value)
GCMChannelResponse & WithPlatform(const Aws::String &value)
void SetDefaultAuthenticationMethod(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
GCMChannelResponse & WithLastModifiedDate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue