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>
51 inline void SetVersionNumber(
long long value) { m_versionNumberHasBeenSet =
true; m_versionNumber = value; }
61 template<
typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
63 template<
typename ArnT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
86 template<
typename BaseThemeIdT = Aws::String>
87 void SetBaseThemeId(BaseThemeIdT&& value) { m_baseThemeIdHasBeenSet =
true; m_baseThemeId = std::forward<BaseThemeIdT>(value); }
88 template<
typename BaseThemeIdT = Aws::String>
98 template<
typename CreatedTimeT = Aws::Utils::DateTime>
99 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
100 template<
typename CreatedTimeT = Aws::Utils::DateTime>
110 template<
typename ConfigurationT = ThemeConfiguration>
111 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
112 template<
typename ConfigurationT = ThemeConfiguration>
122 template<
typename ErrorsT = Aws::Vector<ThemeError>>
123 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
124 template<
typename ErrorsT = Aws::Vector<ThemeError>>
126 template<
typename ErrorsT = ThemeError>
127 ThemeVersion&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
141 long long m_versionNumber{0};
142 bool m_versionNumberHasBeenSet =
false;
145 bool m_arnHasBeenSet =
false;
148 bool m_descriptionHasBeenSet =
false;
151 bool m_baseThemeIdHasBeenSet =
false;
154 bool m_createdTimeHasBeenSet =
false;
156 ThemeConfiguration m_configuration;
157 bool m_configurationHasBeenSet =
false;
160 bool m_errorsHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
const Aws::String & GetArn() const
ThemeVersion & WithConfiguration(ConfigurationT &&value)
const Aws::String & GetBaseThemeId() const
ThemeVersion & WithArn(ArnT &&value)
ThemeVersion & WithErrors(ErrorsT &&value)
const ThemeConfiguration & GetConfiguration() const
void SetVersionNumber(long long value)
bool ErrorsHasBeenSet() const
ResourceStatus GetStatus() const
ThemeVersion & WithDescription(DescriptionT &&value)
bool BaseThemeIdHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
void SetBaseThemeId(BaseThemeIdT &&value)
void SetArn(ArnT &&value)
AWS_QUICKSIGHT_API ThemeVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
ThemeVersion & WithVersionNumber(long long value)
bool CreatedTimeHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
ThemeVersion & AddErrors(ErrorsT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool VersionNumberHasBeenSet() const
AWS_QUICKSIGHT_API ThemeVersion(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ThemeError > & GetErrors() const
AWS_QUICKSIGHT_API ThemeVersion()=default
bool ConfigurationHasBeenSet() const
bool ArnHasBeenSet() const
void SetErrors(ErrorsT &&value)
ThemeVersion & WithBaseThemeId(BaseThemeIdT &&value)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
void SetStatus(ResourceStatus value)
ThemeVersion & WithCreatedTime(CreatedTimeT &&value)
long long GetVersionNumber() const
ThemeVersion & WithStatus(ResourceStatus value)
void SetConfiguration(ConfigurationT &&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