AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
BrandDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/BrandStatus.h>
12#include <aws/quicksight/model/BrandVersionStatus.h>
13#include <aws/quicksight/model/Logo.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
33 public:
34 AWS_QUICKSIGHT_API BrandDetail() = default;
35 AWS_QUICKSIGHT_API BrandDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API BrandDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetBrandId() const { return m_brandId; }
44 inline bool BrandIdHasBeenSet() const { return m_brandIdHasBeenSet; }
45 template <typename BrandIdT = Aws::String>
46 void SetBrandId(BrandIdT&& value) {
47 m_brandIdHasBeenSet = true;
48 m_brandId = std::forward<BrandIdT>(value);
49 }
50 template <typename BrandIdT = Aws::String>
51 BrandDetail& WithBrandId(BrandIdT&& value) {
52 SetBrandId(std::forward<BrandIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
69 BrandDetail& WithArn(ArnT&& value) {
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
79 inline BrandStatus GetBrandStatus() const { return m_brandStatus; }
80 inline bool BrandStatusHasBeenSet() const { return m_brandStatusHasBeenSet; }
81 inline void SetBrandStatus(BrandStatus value) {
82 m_brandStatusHasBeenSet = true;
83 m_brandStatus = value;
84 }
86 SetBrandStatus(value);
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
96 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
97 template <typename CreatedTimeT = Aws::Utils::DateTime>
98 void SetCreatedTime(CreatedTimeT&& value) {
99 m_createdTimeHasBeenSet = true;
100 m_createdTime = std::forward<CreatedTimeT>(value);
101 }
102 template <typename CreatedTimeT = Aws::Utils::DateTime>
103 BrandDetail& WithCreatedTime(CreatedTimeT&& value) {
104 SetCreatedTime(std::forward<CreatedTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
114 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
115 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
116 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
117 m_lastUpdatedTimeHasBeenSet = true;
118 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
119 }
120 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
121 BrandDetail& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
122 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetVersionId() const { return m_versionId; }
132 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
133 template <typename VersionIdT = Aws::String>
134 void SetVersionId(VersionIdT&& value) {
135 m_versionIdHasBeenSet = true;
136 m_versionId = std::forward<VersionIdT>(value);
137 }
138 template <typename VersionIdT = Aws::String>
139 BrandDetail& WithVersionId(VersionIdT&& value) {
140 SetVersionId(std::forward<VersionIdT>(value));
141 return *this;
142 }
144
146
149 inline BrandVersionStatus GetVersionStatus() const { return m_versionStatus; }
150 inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; }
152 m_versionStatusHasBeenSet = true;
153 m_versionStatus = value;
154 }
156 SetVersionStatus(value);
157 return *this;
158 }
160
162
165 inline const Aws::Vector<Aws::String>& GetErrors() const { return m_errors; }
166 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
167 template <typename ErrorsT = Aws::Vector<Aws::String>>
168 void SetErrors(ErrorsT&& value) {
169 m_errorsHasBeenSet = true;
170 m_errors = std::forward<ErrorsT>(value);
171 }
172 template <typename ErrorsT = Aws::Vector<Aws::String>>
173 BrandDetail& WithErrors(ErrorsT&& value) {
174 SetErrors(std::forward<ErrorsT>(value));
175 return *this;
176 }
177 template <typename ErrorsT = Aws::String>
178 BrandDetail& AddErrors(ErrorsT&& value) {
179 m_errorsHasBeenSet = true;
180 m_errors.emplace_back(std::forward<ErrorsT>(value));
181 return *this;
182 }
184
186
189 inline const Logo& GetLogo() const { return m_logo; }
190 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
191 template <typename LogoT = Logo>
192 void SetLogo(LogoT&& value) {
193 m_logoHasBeenSet = true;
194 m_logo = std::forward<LogoT>(value);
195 }
196 template <typename LogoT = Logo>
197 BrandDetail& WithLogo(LogoT&& value) {
198 SetLogo(std::forward<LogoT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_brandId;
204
205 Aws::String m_arn;
206
207 BrandStatus m_brandStatus{BrandStatus::NOT_SET};
208
209 Aws::Utils::DateTime m_createdTime{};
210
211 Aws::Utils::DateTime m_lastUpdatedTime{};
212
213 Aws::String m_versionId;
214
216
218
219 Logo m_logo;
220 bool m_brandIdHasBeenSet = false;
221 bool m_arnHasBeenSet = false;
222 bool m_brandStatusHasBeenSet = false;
223 bool m_createdTimeHasBeenSet = false;
224 bool m_lastUpdatedTimeHasBeenSet = false;
225 bool m_versionIdHasBeenSet = false;
226 bool m_versionStatusHasBeenSet = false;
227 bool m_errorsHasBeenSet = false;
228 bool m_logoHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace QuickSight
233} // namespace Aws
BrandDetail & WithCreatedTime(CreatedTimeT &&value)
BrandDetail & WithVersionId(VersionIdT &&value)
const Aws::String & GetArn() const
Definition BrandDetail.h:61
BrandDetail & WithBrandStatus(BrandStatus value)
Definition BrandDetail.h:85
const Aws::Utils::DateTime & GetLastUpdatedTime() const
BrandStatus GetBrandStatus() const
Definition BrandDetail.h:79
BrandDetail & WithBrandId(BrandIdT &&value)
Definition BrandDetail.h:51
BrandVersionStatus GetVersionStatus() const
const Aws::String & GetVersionId() const
void SetErrors(ErrorsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersionStatus(BrandVersionStatus value)
void SetBrandStatus(BrandStatus value)
Definition BrandDetail.h:81
BrandDetail & WithLogo(LogoT &&value)
AWS_QUICKSIGHT_API BrandDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API BrandDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
BrandDetail & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
Definition BrandDetail.h:98
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetVersionId(VersionIdT &&value)
AWS_QUICKSIGHT_API BrandDetail()=default
BrandDetail & AddErrors(ErrorsT &&value)
BrandDetail & WithErrors(ErrorsT &&value)
const Aws::Vector< Aws::String > & GetErrors() const
const Aws::Utils::DateTime & GetCreatedTime() const
Definition BrandDetail.h:95
const Aws::String & GetBrandId() const
Definition BrandDetail.h:43
BrandDetail & WithVersionStatus(BrandVersionStatus value)
void SetBrandId(BrandIdT &&value)
Definition BrandDetail.h:46
BrandDetail & WithArn(ArnT &&value)
Definition BrandDetail.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue