AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThemeVersionSummary.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 ThemeVersionSummary();
37 AWS_QUICKSIGHT_API ThemeVersionSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline long long GetVersionNumber() const{ return m_versionNumber; }
47 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
48 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
49 inline ThemeVersionSummary& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
51
53
56 inline const Aws::String& GetArn() const{ return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
61 inline ThemeVersionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline ThemeVersionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline ThemeVersionSummary& WithArn(const char* value) { SetArn(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline ThemeVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline ThemeVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline ThemeVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
85 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
86 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
87 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
88 inline ThemeVersionSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
89 inline ThemeVersionSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
91
93
96 inline const ResourceStatus& GetStatus() const{ return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
99 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
100 inline ThemeVersionSummary& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
101 inline ThemeVersionSummary& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
103 private:
104
105 long long m_versionNumber;
106 bool m_versionNumberHasBeenSet = false;
107
108 Aws::String m_arn;
109 bool m_arnHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdTime;
115 bool m_createdTimeHasBeenSet = false;
116
117 ResourceStatus m_status;
118 bool m_statusHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTime() const
ThemeVersionSummary & WithDescription(const Aws::String &value)
void SetStatus(const ResourceStatus &value)
ThemeVersionSummary & WithArn(const char *value)
ThemeVersionSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
ThemeVersionSummary & WithStatus(ResourceStatus &&value)
AWS_QUICKSIGHT_API ThemeVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ThemeVersionSummary & WithDescription(Aws::String &&value)
ThemeVersionSummary & WithArn(const Aws::String &value)
ThemeVersionSummary & WithVersionNumber(long long value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
AWS_QUICKSIGHT_API ThemeVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ThemeVersionSummary & WithStatus(const ResourceStatus &value)
ThemeVersionSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ThemeVersionSummary & WithArn(Aws::String &&value)
ThemeVersionSummary & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue