text: ﻿/*
  * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
  *
  *  http://aws.amazon.com/apache2.0
  *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
  
  #pragma once
  #include <aws/forecast/ForecastService_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/forecast/model/DatasetType.h>
  #include <aws/forecast/model/Domain.h>
  #include <aws/core/utils/DateTime.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace ForecastService
  {
  namespace Model
  {
  
    /**
     * <p>Provides a summary of the dataset properties used in the <a>ListDatasets</a>
     * operation. To get the complete set of properties, call the
     * <a>DescribeDataset</a> operation, and provide the listed
     * <code>DatasetArn</code>.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DatasetSummary">AWS
     * API Reference</a></p>
     */
    class AWS_FORECASTSERVICE_API DatasetSummary
    {
    public:
      DatasetSummary();
      DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
      DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN) of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
  
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the dataset.</p>
       */
      inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
  
  
      /**
       * <p>The dataset type.</p>
       */
      inline const DatasetType& GetDatasetType() const{ return m_datasetType; }
  
      /**
       * <p>The dataset type.</p>
       */
      inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
  
      /**
       * <p>The dataset type.</p>
       */
      inline void SetDatasetType(const DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
  
      /**
       * <p>The dataset type.</p>
       */
      inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
  
      /**
       * <p>The dataset type.</p>
       */
      inline DatasetSummary& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;}
  
      /**
       * <p>The dataset type.</p>
       */
      inline DatasetSummary& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;}
  
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline const Domain& GetDomain() const{ return m_domain; }
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline DatasetSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;}
  
      /**
       * <p>The domain associated with the dataset.</p>
       */
      inline DatasetSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
  
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
  
      /**
       * <p>When the dataset was created.</p>
       */
      inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
  
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline DatasetSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;}
  
      /**
       * <p>When the dataset is created, <code>LastModificationTime</code> is the same as
       * <code>CreationTime</code>. After a <a>CreateDatasetImportJob</a> operation is
       * called, <code>LastModificationTime</code> is when the import job finished or
       * failed. While data is being imported to the dataset,
       * <code>LastModificationTime</code> is the current query time.</p>
       */
      inline DatasetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
  
    private:
  
      Aws::String m_datasetArn;
      bool m_datasetArnHasBeenSet;
  
      Aws::String m_datasetName;
      bool m_datasetNameHasBeenSet;
  
      DatasetType m_datasetType;
      bool m_datasetTypeHasBeenSet;
  
      Domain m_domain;
      bool m_domainHasBeenSet;
  
      Aws::Utils::DateTime m_creationTime;
      bool m_creationTimeHasBeenSet;
  
      Aws::Utils::DateTime m_lastModificationTime;
      bool m_lastModificationTimeHasBeenSet;
    };
  
  } // namespace Model
  } // namespace ForecastService
  } // namespace Aws
  