AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateVersionSummary.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 <aws/quicksight/model/ResourceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API TemplateVersionSummary();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline TemplateVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline TemplateVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline TemplateVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline long long GetVersionNumber() const{ return m_versionNumber; }
61 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
62 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
63 inline TemplateVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
71 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
72 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
73 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
74 inline TemplateVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
75 inline TemplateVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
77
79
82 inline const ResourceStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
86 inline TemplateVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
87 inline TemplateVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline TemplateVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline TemplateVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline TemplateVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
103 private:
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 long long m_versionNumber;
109 bool m_versionNumberHasBeenSet = false;
110
111 Aws::Utils::DateTime m_createdTime;
112 bool m_createdTimeHasBeenSet = false;
113
114 ResourceStatus m_status;
115 bool m_statusHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
TemplateVersionSummary & WithArn(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateVersionSummary & WithArn(Aws::String &&value)
TemplateVersionSummary & WithStatus(const ResourceStatus &value)
TemplateVersionSummary & WithDescription(Aws::String &&value)
AWS_QUICKSIGHT_API TemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionSummary & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
TemplateVersionSummary & WithDescription(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
TemplateVersionSummary & WithArn(const Aws::String &value)
TemplateVersionSummary & WithStatus(ResourceStatus &&value)
TemplateVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
TemplateVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
TemplateVersionSummary & WithVersionNumber(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue