AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Template.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TemplateVersion.h>
10#include <aws/core/utils/DateTime.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
42 {
43 public:
44 AWS_QUICKSIGHT_API Template();
45 AWS_QUICKSIGHT_API Template(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API Template& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline Template& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline Template& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline Template& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline Template& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline Template& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline Template& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const TemplateVersion& GetVersion() const{ return m_version; }
83 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
84 inline void SetVersion(const TemplateVersion& value) { m_versionHasBeenSet = true; m_version = value; }
85 inline void SetVersion(TemplateVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
86 inline Template& WithVersion(const TemplateVersion& value) { SetVersion(value); return *this;}
87 inline Template& WithVersion(TemplateVersion&& value) { SetVersion(std::move(value)); return *this;}
89
91
95 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
96 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
97 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
98 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
99 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
100 inline Template& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
101 inline Template& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
102 inline Template& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
110 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
111 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
112 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
113 inline Template& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
114 inline Template& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
122 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
123 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
124 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
125 inline Template& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
126 inline Template& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
128 private:
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 TemplateVersion m_version;
137 bool m_versionHasBeenSet = false;
138
139 Aws::String m_templateId;
140 bool m_templateIdHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastUpdatedTime;
143 bool m_lastUpdatedTimeHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdTime;
146 bool m_createdTimeHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace QuickSight
151} // namespace Aws
void SetArn(const Aws::String &value)
Definition Template.h:56
void SetTemplateId(Aws::String &&value)
Definition Template.h:98
AWS_QUICKSIGHT_API Template(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
Definition Template.h:57
void SetName(const char *value)
Definition Template.h:72
AWS_QUICKSIGHT_API Template()
Template & WithVersion(TemplateVersion &&value)
Definition Template.h:87
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Template.h:121
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Template.h:111
Template & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Template.h:114
const Aws::String & GetArn() const
Definition Template.h:54
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Template.h:109
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Template.h:112
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Template.h:123
Template & WithName(Aws::String &&value)
Definition Template.h:74
Template & WithVersion(const TemplateVersion &value)
Definition Template.h:86
Template & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Template.h:126
void SetName(const Aws::String &value)
Definition Template.h:70
void SetTemplateId(const char *value)
Definition Template.h:99
Template & WithArn(const Aws::String &value)
Definition Template.h:59
Template & WithTemplateId(const char *value)
Definition Template.h:102
Template & WithTemplateId(Aws::String &&value)
Definition Template.h:101
void SetTemplateId(const Aws::String &value)
Definition Template.h:97
const TemplateVersion & GetVersion() const
Definition Template.h:82
void SetVersion(TemplateVersion &&value)
Definition Template.h:85
Template & WithArn(const char *value)
Definition Template.h:61
void SetName(Aws::String &&value)
Definition Template.h:71
Template & WithName(const Aws::String &value)
Definition Template.h:73
const Aws::String & GetTemplateId() const
Definition Template.h:95
void SetVersion(const TemplateVersion &value)
Definition Template.h:84
AWS_QUICKSIGHT_API Template & operator=(Aws::Utils::Json::JsonView jsonValue)
Template & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Template.h:113
Template & WithName(const char *value)
Definition Template.h:75
bool LastUpdatedTimeHasBeenSet() const
Definition Template.h:110
Template & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Template.h:125
Template & WithArn(Aws::String &&value)
Definition Template.h:60
Template & WithTemplateId(const Aws::String &value)
Definition Template.h:100
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Template.h:124
const Aws::String & GetName() const
Definition Template.h:68
void SetArn(const char *value)
Definition Template.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue