/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the schema for a dataset. For more information on schemas, see CreateSchema.See
* Also:
AWS
* API Reference
The name of the schema.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the schema.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the schema.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the schema.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the schema.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the schema.
*/ inline DatasetSchema& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the schema.
*/ inline DatasetSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the schema.
*/ inline DatasetSchema& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the schema.
*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *The Amazon Resource Name (ARN) of the schema.
*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the schema.
*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *The Amazon Resource Name (ARN) of the schema.
*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the schema.
*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *The Amazon Resource Name (ARN) of the schema.
*/ inline DatasetSchema& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the schema.
*/ inline DatasetSchema& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the schema.
*/ inline DatasetSchema& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *The schema.
*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *The schema.
*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *The schema.
*/ inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *The schema.
*/ inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *The schema.
*/ inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); } /** *The schema.
*/ inline DatasetSchema& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *The schema.
*/ inline DatasetSchema& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *The schema.
*/ inline DatasetSchema& WithSchema(const char* value) { SetSchema(value); return *this;} /** *The date and time (in Unix time) that the schema was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time (in Unix time) that the schema was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the schema was created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time (in Unix time) that the schema was created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time (in Unix time) that the schema was created.
*/ inline DatasetSchema& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time (in Unix time) that the schema was created.
*/ inline DatasetSchema& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time (in Unix time) that the schema was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time (in Unix time) that the schema was last updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the schema was last updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The date and time (in Unix time) that the schema was last updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *The date and time (in Unix time) that the schema was last updated.
*/ inline DatasetSchema& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time (in Unix time) that the schema was last updated.
*/ inline DatasetSchema& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline const Domain& GetDomain() const{ return m_domain; } /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; } /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline DatasetSchema& WithDomain(const Domain& value) { SetDomain(value); return *this;} /** *The domain of a schema that you created for a dataset in a Domain dataset * group.
*/ inline DatasetSchema& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_schema; bool m_schemaHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Domain m_domain; bool m_domainHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws