AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TemplateSummary.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API TemplateSummary() = default;
36 AWS_QUICKSIGHT_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 TemplateSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetTemplateId() const { return m_templateId; }
59 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
60 template<typename TemplateIdT = Aws::String>
61 void SetTemplateId(TemplateIdT&& value) { m_templateIdHasBeenSet = true; m_templateId = std::forward<TemplateIdT>(value); }
62 template<typename TemplateIdT = Aws::String>
63 TemplateSummary& WithTemplateId(TemplateIdT&& value) { SetTemplateId(std::forward<TemplateIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 TemplateSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
83 inline long long GetLatestVersionNumber() const { return m_latestVersionNumber; }
84 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
85 inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
86 inline TemplateSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
94 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
95 template<typename CreatedTimeT = Aws::Utils::DateTime>
96 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
97 template<typename CreatedTimeT = Aws::Utils::DateTime>
98 TemplateSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
106 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
107 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
108 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
109 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
110 TemplateSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
112 private:
113
114 Aws::String m_arn;
115 bool m_arnHasBeenSet = false;
116
117 Aws::String m_templateId;
118 bool m_templateIdHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 long long m_latestVersionNumber{0};
124 bool m_latestVersionNumberHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdTime{};
127 bool m_createdTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastUpdatedTime{};
130 bool m_lastUpdatedTimeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace QuickSight
135} // namespace Aws
const Aws::String & GetTemplateId() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::String & GetName() const
void SetTemplateId(TemplateIdT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
TemplateSummary & WithTemplateId(TemplateIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
TemplateSummary & WithArn(ArnT &&value)
TemplateSummary & WithName(NameT &&value)
void SetCreatedTime(CreatedTimeT &&value)
AWS_QUICKSIGHT_API TemplateSummary()=default
TemplateSummary & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetArn() const
AWS_QUICKSIGHT_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue)
TemplateSummary & WithLatestVersionNumber(long long value)
AWS_QUICKSIGHT_API TemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue