AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = 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 ADMChannelResponse& 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 ADMChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
65
67
70 inline bool GetEnabled() const { return m_enabled; }
71 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
72 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
73 inline ADMChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
75
77
80 inline bool GetHasCredential() const { return m_hasCredential; }
81 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
82 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
83 inline ADMChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
85
87
91 inline const Aws::String& GetId() const { return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 ADMChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
103 inline bool GetIsArchived() const { return m_isArchived; }
104 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
105 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
106 inline ADMChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
108
110
113 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
114 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
115 template<typename LastModifiedByT = Aws::String>
116 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
117 template<typename LastModifiedByT = Aws::String>
118 ADMChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
120
122
125 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
126 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
127 template<typename LastModifiedDateT = Aws::String>
128 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
129 template<typename LastModifiedDateT = Aws::String>
130 ADMChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
132
134
138 inline const Aws::String& GetPlatform() const { return m_platform; }
139 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
140 template<typename PlatformT = Aws::String>
141 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
142 template<typename PlatformT = Aws::String>
143 ADMChannelResponse& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
145
147
150 inline int GetVersion() const { return m_version; }
151 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
152 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
153 inline ADMChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
155 private:
156
157 Aws::String m_applicationId;
158 bool m_applicationIdHasBeenSet = false;
159
160 Aws::String m_creationDate;
161 bool m_creationDateHasBeenSet = false;
162
163 bool m_enabled{false};
164 bool m_enabledHasBeenSet = false;
165
166 bool m_hasCredential{false};
167 bool m_hasCredentialHasBeenSet = false;
168
169 Aws::String m_id;
170 bool m_idHasBeenSet = false;
171
172 bool m_isArchived{false};
173 bool m_isArchivedHasBeenSet = false;
174
175 Aws::String m_lastModifiedBy;
176 bool m_lastModifiedByHasBeenSet = false;
177
178 Aws::String m_lastModifiedDate;
179 bool m_lastModifiedDateHasBeenSet = false;
180
181 Aws::String m_platform;
182 bool m_platformHasBeenSet = false;
183
184 int m_version{0};
185 bool m_versionHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Pinpoint
190} // namespace Aws
ADMChannelResponse & WithId(IdT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ADMChannelResponse()=default
ADMChannelResponse & WithHasCredential(bool value)
ADMChannelResponse & WithVersion(int value)
ADMChannelResponse & WithPlatform(PlatformT &&value)
void SetApplicationId(ApplicationIdT &&value)
void SetCreationDate(CreationDateT &&value)
ADMChannelResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API ADMChannelResponse(Aws::Utils::Json::JsonView jsonValue)
ADMChannelResponse & WithEnabled(bool value)
ADMChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
ADMChannelResponse & WithLastModifiedDate(LastModifiedDateT &&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
const Aws::String & GetLastModifiedDate() const
ADMChannelResponse & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue