AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DashboardVersionSummary.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 DashboardVersionSummary() = default;
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>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
59 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
60 template <typename CreatedTimeT = Aws::Utils::DateTime>
61 void SetCreatedTime(CreatedTimeT&& value) {
62 m_createdTimeHasBeenSet = true;
63 m_createdTime = std::forward<CreatedTimeT>(value);
64 }
65 template <typename CreatedTimeT = Aws::Utils::DateTime>
67 SetCreatedTime(std::forward<CreatedTimeT>(value));
68 return *this;
69 }
71
73
76 inline long long GetVersionNumber() const { return m_versionNumber; }
77 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
78 inline void SetVersionNumber(long long value) {
79 m_versionNumberHasBeenSet = true;
80 m_versionNumber = value;
81 }
82 inline DashboardVersionSummary& WithVersionNumber(long long value) {
83 SetVersionNumber(value);
84 return *this;
85 }
87
89
92 inline ResourceStatus GetStatus() const { return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(ResourceStatus value) {
95 m_statusHasBeenSet = true;
96 m_status = value;
97 }
99 SetStatus(value);
100 return *this;
101 }
103
105
108 inline const Aws::String& GetSourceEntityArn() const { return m_sourceEntityArn; }
109 inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; }
110 template <typename SourceEntityArnT = Aws::String>
111 void SetSourceEntityArn(SourceEntityArnT&& value) {
112 m_sourceEntityArnHasBeenSet = true;
113 m_sourceEntityArn = std::forward<SourceEntityArnT>(value);
114 }
115 template <typename SourceEntityArnT = Aws::String>
116 DashboardVersionSummary& WithSourceEntityArn(SourceEntityArnT&& value) {
117 SetSourceEntityArn(std::forward<SourceEntityArnT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::String& GetDescription() const { return m_description; }
127 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 template <typename DescriptionT = Aws::String>
129 void SetDescription(DescriptionT&& value) {
130 m_descriptionHasBeenSet = true;
131 m_description = std::forward<DescriptionT>(value);
132 }
133 template <typename DescriptionT = Aws::String>
135 SetDescription(std::forward<DescriptionT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_arn;
141
142 Aws::Utils::DateTime m_createdTime{};
143
144 long long m_versionNumber{0};
145
147
148 Aws::String m_sourceEntityArn;
149
150 Aws::String m_description;
151 bool m_arnHasBeenSet = false;
152 bool m_createdTimeHasBeenSet = false;
153 bool m_versionNumberHasBeenSet = false;
154 bool m_statusHasBeenSet = false;
155 bool m_sourceEntityArnHasBeenSet = false;
156 bool m_descriptionHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace QuickSight
161} // namespace Aws
AWS_QUICKSIGHT_API DashboardVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DashboardVersionSummary & WithSourceEntityArn(SourceEntityArnT &&value)
DashboardVersionSummary & WithVersionNumber(long long value)
DashboardVersionSummary & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
DashboardVersionSummary & WithDescription(DescriptionT &&value)
DashboardVersionSummary & WithCreatedTime(CreatedTimeT &&value)
DashboardVersionSummary & WithStatus(ResourceStatus value)
AWS_QUICKSIGHT_API DashboardVersionSummary()=default
AWS_QUICKSIGHT_API DashboardVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue