AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BrandSummary.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API BrandSummary() = default;
37 AWS_QUICKSIGHT_API BrandSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API BrandSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 BrandSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_brandIdHasBeenSet = true; m_brandId = std::forward<BrandIdT>(value); }
62 template<typename BrandIdT = Aws::String>
63 BrandSummary& WithBrandId(BrandIdT&& value) { SetBrandId(std::forward<BrandIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetBrandName() const { return m_brandName; }
71 inline bool BrandNameHasBeenSet() const { return m_brandNameHasBeenSet; }
72 template<typename BrandNameT = Aws::String>
73 void SetBrandName(BrandNameT&& value) { m_brandNameHasBeenSet = true; m_brandName = std::forward<BrandNameT>(value); }
74 template<typename BrandNameT = Aws::String>
75 BrandSummary& WithBrandName(BrandNameT&& value) { SetBrandName(std::forward<BrandNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 BrandSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
94 inline BrandStatus GetBrandStatus() const { return m_brandStatus; }
95 inline bool BrandStatusHasBeenSet() const { return m_brandStatusHasBeenSet; }
96 inline void SetBrandStatus(BrandStatus value) { m_brandStatusHasBeenSet = true; m_brandStatus = value; }
97 inline BrandSummary& WithBrandStatus(BrandStatus value) { SetBrandStatus(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
105 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
106 template<typename CreatedTimeT = Aws::Utils::DateTime>
107 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
108 template<typename CreatedTimeT = Aws::Utils::DateTime>
109 BrandSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
117 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
118 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
119 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
120 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
121 BrandSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::String m_brandId;
129 bool m_brandIdHasBeenSet = false;
130
131 Aws::String m_brandName;
132 bool m_brandNameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 BrandStatus m_brandStatus{BrandStatus::NOT_SET};
138 bool m_brandStatusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdTime{};
141 bool m_createdTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastUpdatedTime{};
144 bool m_lastUpdatedTimeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace QuickSight
149} // 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