AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 BaiduChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
59 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
60 template<typename CreationDateT = Aws::String>
61 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
62 template<typename CreationDateT = Aws::String>
63 BaiduChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
65
67
71 inline const Aws::String& GetCredential() const { return m_credential; }
72 inline bool CredentialHasBeenSet() const { return m_credentialHasBeenSet; }
73 template<typename CredentialT = Aws::String>
74 void SetCredential(CredentialT&& value) { m_credentialHasBeenSet = true; m_credential = std::forward<CredentialT>(value); }
75 template<typename CredentialT = Aws::String>
76 BaiduChannelResponse& WithCredential(CredentialT&& value) { SetCredential(std::forward<CredentialT>(value)); return *this;}
78
80
83 inline bool GetEnabled() const { return m_enabled; }
84 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
85 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
86 inline BaiduChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
88
90
93 inline bool GetHasCredential() const { return m_hasCredential; }
94 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
95 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
96 inline BaiduChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
98
100
104 inline const Aws::String& GetId() const { return m_id; }
105 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
106 template<typename IdT = Aws::String>
107 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
108 template<typename IdT = Aws::String>
109 BaiduChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
111
113
116 inline bool GetIsArchived() const { return m_isArchived; }
117 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
118 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
119 inline BaiduChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
121
123
126 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
127 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
128 template<typename LastModifiedByT = Aws::String>
129 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
130 template<typename LastModifiedByT = Aws::String>
131 BaiduChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
133
135
138 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
139 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
140 template<typename LastModifiedDateT = Aws::String>
141 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
142 template<typename LastModifiedDateT = Aws::String>
143 BaiduChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
145
147
151 inline const Aws::String& GetPlatform() const { return m_platform; }
152 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
153 template<typename PlatformT = Aws::String>
154 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
155 template<typename PlatformT = Aws::String>
156 BaiduChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
158
160
163 inline int GetVersion() const { return m_version; }
164 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
165 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
166 inline BaiduChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
168 private:
169
170 Aws::String m_applicationId;
171 bool m_applicationIdHasBeenSet = false;
172
173 Aws::String m_creationDate;
174 bool m_creationDateHasBeenSet = false;
175
176 Aws::String m_credential;
177 bool m_credentialHasBeenSet = false;
178
179 bool m_enabled{false};
180 bool m_enabledHasBeenSet = false;
181
182 bool m_hasCredential{false};
183 bool m_hasCredentialHasBeenSet = false;
184
185 Aws::String m_id;
186 bool m_idHasBeenSet = false;
187
188 bool m_isArchived{false};
189 bool m_isArchivedHasBeenSet = false;
190
191 Aws::String m_lastModifiedBy;
192 bool m_lastModifiedByHasBeenSet = false;
193
194 Aws::String m_lastModifiedDate;
195 bool m_lastModifiedDateHasBeenSet = false;
196
197 Aws::String m_platform;
198 bool m_platformHasBeenSet = false;
199
200 int m_version{0};
201 bool m_versionHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace Pinpoint
206} // namespace Aws
BaiduChannelResponse & WithEnabled(bool value)
void SetLastModifiedDate(LastModifiedDateT &&value)
BaiduChannelResponse & WithVersion(int value)
BaiduChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
BaiduChannelResponse & WithApplicationId(ApplicationIdT &&value)
AWS_PINPOINT_API BaiduChannelResponse()=default
AWS_PINPOINT_API BaiduChannelResponse(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithHasCredential(bool value)
BaiduChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedBy(LastModifiedByT &&value)
BaiduChannelResponse & WithPlatform(PlatformT &&value)
AWS_PINPOINT_API BaiduChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelResponse & WithId(IdT &&value)
BaiduChannelResponse & WithCredential(CredentialT &&value)
BaiduChannelResponse & WithIsArchived(bool value)
BaiduChannelResponse & WithCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue