AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
BrandSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/BrandStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API BrandSummary() = default;
32 AWS_QUICKSIGHT_API BrandSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API BrandSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 BrandSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBrandId() const { return m_brandId; }
59 inline bool BrandIdHasBeenSet() const { return m_brandIdHasBeenSet; }
60 template <typename BrandIdT = Aws::String>
61 void SetBrandId(BrandIdT&& value) {
62 m_brandIdHasBeenSet = true;
63 m_brandId = std::forward<BrandIdT>(value);
64 }
65 template <typename BrandIdT = Aws::String>
66 BrandSummary& WithBrandId(BrandIdT&& value) {
67 SetBrandId(std::forward<BrandIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetBrandName() const { return m_brandName; }
77 inline bool BrandNameHasBeenSet() const { return m_brandNameHasBeenSet; }
78 template <typename BrandNameT = Aws::String>
79 void SetBrandName(BrandNameT&& value) {
80 m_brandNameHasBeenSet = true;
81 m_brandName = std::forward<BrandNameT>(value);
82 }
83 template <typename BrandNameT = Aws::String>
84 BrandSummary& WithBrandName(BrandNameT&& value) {
85 SetBrandName(std::forward<BrandNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 BrandSummary& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline BrandStatus GetBrandStatus() const { return m_brandStatus; }
113 inline bool BrandStatusHasBeenSet() const { return m_brandStatusHasBeenSet; }
114 inline void SetBrandStatus(BrandStatus value) {
115 m_brandStatusHasBeenSet = true;
116 m_brandStatus = value;
117 }
119 SetBrandStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
129 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
130 template <typename CreatedTimeT = Aws::Utils::DateTime>
131 void SetCreatedTime(CreatedTimeT&& value) {
132 m_createdTimeHasBeenSet = true;
133 m_createdTime = std::forward<CreatedTimeT>(value);
134 }
135 template <typename CreatedTimeT = Aws::Utils::DateTime>
136 BrandSummary& WithCreatedTime(CreatedTimeT&& value) {
137 SetCreatedTime(std::forward<CreatedTimeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
147 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
148 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
149 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
150 m_lastUpdatedTimeHasBeenSet = true;
151 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
152 }
153 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
154 BrandSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
155 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_arn;
161
162 Aws::String m_brandId;
163
164 Aws::String m_brandName;
165
166 Aws::String m_description;
167
168 BrandStatus m_brandStatus{BrandStatus::NOT_SET};
169
170 Aws::Utils::DateTime m_createdTime{};
171
172 Aws::Utils::DateTime m_lastUpdatedTime{};
173 bool m_arnHasBeenSet = false;
174 bool m_brandIdHasBeenSet = false;
175 bool m_brandNameHasBeenSet = false;
176 bool m_descriptionHasBeenSet = false;
177 bool m_brandStatusHasBeenSet = false;
178 bool m_createdTimeHasBeenSet = false;
179 bool m_lastUpdatedTimeHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace QuickSight
184} // namespace Aws
void SetBrandStatus(BrandStatus value)
const Aws::String & GetBrandName() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetBrandId() const
BrandSummary & WithBrandName(BrandNameT &&value)
AWS_QUICKSIGHT_API BrandSummary()=default
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BrandSummary & WithCreatedTime(CreatedTimeT &&value)
BrandSummary & WithDescription(DescriptionT &&value)
BrandSummary & WithBrandStatus(BrandStatus value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
BrandSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
BrandSummary & WithBrandId(BrandIdT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetBrandId(BrandIdT &&value)
BrandSummary & WithArn(ArnT &&value)
void SetBrandName(BrandNameT &&value)
void SetDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API BrandSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API BrandSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue