/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the properties of a dataset group. For a complete
* listing, call the DescribeDatasetGroup
* API.See Also:
AWS
* API Reference
The name of the dataset group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the dataset group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the dataset group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the dataset group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the dataset group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the dataset group.
*/ inline DatasetGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the dataset group.
*/ inline DatasetGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the dataset group.
*/ inline DatasetGroupSummary& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline DatasetGroupSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline DatasetGroupSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the dataset group.
*/ inline DatasetGroupSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The status of the dataset group.
A dataset group can be in one of the * following states:
CREATE PENDING > CREATE IN_PROGRESS > * ACTIVE -or- CREATE FAILED
DELETE PENDING
The date and time (in Unix time) that the dataset group was created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time (in Unix time) that the dataset group was created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the dataset group 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 dataset group 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 dataset group was created.
*/ inline DatasetGroupSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time (in Unix time) that the dataset group was created.
*/ inline DatasetGroupSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time (in Unix time) that the dataset group was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time (in Unix time) that the dataset group was last updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the dataset group 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 dataset group 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 dataset group was last updated.
*/ inline DatasetGroupSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time (in Unix time) that the dataset group was last updated.
*/ inline DatasetGroupSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *If creating a dataset group fails, the reason behind the failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If creating a dataset group fails, the reason behind the failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If creating a dataset group fails, the reason behind the failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If creating a dataset group fails, the reason behind the failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If creating a dataset group fails, the reason behind the failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If creating a dataset group fails, the reason behind the failure.
*/ inline DatasetGroupSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If creating a dataset group fails, the reason behind the failure.
*/ inline DatasetGroupSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If creating a dataset group fails, the reason behind the failure.
*/ inline DatasetGroupSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The domain of a Domain dataset group.
*/ inline const Domain& GetDomain() const{ return m_domain; } /** *The domain of a Domain dataset group.
*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *The domain of a Domain dataset group.
*/ inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; } /** *The domain of a Domain dataset group.
*/ inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *The domain of a Domain dataset group.
*/ inline DatasetGroupSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;} /** *The domain of a Domain dataset group.
*/ inline DatasetGroupSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_datasetGroupArn; bool m_datasetGroupArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Domain m_domain; bool m_domainHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws