AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ChannelResponse.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 ChannelResponse() = default;
36 AWS_PINPOINT_API ChannelResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 template<typename ApplicationIdT = Aws::String>
48 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
49 template<typename ApplicationIdT = Aws::String>
50 ChannelResponse& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
58 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
59 template<typename CreationDateT = Aws::String>
60 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
61 template<typename CreationDateT = Aws::String>
62 ChannelResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
64
66
69 inline bool GetEnabled() const { return m_enabled; }
70 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
71 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
72 inline ChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
74
76
79 inline bool GetHasCredential() const { return m_hasCredential; }
80 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
81 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
82 inline ChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
84
86
90 inline const Aws::String& GetId() const { return m_id; }
91 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
92 template<typename IdT = Aws::String>
93 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
94 template<typename IdT = Aws::String>
95 ChannelResponse& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
97
99
102 inline bool GetIsArchived() const { return m_isArchived; }
103 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
104 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
105 inline ChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
107
109
112 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
113 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
114 template<typename LastModifiedByT = Aws::String>
115 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
116 template<typename LastModifiedByT = Aws::String>
117 ChannelResponse& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
119
121
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 ChannelResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
132
134
137 inline int GetVersion() const { return m_version; }
138 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
139 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
140 inline ChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
142 private:
143
144 Aws::String m_applicationId;
145 bool m_applicationIdHasBeenSet = false;
146
147 Aws::String m_creationDate;
148 bool m_creationDateHasBeenSet = false;
149
150 bool m_enabled{false};
151 bool m_enabledHasBeenSet = false;
152
153 bool m_hasCredential{false};
154 bool m_hasCredentialHasBeenSet = false;
155
156 Aws::String m_id;
157 bool m_idHasBeenSet = false;
158
159 bool m_isArchived{false};
160 bool m_isArchivedHasBeenSet = false;
161
162 Aws::String m_lastModifiedBy;
163 bool m_lastModifiedByHasBeenSet = false;
164
165 Aws::String m_lastModifiedDate;
166 bool m_lastModifiedDateHasBeenSet = false;
167
168 int m_version{0};
169 bool m_versionHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace Pinpoint
174} // namespace Aws
void SetLastModifiedDate(LastModifiedDateT &&value)
ChannelResponse & WithVersion(int value)
void SetCreationDate(CreationDateT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ChannelResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetApplicationId() const
const Aws::String & GetCreationDate() const
AWS_PINPOINT_API ChannelResponse(Aws::Utils::Json::JsonView jsonValue)
void SetApplicationId(ApplicationIdT &&value)
ChannelResponse & WithHasCredential(bool value)
ChannelResponse & WithEnabled(bool value)
const Aws::String & GetId() const
ChannelResponse & WithLastModifiedBy(LastModifiedByT &&value)
const Aws::String & GetLastModifiedDate() const
ChannelResponse & WithLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
AWS_PINPOINT_API ChannelResponse()=default
ChannelResponse & WithCreationDate(CreationDateT &&value)
ChannelResponse & WithId(IdT &&value)
const Aws::String & GetLastModifiedBy() const
ChannelResponse & WithIsArchived(bool value)
ChannelResponse & WithApplicationId(ApplicationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue