AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
APNSChannelResponse.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
33 {
34 public:
35 AWS_PINPOINT_API APNSChannelResponse();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline APNSChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline APNSChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline APNSChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
60 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
61 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
62 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
63 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
64 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
65 inline APNSChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
66 inline APNSChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
67 inline APNSChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
69
71
75 inline const Aws::String& GetDefaultAuthenticationMethod() const{ return m_defaultAuthenticationMethod; }
76 inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; }
77 inline void SetDefaultAuthenticationMethod(const Aws::String& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = value; }
78 inline void SetDefaultAuthenticationMethod(Aws::String&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::move(value); }
79 inline void SetDefaultAuthenticationMethod(const char* value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod.assign(value); }
84
86
89 inline bool GetEnabled() const{ return m_enabled; }
90 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
91 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
92 inline APNSChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
94
96
99 inline bool GetHasCredential() const{ return m_hasCredential; }
100 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
101 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
102 inline APNSChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
104
106
111 inline bool GetHasTokenKey() const{ return m_hasTokenKey; }
112 inline bool HasTokenKeyHasBeenSet() const { return m_hasTokenKeyHasBeenSet; }
113 inline void SetHasTokenKey(bool value) { m_hasTokenKeyHasBeenSet = true; m_hasTokenKey = value; }
114 inline APNSChannelResponse& WithHasTokenKey(bool value) { SetHasTokenKey(value); return *this;}
116
118
122 inline const Aws::String& GetId() const{ return m_id; }
123 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
124 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
125 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
126 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
127 inline APNSChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
128 inline APNSChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
129 inline APNSChannelResponse& WithId(const char* value) { SetId(value); return *this;}
131
133
136 inline bool GetIsArchived() const{ return m_isArchived; }
137 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
138 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
139 inline APNSChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
141
143
146 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
147 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
148 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
149 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
150 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
151 inline APNSChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
152 inline APNSChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
153 inline APNSChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
155
157
160 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
161 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
162 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
163 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
164 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
165 inline APNSChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
166 inline APNSChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
167 inline APNSChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
169
171
175 inline const Aws::String& GetPlatform() const{ return m_platform; }
176 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
177 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
178 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
179 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
180 inline APNSChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
181 inline APNSChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
182 inline APNSChannelResponse& WithPlatform(const char* value) { SetPlatform(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 APNSChannelResponse& 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_defaultAuthenticationMethod;
203 bool m_defaultAuthenticationMethodHasBeenSet = false;
204
205 bool m_enabled;
206 bool m_enabledHasBeenSet = false;
207
208 bool m_hasCredential;
209 bool m_hasCredentialHasBeenSet = false;
210
211 bool m_hasTokenKey;
212 bool m_hasTokenKeyHasBeenSet = false;
213
214 Aws::String m_id;
215 bool m_idHasBeenSet = false;
216
217 bool m_isArchived;
218 bool m_isArchivedHasBeenSet = false;
219
220 Aws::String m_lastModifiedBy;
221 bool m_lastModifiedByHasBeenSet = false;
222
223 Aws::String m_lastModifiedDate;
224 bool m_lastModifiedDateHasBeenSet = false;
225
226 Aws::String m_platform;
227 bool m_platformHasBeenSet = false;
228
229 int m_version;
230 bool m_versionHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace Pinpoint
235} // namespace Aws
void SetLastModifiedDate(const Aws::String &value)
APNSChannelResponse & WithCreationDate(const char *value)
void SetPlatform(const Aws::String &value)
void SetDefaultAuthenticationMethod(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
APNSChannelResponse & WithApplicationId(Aws::String &&value)
APNSChannelResponse & WithCreationDate(Aws::String &&value)
APNSChannelResponse & WithDefaultAuthenticationMethod(Aws::String &&value)
APNSChannelResponse & WithHasTokenKey(bool value)
APNSChannelResponse & WithIsArchived(bool value)
APNSChannelResponse & WithLastModifiedDate(Aws::String &&value)
AWS_PINPOINT_API APNSChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
APNSChannelResponse & WithId(Aws::String &&value)
APNSChannelResponse & WithPlatform(Aws::String &&value)
APNSChannelResponse & WithLastModifiedBy(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
APNSChannelResponse & WithId(const char *value)
APNSChannelResponse & WithLastModifiedDate(const char *value)
APNSChannelResponse & WithId(const Aws::String &value)
APNSChannelResponse & WithEnabled(bool value)
APNSChannelResponse & WithDefaultAuthenticationMethod(const char *value)
void SetLastModifiedBy(const Aws::String &value)
APNSChannelResponse & WithPlatform(const char *value)
const Aws::String & GetLastModifiedDate() const
const Aws::String & GetDefaultAuthenticationMethod() const
void SetApplicationId(const Aws::String &value)
void SetDefaultAuthenticationMethod(Aws::String &&value)
AWS_PINPOINT_API APNSChannelResponse(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultAuthenticationMethod(const Aws::String &value)
APNSChannelResponse & WithPlatform(const Aws::String &value)
APNSChannelResponse & WithLastModifiedBy(const char *value)
APNSChannelResponse & WithApplicationId(const Aws::String &value)
APNSChannelResponse & WithApplicationId(const char *value)
APNSChannelResponse & WithLastModifiedBy(Aws::String &&value)
APNSChannelResponse & WithLastModifiedDate(const Aws::String &value)
APNSChannelResponse & WithVersion(int value)
APNSChannelResponse & WithHasCredential(bool value)
APNSChannelResponse & WithCreationDate(const Aws::String &value)
APNSChannelResponse & WithDefaultAuthenticationMethod(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue