AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
TemplateVersionSummary.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 TemplateVersionSummary() = 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 long long GetVersionNumber() const { return m_versionNumber; }
59 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
60 inline void SetVersionNumber(long long value) {
61 m_versionNumberHasBeenSet = true;
62 m_versionNumber = value;
63 }
64 inline TemplateVersionSummary& WithVersionNumber(long long value) {
65 SetVersionNumber(value);
66 return *this;
67 }
69
71
74 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
75 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
76 template <typename CreatedTimeT = Aws::Utils::DateTime>
77 void SetCreatedTime(CreatedTimeT&& value) {
78 m_createdTimeHasBeenSet = true;
79 m_createdTime = std::forward<CreatedTimeT>(value);
80 }
81 template <typename CreatedTimeT = Aws::Utils::DateTime>
82 TemplateVersionSummary& WithCreatedTime(CreatedTimeT&& value) {
83 SetCreatedTime(std::forward<CreatedTimeT>(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& GetDescription() const { return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 template <typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) {
112 m_descriptionHasBeenSet = true;
113 m_description = std::forward<DescriptionT>(value);
114 }
115 template <typename DescriptionT = Aws::String>
117 SetDescription(std::forward<DescriptionT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_arn;
123
124 long long m_versionNumber{0};
125
126 Aws::Utils::DateTime m_createdTime{};
127
129
130 Aws::String m_description;
131 bool m_arnHasBeenSet = false;
132 bool m_versionNumberHasBeenSet = false;
133 bool m_createdTimeHasBeenSet = false;
134 bool m_statusHasBeenSet = false;
135 bool m_descriptionHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TemplateVersionSummary()=default
TemplateVersionSummary & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API TemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionSummary & WithStatus(ResourceStatus value)
const Aws::Utils::DateTime & GetCreatedTime() const
TemplateVersionSummary & WithCreatedTime(CreatedTimeT &&value)
TemplateVersionSummary & WithVersionNumber(long long value)
TemplateVersionSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue