/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ForecastService { namespace Model { class DescribeDatasetGroupResult { public: AWS_FORECASTSERVICE_API DescribeDatasetGroupResult(); AWS_FORECASTSERVICE_API DescribeDatasetGroupResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTSERVICE_API DescribeDatasetGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the dataset group.

*/ inline const Aws::String& GetDatasetGroupName() const{ return m_datasetGroupName; } /** *

The name of the dataset group.

*/ inline void SetDatasetGroupName(const Aws::String& value) { m_datasetGroupName = value; } /** *

The name of the dataset group.

*/ inline void SetDatasetGroupName(Aws::String&& value) { m_datasetGroupName = std::move(value); } /** *

The name of the dataset group.

*/ inline void SetDatasetGroupName(const char* value) { m_datasetGroupName.assign(value); } /** *

The name of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupName(const Aws::String& value) { SetDatasetGroupName(value); return *this;} /** *

The name of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupName(Aws::String&& value) { SetDatasetGroupName(std::move(value)); return *this;} /** *

The name of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupName(const char* value) { SetDatasetGroupName(value); return *this;} /** *

The ARN of the dataset group.

*/ inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; } /** *

The ARN of the dataset group.

*/ inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArn = value; } /** *

The ARN of the dataset group.

*/ inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArn = std::move(value); } /** *

The ARN of the dataset group.

*/ inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArn.assign(value); } /** *

The ARN of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;} /** *

The ARN of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;} /** *

The ARN of the dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;} /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline const Aws::Vector& GetDatasetArns() const{ return m_datasetArns; } /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline void SetDatasetArns(const Aws::Vector& value) { m_datasetArns = value; } /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline void SetDatasetArns(Aws::Vector&& value) { m_datasetArns = std::move(value); } /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetArns(const Aws::Vector& value) { SetDatasetArns(value); return *this;} /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline DescribeDatasetGroupResult& WithDatasetArns(Aws::Vector&& value) { SetDatasetArns(std::move(value)); return *this;} /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline DescribeDatasetGroupResult& AddDatasetArns(const Aws::String& value) { m_datasetArns.push_back(value); return *this; } /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline DescribeDatasetGroupResult& AddDatasetArns(Aws::String&& value) { m_datasetArns.push_back(std::move(value)); return *this; } /** *

An array of Amazon Resource Names (ARNs) of the datasets contained in the * dataset group.

*/ inline DescribeDatasetGroupResult& AddDatasetArns(const char* value) { m_datasetArns.push_back(value); return *this; } /** *

The domain associated with the dataset group.

*/ inline const Domain& GetDomain() const{ return m_domain; } /** *

The domain associated with the dataset group.

*/ inline void SetDomain(const Domain& value) { m_domain = value; } /** *

The domain associated with the dataset group.

*/ inline void SetDomain(Domain&& value) { m_domain = std::move(value); } /** *

The domain associated with the dataset group.

*/ inline DescribeDatasetGroupResult& WithDomain(const Domain& value) { SetDomain(value); return *this;} /** *

The domain associated with the dataset group.

*/ inline DescribeDatasetGroupResult& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;} /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline void SetStatus(const Aws::String& value) { m_status = value; } /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline DescribeDatasetGroupResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline DescribeDatasetGroupResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The status of the dataset group. States include:

  • * ACTIVE

  • CREATE_PENDING, * CREATE_IN_PROGRESS, CREATE_FAILED

  • * DELETE_PENDING, DELETE_IN_PROGRESS, * DELETE_FAILED

  • UPDATE_PENDING, * UPDATE_IN_PROGRESS, UPDATE_FAILED

*

The UPDATE states apply when you call the UpdateDatasetGroup * operation.

The Status of the dataset group must be * ACTIVE before you can use the dataset group to create a * predictor.

*/ inline DescribeDatasetGroupResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

When the dataset group was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the dataset group was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

When the dataset group was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

When the dataset group was created.

*/ inline DescribeDatasetGroupResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the dataset group was created.

*/ inline DescribeDatasetGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, * LastModificationTime is the current time of the * DescribeDatasetGroup call.

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, * LastModificationTime is the current time of the * DescribeDatasetGroup call.

*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; } /** *

When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, * LastModificationTime is the current time of the * DescribeDatasetGroup call.

*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); } /** *

When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, * LastModificationTime is the current time of the * DescribeDatasetGroup call.

*/ inline DescribeDatasetGroupResult& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

When the dataset group was created or last updated from a call to the UpdateDatasetGroup * operation. While the dataset group is being updated, * LastModificationTime is the current time of the * DescribeDatasetGroup call.

*/ inline DescribeDatasetGroupResult& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDatasetGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDatasetGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDatasetGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_datasetGroupName; Aws::String m_datasetGroupArn; Aws::Vector m_datasetArns; Domain m_domain; Aws::String m_status; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastService } // namespace Aws