AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ThemeSummary.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API ThemeSummary() = default;
31 AWS_QUICKSIGHT_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API ThemeSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 ThemeSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 ThemeSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetThemeId() const { return m_themeId; }
77 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
78 template <typename ThemeIdT = Aws::String>
79 void SetThemeId(ThemeIdT&& value) {
80 m_themeIdHasBeenSet = true;
81 m_themeId = std::forward<ThemeIdT>(value);
82 }
83 template <typename ThemeIdT = Aws::String>
84 ThemeSummary& WithThemeId(ThemeIdT&& value) {
85 SetThemeId(std::forward<ThemeIdT>(value));
86 return *this;
87 }
89
91
94 inline long long GetLatestVersionNumber() const { return m_latestVersionNumber; }
95 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
96 inline void SetLatestVersionNumber(long long value) {
97 m_latestVersionNumberHasBeenSet = true;
98 m_latestVersionNumber = value;
99 }
100 inline ThemeSummary& WithLatestVersionNumber(long long value) {
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
111 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
112 template <typename CreatedTimeT = Aws::Utils::DateTime>
113 void SetCreatedTime(CreatedTimeT&& value) {
114 m_createdTimeHasBeenSet = true;
115 m_createdTime = std::forward<CreatedTimeT>(value);
116 }
117 template <typename CreatedTimeT = Aws::Utils::DateTime>
118 ThemeSummary& WithCreatedTime(CreatedTimeT&& value) {
119 SetCreatedTime(std::forward<CreatedTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
129 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
130 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
131 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
132 m_lastUpdatedTimeHasBeenSet = true;
133 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
134 }
135 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
136 ThemeSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
137 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_arn;
143
144 Aws::String m_name;
145
146 Aws::String m_themeId;
147
148 long long m_latestVersionNumber{0};
149
150 Aws::Utils::DateTime m_createdTime{};
151
152 Aws::Utils::DateTime m_lastUpdatedTime{};
153 bool m_arnHasBeenSet = false;
154 bool m_nameHasBeenSet = false;
155 bool m_themeIdHasBeenSet = false;
156 bool m_latestVersionNumberHasBeenSet = false;
157 bool m_createdTimeHasBeenSet = false;
158 bool m_lastUpdatedTimeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace QuickSight
163} // namespace Aws
ThemeSummary & WithArn(ArnT &&value)
ThemeSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ThemeSummary & WithLatestVersionNumber(long long value)
ThemeSummary & WithThemeId(ThemeIdT &&value)
AWS_QUICKSIGHT_API ThemeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThemeId(ThemeIdT &&value)
ThemeSummary & WithCreatedTime(CreatedTimeT &&value)
void SetLatestVersionNumber(long long value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetArn() const
const Aws::String & GetThemeId() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_QUICKSIGHT_API ThemeSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ThemeSummary & WithName(NameT &&value)
AWS_QUICKSIGHT_API ThemeSummary()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue