AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ProgramManagementAccountSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
10#include <aws/partnercentral-channel/model/Program.h>
11#include <aws/partnercentral-channel/model/ProgramManagementAccountStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralChannel {
23namespace Model {
24
32 public:
33 AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary() = default;
34 AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetRevision() const { return m_revision; }
61 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
62 template <typename RevisionT = Aws::String>
63 void SetRevision(RevisionT&& value) {
64 m_revisionHasBeenSet = true;
65 m_revision = std::forward<RevisionT>(value);
66 }
67 template <typename RevisionT = Aws::String>
69 SetRevision(std::forward<RevisionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetCatalog() const { return m_catalog; }
79 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
80 template <typename CatalogT = Aws::String>
81 void SetCatalog(CatalogT&& value) {
82 m_catalogHasBeenSet = true;
83 m_catalog = std::forward<CatalogT>(value);
84 }
85 template <typename CatalogT = Aws::String>
87 SetCatalog(std::forward<CatalogT>(value));
88 return *this;
89 }
91
93
96 inline Program GetProgram() const { return m_program; }
97 inline bool ProgramHasBeenSet() const { return m_programHasBeenSet; }
98 inline void SetProgram(Program value) {
99 m_programHasBeenSet = true;
100 m_program = value;
101 }
103 SetProgram(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetDisplayName() const { return m_displayName; }
113 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
114 template <typename DisplayNameT = Aws::String>
115 void SetDisplayName(DisplayNameT&& value) {
116 m_displayNameHasBeenSet = true;
117 m_displayName = std::forward<DisplayNameT>(value);
118 }
119 template <typename DisplayNameT = Aws::String>
121 SetDisplayName(std::forward<DisplayNameT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetAccountId() const { return m_accountId; }
131 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
132 template <typename AccountIdT = Aws::String>
133 void SetAccountId(AccountIdT&& value) {
134 m_accountIdHasBeenSet = true;
135 m_accountId = std::forward<AccountIdT>(value);
136 }
137 template <typename AccountIdT = Aws::String>
139 SetAccountId(std::forward<AccountIdT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetArn() const { return m_arn; }
149 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
150 template <typename ArnT = Aws::String>
151 void SetArn(ArnT&& value) {
152 m_arnHasBeenSet = true;
153 m_arn = std::forward<ArnT>(value);
154 }
155 template <typename ArnT = Aws::String>
157 SetArn(std::forward<ArnT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
167 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
169 void SetCreatedAt(CreatedAtT&& value) {
170 m_createdAtHasBeenSet = true;
171 m_createdAt = std::forward<CreatedAtT>(value);
172 }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
175 SetCreatedAt(std::forward<CreatedAtT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
185 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
186 template <typename UpdatedAtT = Aws::Utils::DateTime>
187 void SetUpdatedAt(UpdatedAtT&& value) {
188 m_updatedAtHasBeenSet = true;
189 m_updatedAt = std::forward<UpdatedAtT>(value);
190 }
191 template <typename UpdatedAtT = Aws::Utils::DateTime>
193 SetUpdatedAt(std::forward<UpdatedAtT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
203 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
204 template <typename StartDateT = Aws::Utils::DateTime>
205 void SetStartDate(StartDateT&& value) {
206 m_startDateHasBeenSet = true;
207 m_startDate = std::forward<StartDateT>(value);
208 }
209 template <typename StartDateT = Aws::Utils::DateTime>
211 SetStartDate(std::forward<StartDateT>(value));
212 return *this;
213 }
215
217
220 inline ProgramManagementAccountStatus GetStatus() const { return m_status; }
221 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
223 m_statusHasBeenSet = true;
224 m_status = value;
225 }
227 SetStatus(value);
228 return *this;
229 }
231 private:
232 Aws::String m_id;
233
234 Aws::String m_revision;
235
236 Aws::String m_catalog;
237
238 Program m_program{Program::NOT_SET};
239
240 Aws::String m_displayName;
241
242 Aws::String m_accountId;
243
244 Aws::String m_arn;
245
246 Aws::Utils::DateTime m_createdAt{};
247
248 Aws::Utils::DateTime m_updatedAt{};
249
250 Aws::Utils::DateTime m_startDate{};
251
253 bool m_idHasBeenSet = false;
254 bool m_revisionHasBeenSet = false;
255 bool m_catalogHasBeenSet = false;
256 bool m_programHasBeenSet = false;
257 bool m_displayNameHasBeenSet = false;
258 bool m_accountIdHasBeenSet = false;
259 bool m_arnHasBeenSet = false;
260 bool m_createdAtHasBeenSet = false;
261 bool m_updatedAtHasBeenSet = false;
262 bool m_startDateHasBeenSet = false;
263 bool m_statusHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace PartnerCentralChannel
268} // namespace Aws
AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary()=default
ProgramManagementAccountSummary & WithDisplayName(DisplayNameT &&value)
ProgramManagementAccountSummary & WithStatus(ProgramManagementAccountStatus value)
AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALCHANNEL_API ProgramManagementAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue