/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A version of a template.See Also:
AWS
* API Reference
The time that this template version was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time that this template version was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time that this template version was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time that this template version was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time that this template version was created.
*/ inline TemplateVersion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time that this template version was created.
*/ inline TemplateVersion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *Errors associated with this template version.
*/ inline const Aws::VectorErrors associated with this template version.
*/ inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } /** *Errors associated with this template version.
*/ inline void SetErrors(const Aws::VectorErrors associated with this template version.
*/ inline void SetErrors(Aws::VectorErrors associated with this template version.
*/ inline TemplateVersion& WithErrors(const Aws::VectorErrors associated with this template version.
*/ inline TemplateVersion& WithErrors(Aws::VectorErrors associated with this template version.
*/ inline TemplateVersion& AddErrors(const TemplateError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } /** *Errors associated with this template version.
*/ inline TemplateVersion& AddErrors(TemplateError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } /** *The version number of the template version.
*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *The version number of the template version.
*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *The version number of the template version.
*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *The version number of the template version.
*/ inline TemplateVersion& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
The status that is associated with the template.
* CREATION_IN_PROGRESS
* CREATION_SUCCESSFUL
* CREATION_FAILED
UPDATE_IN_PROGRESS
*
UPDATE_SUCCESSFUL
* UPDATE_FAILED
DELETED
Schema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline const Aws::VectorSchema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline bool DataSetConfigurationsHasBeenSet() const { return m_dataSetConfigurationsHasBeenSet; } /** *Schema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline void SetDataSetConfigurations(const Aws::VectorSchema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline void SetDataSetConfigurations(Aws::VectorSchema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline TemplateVersion& WithDataSetConfigurations(const Aws::VectorSchema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline TemplateVersion& WithDataSetConfigurations(Aws::VectorSchema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline TemplateVersion& AddDataSetConfigurations(const DataSetConfiguration& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations.push_back(value); return *this; } /** *Schema of the dataset identified by the placeholder. Any dashboard created * from this template should be bound to new datasets matching the same schema * described through this API operation.
*/ inline TemplateVersion& AddDataSetConfigurations(DataSetConfiguration&& value) { m_dataSetConfigurationsHasBeenSet = true; m_dataSetConfigurations.push_back(std::move(value)); return *this; } /** *The description of the template.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the template.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the template.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the template.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the template.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the template.
*/ inline TemplateVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the template.
*/ inline TemplateVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the template.
*/ inline TemplateVersion& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline const Aws::String& GetSourceEntityArn() const{ return m_sourceEntityArn; } /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline bool SourceEntityArnHasBeenSet() const { return m_sourceEntityArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline void SetSourceEntityArn(const Aws::String& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = value; } /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline void SetSourceEntityArn(Aws::String&& value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn = std::move(value); } /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline void SetSourceEntityArn(const char* value) { m_sourceEntityArnHasBeenSet = true; m_sourceEntityArn.assign(value); } /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline TemplateVersion& WithSourceEntityArn(const Aws::String& value) { SetSourceEntityArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline TemplateVersion& WithSourceEntityArn(Aws::String&& value) { SetSourceEntityArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of an analysis or template that was used to * create this template.
*/ inline TemplateVersion& WithSourceEntityArn(const char* value) { SetSourceEntityArn(value); return *this;} /** *The ARN of the theme associated with this version of the template.
*/ inline const Aws::String& GetThemeArn() const{ return m_themeArn; } /** *The ARN of the theme associated with this version of the template.
*/ inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; } /** *The ARN of the theme associated with this version of the template.
*/ inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; } /** *The ARN of the theme associated with this version of the template.
*/ inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); } /** *The ARN of the theme associated with this version of the template.
*/ inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); } /** *The ARN of the theme associated with this version of the template.
*/ inline TemplateVersion& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;} /** *The ARN of the theme associated with this version of the template.
*/ inline TemplateVersion& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;} /** *The ARN of the theme associated with this version of the template.
*/ inline TemplateVersion& WithThemeArn(const char* value) { SetThemeArn(value); return *this;} /** *A list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline const Aws::VectorA list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline bool SheetsHasBeenSet() const { return m_sheetsHasBeenSet; } /** *A list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline void SetSheets(const Aws::VectorA list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline void SetSheets(Aws::VectorA list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline TemplateVersion& WithSheets(const Aws::VectorA list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline TemplateVersion& WithSheets(Aws::VectorA list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline TemplateVersion& AddSheets(const Sheet& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(value); return *this; } /** *A list of the associated sheets with the unique identifier and name of each * sheet.
*/ inline TemplateVersion& AddSheets(Sheet&& value) { m_sheetsHasBeenSet = true; m_sheets.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Vector