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/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/model/DatasetStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LookoutEquipment
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LOOKOUTEQUIPMENT_API DatasetSummary();
38 AWS_LOOKOUTEQUIPMENT_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTEQUIPMENT_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
48 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
49 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
50 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
51 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
52 inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
53 inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
54 inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
56
58
61 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
62 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
63 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
64 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
65 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
66 inline DatasetSummary& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
67 inline DatasetSummary& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
68 inline DatasetSummary& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
70
72
75 inline const DatasetStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline DatasetSummary& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
80 inline DatasetSummary& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
89 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
90 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
91 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
92 inline DatasetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
93 inline DatasetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_datasetName;
98 bool m_datasetNameHasBeenSet = false;
99
100 Aws::String m_datasetArn;
101 bool m_datasetArnHasBeenSet = false;
102
103 DatasetStatus m_status;
104 bool m_statusHasBeenSet = false;
105
106 Aws::Utils::DateTime m_createdAt;
107 bool m_createdAtHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LookoutEquipment
112} // namespace Aws
const Aws::String & GetDatasetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
DatasetSummary & WithDatasetName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTEQUIPMENT_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetName(const Aws::String &value)
DatasetSummary & WithDatasetArn(Aws::String &&value)
const DatasetStatus & GetStatus() const
DatasetSummary & WithStatus(DatasetStatus &&value)
DatasetSummary & WithDatasetName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDatasetArn(const Aws::String &value)
DatasetSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
DatasetSummary & WithDatasetArn(const Aws::String &value)
DatasetSummary & WithDatasetName(const Aws::String &value)
DatasetSummary & WithDatasetArn(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_LOOKOUTEQUIPMENT_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatasetArn() const
DatasetSummary & WithStatus(const DatasetStatus &value)
DatasetSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LOOKOUTEQUIPMENT_API DatasetSummary()
void SetStatus(const DatasetStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue