AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BrandDetail.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/BrandStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/BrandVersionStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/Logo.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_QUICKSIGHT_API BrandDetail() = default;
40 AWS_QUICKSIGHT_API BrandDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API BrandDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetBrandId() const { return m_brandId; }
50 inline bool BrandIdHasBeenSet() const { return m_brandIdHasBeenSet; }
51 template<typename BrandIdT = Aws::String>
52 void SetBrandId(BrandIdT&& value) { m_brandIdHasBeenSet = true; m_brandId = std::forward<BrandIdT>(value); }
53 template<typename BrandIdT = Aws::String>
54 BrandDetail& WithBrandId(BrandIdT&& value) { SetBrandId(std::forward<BrandIdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 BrandDetail& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
73 inline BrandStatus GetBrandStatus() const { return m_brandStatus; }
74 inline bool BrandStatusHasBeenSet() const { return m_brandStatusHasBeenSet; }
75 inline void SetBrandStatus(BrandStatus value) { m_brandStatusHasBeenSet = true; m_brandStatus = value; }
76 inline BrandDetail& WithBrandStatus(BrandStatus value) { SetBrandStatus(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
84 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
85 template<typename CreatedTimeT = Aws::Utils::DateTime>
86 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
87 template<typename CreatedTimeT = Aws::Utils::DateTime>
88 BrandDetail& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
96 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
97 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
98 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
99 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
100 BrandDetail& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
102
104
107 inline const Aws::String& GetVersionId() const { return m_versionId; }
108 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
109 template<typename VersionIdT = Aws::String>
110 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
111 template<typename VersionIdT = Aws::String>
112 BrandDetail& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
114
116
119 inline BrandVersionStatus GetVersionStatus() const { return m_versionStatus; }
120 inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; }
121 inline void SetVersionStatus(BrandVersionStatus value) { m_versionStatusHasBeenSet = true; m_versionStatus = value; }
122 inline BrandDetail& WithVersionStatus(BrandVersionStatus value) { SetVersionStatus(value); return *this;}
124
126
129 inline const Aws::Vector<Aws::String>& GetErrors() const { return m_errors; }
130 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
131 template<typename ErrorsT = Aws::Vector<Aws::String>>
132 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
133 template<typename ErrorsT = Aws::Vector<Aws::String>>
134 BrandDetail& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
135 template<typename ErrorsT = Aws::String>
136 BrandDetail& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
138
140
143 inline const Logo& GetLogo() const { return m_logo; }
144 inline bool LogoHasBeenSet() const { return m_logoHasBeenSet; }
145 template<typename LogoT = Logo>
146 void SetLogo(LogoT&& value) { m_logoHasBeenSet = true; m_logo = std::forward<LogoT>(value); }
147 template<typename LogoT = Logo>
148 BrandDetail& WithLogo(LogoT&& value) { SetLogo(std::forward<LogoT>(value)); return *this;}
150 private:
151
152 Aws::String m_brandId;
153 bool m_brandIdHasBeenSet = false;
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 BrandStatus m_brandStatus{BrandStatus::NOT_SET};
159 bool m_brandStatusHasBeenSet = false;
160
161 Aws::Utils::DateTime m_createdTime{};
162 bool m_createdTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_lastUpdatedTime{};
165 bool m_lastUpdatedTimeHasBeenSet = false;
166
167 Aws::String m_versionId;
168 bool m_versionIdHasBeenSet = false;
169
171 bool m_versionStatusHasBeenSet = false;
172
174 bool m_errorsHasBeenSet = false;
175
176 Logo m_logo;
177 bool m_logoHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace QuickSight
182} // namespace Aws
BrandDetail & WithCreatedTime(CreatedTimeT &&value)
Definition BrandDetail.h:88
BrandDetail & WithVersionId(VersionIdT &&value)
const Aws::String & GetArn() const
Definition BrandDetail.h:61
BrandDetail & WithBrandStatus(BrandStatus value)
Definition BrandDetail.h:76
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition BrandDetail.h:95
BrandStatus GetBrandStatus() const
Definition BrandDetail.h:73
BrandDetail & WithBrandId(BrandIdT &&value)
Definition BrandDetail.h:54
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:75
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:86
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition BrandDetail.h:98
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:83
const Aws::String & GetBrandId() const
Definition BrandDetail.h:49
BrandDetail & WithVersionStatus(BrandVersionStatus value)
void SetBrandId(BrandIdT &&value)
Definition BrandDetail.h:52
BrandDetail & WithArn(ArnT &&value)
Definition BrandDetail.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue