AWS SDK for C++  1.9.154
AWS SDK for C++
TemplateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace QuickSight
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline TemplateSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline TemplateSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline TemplateSummary& WithArn(const char* value) { SetArn(value); return *this;}
80 
81 
86  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
87 
92  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
93 
98  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
99 
104  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
105 
110  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
111 
116  inline TemplateSummary& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
117 
122  inline TemplateSummary& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
123 
128  inline TemplateSummary& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
129 
130 
134  inline const Aws::String& GetName() const{ return m_name; }
135 
139  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
140 
144  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
145 
149  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
150 
154  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 
159  inline TemplateSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
160 
164  inline TemplateSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
165 
169  inline TemplateSummary& WithName(const char* value) { SetName(value); return *this;}
170 
171 
176  inline long long GetLatestVersionNumber() const{ return m_latestVersionNumber; }
177 
182  inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
183 
188  inline void SetLatestVersionNumber(long long value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
189 
194  inline TemplateSummary& WithLatestVersionNumber(long long value) { SetLatestVersionNumber(value); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
201 
205  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
206 
210  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
211 
215  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
216 
220  inline TemplateSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
221 
225  inline TemplateSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
226 
227 
231  inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
232 
236  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
237 
241  inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
242 
246  inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
247 
251  inline TemplateSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
252 
256  inline TemplateSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
257 
258  private:
259 
260  Aws::String m_arn;
261  bool m_arnHasBeenSet;
262 
263  Aws::String m_templateId;
264  bool m_templateIdHasBeenSet;
265 
266  Aws::String m_name;
267  bool m_nameHasBeenSet;
268 
269  long long m_latestVersionNumber;
270  bool m_latestVersionNumberHasBeenSet;
271 
272  Aws::Utils::DateTime m_createdTime;
273  bool m_createdTimeHasBeenSet;
274 
275  Aws::Utils::DateTime m_lastUpdatedTime;
276  bool m_lastUpdatedTimeHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace QuickSight
281 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::QuickSight::Model::TemplateSummary::operator=
TemplateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateSummary::GetName
const Aws::String & GetName() const
Definition: TemplateSummary.h:134
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TemplateSummary::LatestVersionNumberHasBeenSet
bool LatestVersionNumberHasBeenSet() const
Definition: TemplateSummary.h:182
Aws::QuickSight::Model::TemplateSummary::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: TemplateSummary.h:92
Aws::QuickSight::Model::TemplateSummary::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: TemplateSummary.h:98
Aws::QuickSight::Model::TemplateSummary::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: TemplateSummary.h:236
Aws::QuickSight::Model::TemplateSummary::WithTemplateId
TemplateSummary & WithTemplateId(Aws::String &&value)
Definition: TemplateSummary.h:122
Aws::QuickSight::Model::TemplateSummary::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: TemplateSummary.h:205
Aws::QuickSight::Model::TemplateSummary::WithLastUpdatedTime
TemplateSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:256
DateTime.h
Aws::QuickSight::Model::TemplateSummary::SetName
void SetName(const Aws::String &value)
Definition: TemplateSummary.h:144
Aws::QuickSight::Model::TemplateSummary::WithName
TemplateSummary & WithName(const char *value)
Definition: TemplateSummary.h:169
Aws::QuickSight::Model::TemplateSummary::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:246
Aws::QuickSight::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(const Aws::String &value)
Definition: TemplateSummary.h:69
Aws::QuickSight::Model::TemplateSummary::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: TemplateSummary.h:200
Aws::QuickSight::Model::TemplateSummary::WithName
TemplateSummary & WithName(const Aws::String &value)
Definition: TemplateSummary.h:159
Aws::QuickSight::Model::TemplateSummary::GetLatestVersionNumber
long long GetLatestVersionNumber() const
Definition: TemplateSummary.h:176
Aws::QuickSight::Model::TemplateSummary::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:215
Aws::QuickSight::Model::TemplateSummary::WithLatestVersionNumber
TemplateSummary & WithLatestVersionNumber(long long value)
Definition: TemplateSummary.h:194
Aws::QuickSight::Model::TemplateSummary::SetArn
void SetArn(const char *value)
Definition: TemplateSummary.h:64
Aws::QuickSight::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(Aws::String &&value)
Definition: TemplateSummary.h:74
Aws::QuickSight::Model::TemplateSummary::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: TemplateSummary.h:86
Aws::QuickSight::Model::TemplateSummary::GetLastUpdatedTime
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition: TemplateSummary.h:231
Aws::QuickSight::Model::TemplateSummary::SetName
void SetName(const char *value)
Definition: TemplateSummary.h:154
Aws::QuickSight::Model::TemplateSummary::SetLatestVersionNumber
void SetLatestVersionNumber(long long value)
Definition: TemplateSummary.h:188
Aws::QuickSight::Model::TemplateSummary::SetName
void SetName(Aws::String &&value)
Definition: TemplateSummary.h:149
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::QuickSight::Model::TemplateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TemplateSummary::WithTemplateId
TemplateSummary & WithTemplateId(const Aws::String &value)
Definition: TemplateSummary.h:116
Aws::QuickSight::Model::TemplateSummary::SetArn
void SetArn(const Aws::String &value)
Definition: TemplateSummary.h:54
Aws::QuickSight::Model::TemplateSummary::WithCreatedTime
TemplateSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: TemplateSummary.h:225
Aws::QuickSight::Model::TemplateSummary::WithCreatedTime
TemplateSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:220
Aws::QuickSight::Model::TemplateSummary::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:241
Aws::QuickSight::Model::TemplateSummary::WithLastUpdatedTime
TemplateSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:251
Aws::QuickSight::Model::TemplateSummary::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: TemplateSummary.h:104
Aws::QuickSight::Model::TemplateSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: TemplateSummary.h:139
Aws::QuickSight::Model::TemplateSummary::SetTemplateId
void SetTemplateId(const char *value)
Definition: TemplateSummary.h:110
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::TemplateSummary::GetArn
const Aws::String & GetArn() const
Definition: TemplateSummary.h:44
Aws::QuickSight::Model::TemplateSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TemplateSummary.h:49
Aws::QuickSight::Model::TemplateSummary::SetArn
void SetArn(Aws::String &&value)
Definition: TemplateSummary.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TemplateSummary
Definition: TemplateSummary.h:33
Aws::QuickSight::Model::TemplateSummary::TemplateSummary
TemplateSummary()
Aws::QuickSight::Model::TemplateSummary::WithArn
TemplateSummary & WithArn(const char *value)
Definition: TemplateSummary.h:79
Aws::QuickSight::Model::TemplateSummary::TemplateSummary
TemplateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateSummary::WithName
TemplateSummary & WithName(Aws::String &&value)
Definition: TemplateSummary.h:164
Aws::QuickSight::Model::TemplateSummary::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: TemplateSummary.h:210
Aws::QuickSight::Model::TemplateSummary::WithTemplateId
TemplateSummary & WithTemplateId(const char *value)
Definition: TemplateSummary.h:128