/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of information about a data set.See Also:
AWS
* API Reference
The name of the data set.
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The name of the data set.
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The name of the data set.
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The name of the data set.
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The name of the data set.
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The name of the data set.
*/ inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The name of the data set.
*/ inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The name of the data set.
*/ inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The status of the data set.
*/ inline const DatasetStatus& GetStatus() const{ return m_status; } /** *The status of the data set.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the data set.
*/ inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the data set.
*/ inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the data set.
*/ inline DatasetSummary& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;} /** *The status of the data set.
*/ inline DatasetSummary& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The time the data set was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time the data set was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time the data set was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time the data set was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time the data set was created.
*/ inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time the data set was created.
*/ inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the data set was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The last time the data set was updated.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The last time the data set was updated.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The last time the data set was updated.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The last time the data set was updated.
*/ inline DatasetSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The last time the data set was updated.
*/ inline DatasetSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *A list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline const Aws::VectorA list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; } /** *A list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline void SetTriggers(const Aws::VectorA list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline void SetTriggers(Aws::VectorA list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline DatasetSummary& WithTriggers(const Aws::VectorA list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline DatasetSummary& WithTriggers(Aws::VectorA list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline DatasetSummary& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; } /** *A list of triggers. A trigger causes data set content to be populated at a * specified time interval or when another data set is populated. The list of * triggers can be empty or contain up to five DataSetTrigger objects
*/ inline DatasetSummary& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; } /** *A list of "DataActionSummary" objects.
*/ inline const Aws::VectorA list of "DataActionSummary" objects.
*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *A list of "DataActionSummary" objects.
*/ inline void SetActions(const Aws::VectorA list of "DataActionSummary" objects.
*/ inline void SetActions(Aws::VectorA list of "DataActionSummary" objects.
*/ inline DatasetSummary& WithActions(const Aws::VectorA list of "DataActionSummary" objects.
*/ inline DatasetSummary& WithActions(Aws::VectorA list of "DataActionSummary" objects.
*/ inline DatasetSummary& AddActions(const DatasetActionSummary& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *A list of "DataActionSummary" objects.
*/ inline DatasetSummary& AddActions(DatasetActionSummary&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet; DatasetStatus m_status; bool m_statusHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet; Aws::Vector