AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/DatasetType.h>
10#include <aws/forecast/model/Domain.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ForecastService
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_FORECASTSERVICE_API DatasetSummary();
43 AWS_FORECASTSERVICE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FORECASTSERVICE_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
53 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
54 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
55 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
56 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
57 inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
58 inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
59 inline DatasetSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
61
63
66 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
67 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
68 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
69 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
70 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
71 inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
72 inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
73 inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
75
77
80 inline const DatasetType& GetDatasetType() const{ return m_datasetType; }
81 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
82 inline void SetDatasetType(const DatasetType& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
83 inline void SetDatasetType(DatasetType&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
84 inline DatasetSummary& WithDatasetType(const DatasetType& value) { SetDatasetType(value); return *this;}
85 inline DatasetSummary& WithDatasetType(DatasetType&& value) { SetDatasetType(std::move(value)); return *this;}
87
89
92 inline const Domain& GetDomain() const{ return m_domain; }
93 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
94 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
95 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
96 inline DatasetSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;}
97 inline DatasetSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
108 inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
109 inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
122 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
123 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
124 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
125 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
127 inline DatasetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_datasetArn;
132 bool m_datasetArnHasBeenSet = false;
133
134 Aws::String m_datasetName;
135 bool m_datasetNameHasBeenSet = false;
136
137 DatasetType m_datasetType;
138 bool m_datasetTypeHasBeenSet = false;
139
140 Domain m_domain;
141 bool m_domainHasBeenSet = false;
142
143 Aws::Utils::DateTime m_creationTime;
144 bool m_creationTimeHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastModificationTime;
147 bool m_lastModificationTimeHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ForecastService
152} // namespace Aws
void SetLastModificationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetDatasetName() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModificationTime(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetArn() const
DatasetSummary & WithDomain(const Domain &value)
const DatasetType & GetDatasetType() const
DatasetSummary & WithDatasetType(const DatasetType &value)
void SetDatasetName(const Aws::String &value)
AWS_FORECASTSERVICE_API DatasetSummary()
DatasetSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
DatasetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
DatasetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithDatasetName(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithDomain(Domain &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithDatasetName(const Aws::String &value)
DatasetSummary & WithDatasetName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DatasetSummary & WithDatasetArn(Aws::String &&value)
void SetDatasetType(const DatasetType &value)
DatasetSummary & WithDatasetType(DatasetType &&value)
AWS_FORECASTSERVICE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetArn(const Aws::String &value)
DatasetSummary & WithDatasetArn(const char *value)
DatasetSummary & WithDatasetArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue