AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ADMChannelResponse.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 ADMChannelResponse();
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 ADMChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline ADMChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline ADMChannelResponse& 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 ADMChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
66 inline ADMChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
67 inline ADMChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
69
71
74 inline bool GetEnabled() const{ return m_enabled; }
75 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
76 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
77 inline ADMChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
79
81
84 inline bool GetHasCredential() const{ return m_hasCredential; }
85 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
86 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
87 inline ADMChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
89
91
95 inline const Aws::String& GetId() const{ return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
98 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
99 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
100 inline ADMChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
101 inline ADMChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
102 inline ADMChannelResponse& WithId(const char* value) { SetId(value); return *this;}
104
106
109 inline bool GetIsArchived() const{ return m_isArchived; }
110 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
111 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
112 inline ADMChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
114
116
119 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
120 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
121 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
122 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
123 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
124 inline ADMChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
125 inline ADMChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
126 inline ADMChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
128
130
133 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
134 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
135 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
136 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
137 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
138 inline ADMChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
139 inline ADMChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
140 inline ADMChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
142
144
148 inline const Aws::String& GetPlatform() const{ return m_platform; }
149 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
150 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
151 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
152 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
153 inline ADMChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
154 inline ADMChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
155 inline ADMChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
157
159
162 inline int GetVersion() const{ return m_version; }
163 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
164 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
165 inline ADMChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
167 private:
168
169 Aws::String m_applicationId;
170 bool m_applicationIdHasBeenSet = false;
171
172 Aws::String m_creationDate;
173 bool m_creationDateHasBeenSet = false;
174
175 bool m_enabled;
176 bool m_enabledHasBeenSet = false;
177
178 bool m_hasCredential;
179 bool m_hasCredentialHasBeenSet = false;
180
181 Aws::String m_id;
182 bool m_idHasBeenSet = false;
183
184 bool m_isArchived;
185 bool m_isArchivedHasBeenSet = false;
186
187 Aws::String m_lastModifiedBy;
188 bool m_lastModifiedByHasBeenSet = false;
189
190 Aws::String m_lastModifiedDate;
191 bool m_lastModifiedDateHasBeenSet = false;
192
193 Aws::String m_platform;
194 bool m_platformHasBeenSet = false;
195
196 int m_version;
197 bool m_versionHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Pinpoint
202} // namespace Aws
void SetCreationDate(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPlatform(const Aws::String &value)
ADMChannelResponse & WithId(const Aws::String &value)
void SetLastModifiedBy(const Aws::String &value)
ADMChannelResponse & WithHasCredential(bool value)
ADMChannelResponse & WithApplicationId(const char *value)
ADMChannelResponse & WithLastModifiedBy(const Aws::String &value)
ADMChannelResponse & WithVersion(int value)
ADMChannelResponse & WithLastModifiedBy(Aws::String &&value)
ADMChannelResponse & WithLastModifiedDate(const char *value)
void SetApplicationId(const Aws::String &value)
ADMChannelResponse & WithPlatform(const char *value)
ADMChannelResponse & WithCreationDate(const Aws::String &value)
ADMChannelResponse & WithId(const char *value)
ADMChannelResponse & WithPlatform(Aws::String &&value)
ADMChannelResponse & WithPlatform(const Aws::String &value)
ADMChannelResponse & WithApplicationId(Aws::String &&value)
AWS_PINPOINT_API ADMChannelResponse(Aws::Utils::Json::JsonView jsonValue)
ADMChannelResponse & WithCreationDate(const char *value)
ADMChannelResponse & WithEnabled(bool value)
ADMChannelResponse & WithId(Aws::String &&value)
ADMChannelResponse & WithLastModifiedDate(const Aws::String &value)
void SetId(const Aws::String &value)
ADMChannelResponse & WithCreationDate(Aws::String &&value)
void SetLastModifiedDate(const Aws::String &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
ADMChannelResponse & WithApplicationId(const Aws::String &value)
ADMChannelResponse & WithLastModifiedDate(Aws::String &&value)
const Aws::String & GetLastModifiedDate() const
ADMChannelResponse & WithLastModifiedBy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue