AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThemeVersion.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/ThemeConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/ResourceStatus.h>
13#include <aws/quicksight/model/ThemeError.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_QUICKSIGHT_API ThemeVersion();
40 AWS_QUICKSIGHT_API ThemeVersion(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API ThemeVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline long long GetVersionNumber() const{ return m_versionNumber; }
50 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
51 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
52 inline ThemeVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline ThemeVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline ThemeVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline ThemeVersion& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline ThemeVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline ThemeVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ThemeVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
88 inline const Aws::String& GetBaseThemeId() const{ return m_baseThemeId; }
89 inline bool BaseThemeIdHasBeenSet() const { return m_baseThemeIdHasBeenSet; }
90 inline void SetBaseThemeId(const Aws::String& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = value; }
91 inline void SetBaseThemeId(Aws::String&& value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId = std::move(value); }
92 inline void SetBaseThemeId(const char* value) { m_baseThemeIdHasBeenSet = true; m_baseThemeId.assign(value); }
93 inline ThemeVersion& WithBaseThemeId(const Aws::String& value) { SetBaseThemeId(value); return *this;}
94 inline ThemeVersion& WithBaseThemeId(Aws::String&& value) { SetBaseThemeId(std::move(value)); return *this;}
95 inline ThemeVersion& WithBaseThemeId(const char* value) { SetBaseThemeId(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
103 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
104 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
105 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
106 inline ThemeVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
107 inline ThemeVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
109
111
114 inline const ThemeConfiguration& GetConfiguration() const{ return m_configuration; }
115 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
116 inline void SetConfiguration(const ThemeConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
117 inline void SetConfiguration(ThemeConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
118 inline ThemeVersion& WithConfiguration(const ThemeConfiguration& value) { SetConfiguration(value); return *this;}
119 inline ThemeVersion& WithConfiguration(ThemeConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
121
123
126 inline const Aws::Vector<ThemeError>& GetErrors() const{ return m_errors; }
127 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
128 inline void SetErrors(const Aws::Vector<ThemeError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
129 inline void SetErrors(Aws::Vector<ThemeError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
130 inline ThemeVersion& WithErrors(const Aws::Vector<ThemeError>& value) { SetErrors(value); return *this;}
131 inline ThemeVersion& WithErrors(Aws::Vector<ThemeError>&& value) { SetErrors(std::move(value)); return *this;}
132 inline ThemeVersion& AddErrors(const ThemeError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
133 inline ThemeVersion& AddErrors(ThemeError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
135
137
140 inline const ResourceStatus& GetStatus() const{ return m_status; }
141 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
142 inline void SetStatus(const ResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
143 inline void SetStatus(ResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
144 inline ThemeVersion& WithStatus(const ResourceStatus& value) { SetStatus(value); return *this;}
145 inline ThemeVersion& WithStatus(ResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
147 private:
148
149 long long m_versionNumber;
150 bool m_versionNumberHasBeenSet = false;
151
152 Aws::String m_arn;
153 bool m_arnHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::String m_baseThemeId;
159 bool m_baseThemeIdHasBeenSet = false;
160
161 Aws::Utils::DateTime m_createdTime;
162 bool m_createdTimeHasBeenSet = false;
163
164 ThemeConfiguration m_configuration;
165 bool m_configurationHasBeenSet = false;
166
168 bool m_errorsHasBeenSet = false;
169
170 ResourceStatus m_status;
171 bool m_statusHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace QuickSight
176} // namespace Aws
void SetStatus(const ResourceStatus &value)
ThemeVersion & AddErrors(const ThemeError &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ThemeVersion & WithDescription(const char *value)
const Aws::String & GetArn() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
ThemeVersion & WithDescription(const Aws::String &value)
const Aws::String & GetBaseThemeId() const
const ThemeConfiguration & GetConfiguration() const
void SetVersionNumber(long long value)
ThemeVersion & WithConfiguration(ThemeConfiguration &&value)
ThemeVersion & WithStatus(const ResourceStatus &value)
ThemeVersion & AddErrors(ThemeError &&value)
void SetDescription(const char *value)
ThemeVersion & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
void SetDescription(Aws::String &&value)
ThemeVersion & WithBaseThemeId(const char *value)
ThemeVersion & WithArn(const char *value)
AWS_QUICKSIGHT_API ThemeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ThemeVersion & WithArn(const Aws::String &value)
ThemeVersion & WithVersionNumber(long long value)
void SetBaseThemeId(Aws::String &&value)
void SetBaseThemeId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
void SetBaseThemeId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetStatus(ResourceStatus &&value)
ThemeVersion & WithConfiguration(const ThemeConfiguration &value)
void SetErrors(const Aws::Vector< ThemeError > &value)
ThemeVersion & WithArn(Aws::String &&value)
void SetErrors(Aws::Vector< ThemeError > &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetArn(const Aws::String &value)
AWS_QUICKSIGHT_API ThemeVersion(Aws::Utils::Json::JsonView jsonValue)
const ResourceStatus & GetStatus() const
ThemeVersion & WithBaseThemeId(Aws::String &&value)
ThemeVersion & WithStatus(ResourceStatus &&value)
const Aws::Vector< ThemeError > & GetErrors() const
ThemeVersion & WithCreatedTime(Aws::Utils::DateTime &&value)
ThemeVersion & WithBaseThemeId(const Aws::String &value)
ThemeVersion & WithErrors(const Aws::Vector< ThemeError > &value)
void SetConfiguration(ThemeConfiguration &&value)
ThemeVersion & WithDescription(Aws::String &&value)
void SetConfiguration(const ThemeConfiguration &value)
ThemeVersion & WithErrors(Aws::Vector< ThemeError > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue