AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
48 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
49 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
50 inline ChannelResponse& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
51 inline ChannelResponse& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
52 inline ChannelResponse& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
54
56
59 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
60 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
61 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
62 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
63 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
64 inline ChannelResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
65 inline ChannelResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
66 inline ChannelResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
68
70
73 inline bool GetEnabled() const{ return m_enabled; }
74 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
75 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
76 inline ChannelResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
78
80
83 inline bool GetHasCredential() const{ return m_hasCredential; }
84 inline bool HasCredentialHasBeenSet() const { return m_hasCredentialHasBeenSet; }
85 inline void SetHasCredential(bool value) { m_hasCredentialHasBeenSet = true; m_hasCredential = value; }
86 inline ChannelResponse& WithHasCredential(bool value) { SetHasCredential(value); return *this;}
88
90
94 inline const Aws::String& GetId() const{ return m_id; }
95 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
96 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
97 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
98 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
99 inline ChannelResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
100 inline ChannelResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
101 inline ChannelResponse& WithId(const char* value) { SetId(value); return *this;}
103
105
108 inline bool GetIsArchived() const{ return m_isArchived; }
109 inline bool IsArchivedHasBeenSet() const { return m_isArchivedHasBeenSet; }
110 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
111 inline ChannelResponse& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
113
115
118 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
119 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
120 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
121 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
122 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
123 inline ChannelResponse& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
124 inline ChannelResponse& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
125 inline ChannelResponse& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
127
129
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 ChannelResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
139 inline ChannelResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
140 inline ChannelResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
142
144
147 inline int GetVersion() const{ return m_version; }
148 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
149 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
150 inline ChannelResponse& WithVersion(int value) { SetVersion(value); return *this;}
152 private:
153
154 Aws::String m_applicationId;
155 bool m_applicationIdHasBeenSet = false;
156
157 Aws::String m_creationDate;
158 bool m_creationDateHasBeenSet = false;
159
160 bool m_enabled;
161 bool m_enabledHasBeenSet = false;
162
163 bool m_hasCredential;
164 bool m_hasCredentialHasBeenSet = false;
165
166 Aws::String m_id;
167 bool m_idHasBeenSet = false;
168
169 bool m_isArchived;
170 bool m_isArchivedHasBeenSet = false;
171
172 Aws::String m_lastModifiedBy;
173 bool m_lastModifiedByHasBeenSet = false;
174
175 Aws::String m_lastModifiedDate;
176 bool m_lastModifiedDateHasBeenSet = false;
177
178 int m_version;
179 bool m_versionHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace Pinpoint
184} // namespace Aws
void SetId(const Aws::String &value)
ChannelResponse & WithVersion(int value)
ChannelResponse & WithApplicationId(const char *value)
ChannelResponse & WithLastModifiedDate(const char *value)
void SetApplicationId(const char *value)
void SetCreationDate(const Aws::String &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 SetLastModifiedDate(Aws::String &&value)
void SetApplicationId(Aws::String &&value)
void SetLastModifiedDate(const char *value)
ChannelResponse & WithLastModifiedBy(const char *value)
ChannelResponse & WithLastModifiedBy(const Aws::String &value)
ChannelResponse & WithCreationDate(const Aws::String &value)
void SetLastModifiedBy(const Aws::String &value)
ChannelResponse & WithCreationDate(Aws::String &&value)
ChannelResponse & WithHasCredential(bool value)
ChannelResponse & WithEnabled(bool value)
void SetApplicationId(const Aws::String &value)
void SetLastModifiedBy(const char *value)
ChannelResponse & WithApplicationId(const Aws::String &value)
ChannelResponse & WithLastModifiedDate(const Aws::String &value)
ChannelResponse & WithLastModifiedBy(Aws::String &&value)
void SetCreationDate(const char *value)
ChannelResponse & WithLastModifiedDate(Aws::String &&value)
const Aws::String & GetId() const
ChannelResponse & WithId(const char *value)
ChannelResponse & WithCreationDate(const char *value)
void SetLastModifiedDate(const Aws::String &value)
ChannelResponse & WithId(const Aws::String &value)
ChannelResponse & WithId(Aws::String &&value)
void SetLastModifiedBy(Aws::String &&value)
const Aws::String & GetLastModifiedDate() const
const Aws::String & GetLastModifiedBy() const
ChannelResponse & WithIsArchived(bool value)
void SetCreationDate(Aws::String &&value)
ChannelResponse & WithApplicationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue