AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ThemeVersionSummary.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/ResourceStatus.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 ThemeVersionSummary() = default;
32 AWS_QUICKSIGHT_API ThemeVersionSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline long long GetVersionNumber() const { return m_versionNumber; }
41 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
42 inline void SetVersionNumber(long long value) {
43 m_versionNumberHasBeenSet = true;
44 m_versionNumber = value;
45 }
46 inline ThemeVersionSummary& WithVersionNumber(long long value) {
47 SetVersionNumber(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 ThemeVersionSummary& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
93 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
94 template <typename CreatedTimeT = Aws::Utils::DateTime>
95 void SetCreatedTime(CreatedTimeT&& value) {
96 m_createdTimeHasBeenSet = true;
97 m_createdTime = std::forward<CreatedTimeT>(value);
98 }
99 template <typename CreatedTimeT = Aws::Utils::DateTime>
100 ThemeVersionSummary& WithCreatedTime(CreatedTimeT&& value) {
101 SetCreatedTime(std::forward<CreatedTimeT>(value));
102 return *this;
103 }
105
107
110 inline ResourceStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(ResourceStatus value) {
113 m_statusHasBeenSet = true;
114 m_status = value;
115 }
117 SetStatus(value);
118 return *this;
119 }
121 private:
122 long long m_versionNumber{0};
123
124 Aws::String m_arn;
125
126 Aws::String m_description;
127
128 Aws::Utils::DateTime m_createdTime{};
129
131 bool m_versionNumberHasBeenSet = false;
132 bool m_arnHasBeenSet = false;
133 bool m_descriptionHasBeenSet = false;
134 bool m_createdTimeHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_QUICKSIGHT_API ThemeVersionSummary()=default
AWS_QUICKSIGHT_API ThemeVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ThemeVersionSummary & WithVersionNumber(long long value)
ThemeVersionSummary & WithStatus(ResourceStatus value)
ThemeVersionSummary & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API ThemeVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ThemeVersionSummary & WithCreatedTime(CreatedTimeT &&value)
ThemeVersionSummary & WithDescription(DescriptionT &&value)
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