AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BaiduChannelResponse.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 BaiduChannelResponse();
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 BaiduChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline BaiduChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline BaiduChannelResponse& 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 BaiduChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
66 inline BaiduChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
67 inline BaiduChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
69
71
75 inline const Aws::String& GetCredential() const{ return m_credential; }
76 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
77 inline void SetCredential(const Aws::String& value) { m_credentialHasBeenSet = true; m_credential = value; }
78 inline void SetCredential(Aws::String&& value) { m_credentialHasBeenSet = true; m_credential = std::move(value); }
79 inline void SetCredential(const char* value) { m_credentialHasBeenSet = true; m_credential.assign(value); }
80 inline BaiduChannelResponse& WithCredential(const Aws::String& value) { SetCredential(value); return *this;}
81 inline BaiduChannelResponse& WithCredential(Aws::String&& value) { SetCredential(std::move(value)); return *this;}
82 inline BaiduChannelResponse& WithCredential(const char* value) { SetCredential(value); return *this;}
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 BaiduChannelResponse& 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 BaiduChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
104
106
110 inline const Aws::String& GetId() const{ return m_id; }
111 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
112 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
113 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
114 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
115 inline BaiduChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
116 inline BaiduChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
117 inline BaiduChannelResponse& WithId(const char* value) { SetId(value); return *this;}
119
121
124 inline bool GetIsArchived() const{ return m_isArchived; }
125 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
126 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
127 inline BaiduChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
129
131
134 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
135 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
136 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
137 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
138 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
139 inline BaiduChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
140 inline BaiduChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
141 inline BaiduChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
143
145
148 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
149 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
150 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
151 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
152 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
153 inline BaiduChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
154 inline BaiduChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
155 inline BaiduChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
157
159
163 inline const Aws::String& GetPlatform() const{ return m_platform; }
164 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
165 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
166 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
167 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
168 inline BaiduChannelResponse& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
169 inline BaiduChannelResponse& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
170 inline BaiduChannelResponse& WithPlatform(const char* value) { SetPlatform(value); return *this;}
172
174
177 inline int GetVersion() const{ return m_version; }
178 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
179 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
180 inline BaiduChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
182 private:
183
184 Aws::String m_applicationId;
185 bool m_applicationIdHasBeenSet = false;
186
187 Aws::String m_creationDate;
188 bool m_creationDateHasBeenSet = false;
189
190 Aws::String m_credential;
191 bool m_credentialHasBeenSet = false;
192
193 bool m_enabled;
194 bool m_enabledHasBeenSet = false;
195
196 bool m_hasCredential;
197 bool m_hasCredentialHasBeenSet = false;
198
199 Aws::String m_id;
200 bool m_idHasBeenSet = false;
201
202 bool m_isArchived;
203 bool m_isArchivedHasBeenSet = false;
204
205 Aws::String m_lastModifiedBy;
206 bool m_lastModifiedByHasBeenSet = false;
207
208 Aws::String m_lastModifiedDate;
209 bool m_lastModifiedDateHasBeenSet = false;
210
211 Aws::String m_platform;
212 bool m_platformHasBeenSet = false;
213
214 int m_version;
215 bool m_versionHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace Pinpoint
220} // namespace Aws
BaiduChannelResponse & WithEnabled(bool value)
BaiduChannelResponse & WithCredential(const Aws::String &value)
void SetLastModifiedBy(const Aws::String &value)
BaiduChannelResponse & WithVersion(int value)
void SetCredential(const Aws::String &value)
BaiduChannelResponse & WithLastModifiedDate(const Aws::String &value)
BaiduChannelResponse & WithId(const Aws::String &value)
void SetLastModifiedDate(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
BaiduChannelResponse & WithLastModifiedBy(const Aws::String &value)
AWS_PINPOINT_API BaiduChannelResponse(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithHasCredential(bool value)
BaiduChannelResponse & WithPlatform(const Aws::String &value)
BaiduChannelResponse & WithId(const char *value)
BaiduChannelResponse & WithApplicationId(const char *value)
BaiduChannelResponse & WithId(Aws::String &&value)
BaiduChannelResponse & WithLastModifiedDate(const char *value)
BaiduChannelResponse & WithPlatform(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
BaiduChannelResponse & WithLastModifiedBy(const char *value)
AWS_PINPOINT_API BaiduChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithApplicationId(const Aws::String &value)
BaiduChannelResponse & WithCredential(Aws::String &&value)
BaiduChannelResponse & WithCreationDate(Aws::String &&value)
BaiduChannelResponse & WithCreationDate(const char *value)
BaiduChannelResponse & WithLastModifiedBy(Aws::String &&value)
BaiduChannelResponse & WithCredential(const char *value)
BaiduChannelResponse & WithApplicationId(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
BaiduChannelResponse & WithIsArchived(bool value)
BaiduChannelResponse & WithPlatform(Aws::String &&value)
BaiduChannelResponse & WithCreationDate(const Aws::String &value)
BaiduChannelResponse & WithLastModifiedDate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue