AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
61 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
62 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
63 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
64 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
65 inline TemplateSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
66 inline TemplateSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
67 inline TemplateSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;}
83
85
89 inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; }
90 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
91 inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
92 inline TemplateSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
100 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
101 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
102 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
103 inline TemplateSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
104 inline TemplateSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
112 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
113 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
114 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
115 inline TemplateSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
116 inline TemplateSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
118 private:
119
120 Aws::String m_arn;
121 bool m_arnHasBeenSet = false;
122
123 Aws::String m_templateId;
124 bool m_templateIdHasBeenSet = false;
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 long long m_latestVersionNumber;
130 bool m_latestVersionNumberHasBeenSet = false;
131
132 Aws::Utils::DateTime m_createdTime;
133 bool m_createdTimeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_lastUpdatedTime;
136 bool m_lastUpdatedTimeHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace QuickSight
141} // namespace Aws
const Aws::String & GetTemplateId() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::String & GetName() const
TemplateSummary & WithArn(const Aws::String &value)
TemplateSummary & WithName(const Aws::String &value)
TemplateSummary & WithTemplateId(const Aws::String &value)
void SetTemplateId(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetArn(const Aws::String &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
TemplateSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
TemplateSummary & WithArn(const char *value)
TemplateSummary & WithName(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetTemplateId(const Aws::String &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
TemplateSummary & WithArn(Aws::String &&value)
TemplateSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
TemplateSummary & WithTemplateId(Aws::String &&value)
TemplateSummary & WithName(Aws::String &&value)
const Aws::String & GetArn() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
AWS_QUICKSIGHT_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue)
TemplateSummary & WithTemplateId(const char *value)
TemplateSummary & WithLatestVersionNumber(long long value)
TemplateSummary & WithCreatedTime(Aws::Utils::DateTime &&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