AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Theme.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/ThemeVersion.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/ThemeType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
34 class Theme
35 {
36 public:
37 AWS_QUICKSIGHT_API Theme();
38 AWS_QUICKSIGHT_API Theme(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Theme& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline Theme& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline Theme& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline Theme& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline Theme& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline Theme& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline Theme& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetThemeId() const{ return m_themeId; }
76 inline bool ThemeIdHasBeenSet() const { return m_themeIdHasBeenSet; }
77 inline void SetThemeId(const Aws::String& value) { m_themeIdHasBeenSet = true; m_themeId = value; }
78 inline void SetThemeId(Aws::String&& value) { m_themeIdHasBeenSet = true; m_themeId = std::move(value); }
79 inline void SetThemeId(const char* value) { m_themeIdHasBeenSet = true; m_themeId.assign(value); }
80 inline Theme& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
81 inline Theme& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
82 inline Theme& WithThemeId(const char* value) { SetThemeId(value); return *this;}
84
86
87 inline const ThemeVersion& GetVersion() const{ return m_version; }
88 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
89 inline void SetVersion(const ThemeVersion& value) { m_versionHasBeenSet = true; m_version = value; }
90 inline void SetVersion(ThemeVersion&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
91 inline Theme& WithVersion(const ThemeVersion& value) { SetVersion(value); return *this;}
92 inline Theme& WithVersion(ThemeVersion&& value) { SetVersion(std::move(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 Theme& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
104 inline Theme& 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 Theme& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
116 inline Theme& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
118
120
124 inline const ThemeType& GetType() const{ return m_type; }
125 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
126 inline void SetType(const ThemeType& value) { m_typeHasBeenSet = true; m_type = value; }
127 inline void SetType(ThemeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
128 inline Theme& WithType(const ThemeType& value) { SetType(value); return *this;}
129 inline Theme& WithType(ThemeType&& value) { SetType(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_arn;
134 bool m_arnHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_themeId;
140 bool m_themeIdHasBeenSet = false;
141
142 ThemeVersion m_version;
143 bool m_versionHasBeenSet = false;
144
145 Aws::Utils::DateTime m_createdTime;
146 bool m_createdTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_lastUpdatedTime;
149 bool m_lastUpdatedTimeHasBeenSet = false;
150
151 ThemeType m_type;
152 bool m_typeHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace QuickSight
157} // namespace Aws
Theme & WithVersion(ThemeVersion &&value)
Definition Theme.h:92
void SetArn(const char *value)
Definition Theme.h:51
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:101
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:102
void SetVersion(ThemeVersion &&value)
Definition Theme.h:90
Theme & WithArn(const char *value)
Definition Theme.h:54
bool TypeHasBeenSet() const
Definition Theme.h:125
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:114
Theme & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:115
Theme & WithType(ThemeType &&value)
Definition Theme.h:129
Theme & WithName(const char *value)
Definition Theme.h:68
Theme & WithName(Aws::String &&value)
Definition Theme.h:67
bool VersionHasBeenSet() const
Definition Theme.h:88
AWS_QUICKSIGHT_API Theme()
bool ThemeIdHasBeenSet() const
Definition Theme.h:76
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:113
void SetThemeId(Aws::String &&value)
Definition Theme.h:78
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Theme.h:111
void SetName(Aws::String &&value)
Definition Theme.h:64
Theme & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Theme.h:103
Theme & WithArn(Aws::String &&value)
Definition Theme.h:53
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Theme.h:99
void SetType(const ThemeType &value)
Definition Theme.h:126
bool CreatedTimeHasBeenSet() const
Definition Theme.h:100
const Aws::String & GetThemeId() const
Definition Theme.h:75
bool ArnHasBeenSet() const
Definition Theme.h:48
Theme & WithVersion(const ThemeVersion &value)
Definition Theme.h:91
const Aws::String & GetName() const
Definition Theme.h:61
void SetType(ThemeType &&value)
Definition Theme.h:127
const ThemeType & GetType() const
Definition Theme.h:124
Theme & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:104
AWS_QUICKSIGHT_API Theme & operator=(Aws::Utils::Json::JsonView jsonValue)
Theme & WithThemeId(const Aws::String &value)
Definition Theme.h:80
Theme & WithArn(const Aws::String &value)
Definition Theme.h:52
const ThemeVersion & GetVersion() const
Definition Theme.h:87
void SetThemeId(const char *value)
Definition Theme.h:79
void SetVersion(const ThemeVersion &value)
Definition Theme.h:89
bool NameHasBeenSet() const
Definition Theme.h:62
void SetArn(Aws::String &&value)
Definition Theme.h:50
Theme & WithThemeId(Aws::String &&value)
Definition Theme.h:81
void SetName(const Aws::String &value)
Definition Theme.h:63
Theme & WithName(const Aws::String &value)
Definition Theme.h:66
const Aws::String & GetArn() const
Definition Theme.h:47
Theme & WithType(const ThemeType &value)
Definition Theme.h:128
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Theme & WithThemeId(const char *value)
Definition Theme.h:82
bool LastUpdatedTimeHasBeenSet() const
Definition Theme.h:112
Theme & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Theme.h:116
void SetArn(const Aws::String &value)
Definition Theme.h:49
AWS_QUICKSIGHT_API Theme(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Definition Theme.h:65
void SetThemeId(const Aws::String &value)
Definition Theme.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue