7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourceStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/quicksight/model/TemplateError.h>
13#include <aws/quicksight/model/DataSetConfiguration.h>
14#include <aws/quicksight/model/Sheet.h>
52 template<
typename CreatedTimeT = Aws::Utils::DateTime>
53 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
54 template<
typename CreatedTimeT = Aws::Utils::DateTime>
64 template<
typename ErrorsT = Aws::Vector<TemplateError>>
65 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
66 template<
typename ErrorsT = Aws::Vector<TemplateError>>
68 template<
typename ErrorsT = TemplateError>
69 TemplateVersion&
AddErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors.emplace_back(std::forward<ErrorsT>(value));
return *
this; }
78 inline void SetVersionNumber(
long long value) { m_versionNumberHasBeenSet =
true; m_versionNumber = value; }
106 template<
typename DataSetConfigurationsT = Aws::Vector<DataSetConfiguration>>
107 void SetDataSetConfigurations(DataSetConfigurationsT&& value) { m_dataSetConfigurationsHasBeenSet =
true; m_dataSetConfigurations = std::forward<DataSetConfigurationsT>(value); }
108 template<
typename DataSetConfigurationsT = Aws::Vector<DataSetConfiguration>>
110 template<
typename DataSetConfigurationsT = DataSetConfiguration>
111 TemplateVersion&
AddDataSetConfigurations(DataSetConfigurationsT&& value) { m_dataSetConfigurationsHasBeenSet =
true; m_dataSetConfigurations.emplace_back(std::forward<DataSetConfigurationsT>(value));
return *
this; }
120 template<
typename DescriptionT = Aws::String>
121 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
122 template<
typename DescriptionT = Aws::String>
133 template<
typename SourceEntityArnT = Aws::String>
134 void SetSourceEntityArn(SourceEntityArnT&& value) { m_sourceEntityArnHasBeenSet =
true; m_sourceEntityArn = std::forward<SourceEntityArnT>(value); }
135 template<
typename SourceEntityArnT = Aws::String>
145 template<
typename ThemeArnT = Aws::String>
146 void SetThemeArn(ThemeArnT&& value) { m_themeArnHasBeenSet =
true; m_themeArn = std::forward<ThemeArnT>(value); }
147 template<
typename ThemeArnT = Aws::String>
158 template<
typename SheetsT = Aws::Vector<Sheet>>
159 void SetSheets(SheetsT&& value) { m_sheetsHasBeenSet =
true; m_sheets = std::forward<SheetsT>(value); }
160 template<
typename SheetsT = Aws::Vector<Sheet>>
162 template<
typename SheetsT = Sheet>
163 TemplateVersion&
AddSheets(SheetsT&& value) { m_sheetsHasBeenSet =
true; m_sheets.emplace_back(std::forward<SheetsT>(value));
return *
this; }
168 bool m_createdTimeHasBeenSet =
false;
171 bool m_errorsHasBeenSet =
false;
173 long long m_versionNumber{0};
174 bool m_versionNumberHasBeenSet =
false;
177 bool m_statusHasBeenSet =
false;
180 bool m_dataSetConfigurationsHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
186 bool m_sourceEntityArnHasBeenSet =
false;
189 bool m_themeArnHasBeenSet =
false;
192 bool m_sheetsHasBeenSet =
false;
bool DataSetConfigurationsHasBeenSet() const
void SetSourceEntityArn(SourceEntityArnT &&value)
void SetDataSetConfigurations(DataSetConfigurationsT &&value)
TemplateVersion & WithErrors(ErrorsT &&value)
AWS_QUICKSIGHT_API TemplateVersion(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(CreatedTimeT &&value)
bool VersionNumberHasBeenSet() const
TemplateVersion & WithDataSetConfigurations(DataSetConfigurationsT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetSourceEntityArn() const
TemplateVersion & AddErrors(ErrorsT &&value)
void SetStatus(ResourceStatus value)
const Aws::Vector< DataSetConfiguration > & GetDataSetConfigurations() const
const Aws::Vector< TemplateError > & GetErrors() const
TemplateVersion & WithVersionNumber(long long value)
TemplateVersion & AddSheets(SheetsT &&value)
bool ThemeArnHasBeenSet() const
TemplateVersion & WithSourceEntityArn(SourceEntityArnT &&value)
long long GetVersionNumber() const
TemplateVersion & WithCreatedTime(CreatedTimeT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetThemeArn() const
const Aws::Vector< Sheet > & GetSheets() const
AWS_QUICKSIGHT_API TemplateVersion()=default
bool StatusHasBeenSet() const
const Aws::String & GetDescription() const
bool ErrorsHasBeenSet() const
bool SourceEntityArnHasBeenSet() const
ResourceStatus GetStatus() const
void SetDescription(DescriptionT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrors(ErrorsT &&value)
void SetVersionNumber(long long value)
void SetSheets(SheetsT &&value)
TemplateVersion & AddDataSetConfigurations(DataSetConfigurationsT &&value)
bool SheetsHasBeenSet() const
bool CreatedTimeHasBeenSet() const
TemplateVersion & WithStatus(ResourceStatus value)
AWS_QUICKSIGHT_API TemplateVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersion & WithThemeArn(ThemeArnT &&value)
TemplateVersion & WithSheets(SheetsT &&value)
void SetThemeArn(ThemeArnT &&value)
TemplateVersion & WithDescription(DescriptionT &&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