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/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/DatasetStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iotanalytics/model/DatasetTrigger.h>
13#include <aws/iotanalytics/model/DatasetActionSummary.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTAnalytics
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_IOTANALYTICS_API DatasetSummary();
40 AWS_IOTANALYTICS_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
50 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
51 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
52 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
53 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
54 inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
55 inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
56 inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
58
60
63 inline const DatasetStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline DatasetSummary& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
68 inline DatasetSummary& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
78 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
79 inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
80 inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
88 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
89 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
90 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
91 inline DatasetSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
92 inline DatasetSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
94
96
102 inline const Aws::Vector<DatasetTrigger>& GetTriggers() const{ return m_triggers; }
103 inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; }
104 inline void SetTriggers(const Aws::Vector<DatasetTrigger>& value) { m_triggersHasBeenSet = true; m_triggers = value; }
105 inline void SetTriggers(Aws::Vector<DatasetTrigger>&& value) { m_triggersHasBeenSet = true; m_triggers = std::move(value); }
106 inline DatasetSummary& WithTriggers(const Aws::Vector<DatasetTrigger>& value) { SetTriggers(value); return *this;}
107 inline DatasetSummary& WithTriggers(Aws::Vector<DatasetTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
108 inline DatasetSummary& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; }
109 inline DatasetSummary& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; }
111
113
116 inline const Aws::Vector<DatasetActionSummary>& GetActions() const{ return m_actions; }
117 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
118 inline void SetActions(const Aws::Vector<DatasetActionSummary>& value) { m_actionsHasBeenSet = true; m_actions = value; }
119 inline void SetActions(Aws::Vector<DatasetActionSummary>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
120 inline DatasetSummary& WithActions(const Aws::Vector<DatasetActionSummary>& value) { SetActions(value); return *this;}
121 inline DatasetSummary& WithActions(Aws::Vector<DatasetActionSummary>&& value) { SetActions(std::move(value)); return *this;}
122 inline DatasetSummary& AddActions(const DatasetActionSummary& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
123 inline DatasetSummary& AddActions(DatasetActionSummary&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
125 private:
126
127 Aws::String m_datasetName;
128 bool m_datasetNameHasBeenSet = false;
129
130 DatasetStatus m_status;
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationTime;
134 bool m_creationTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdateTime;
137 bool m_lastUpdateTimeHasBeenSet = false;
138
140 bool m_triggersHasBeenSet = false;
141
143 bool m_actionsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace IoTAnalytics
148} // namespace Aws
const Aws::Vector< DatasetActionSummary > & GetActions() const
void SetDatasetName(const Aws::String &value)
void SetActions(Aws::Vector< DatasetActionSummary > &&value)
DatasetSummary & AddTriggers(DatasetTrigger &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetActions(const Aws::Vector< DatasetActionSummary > &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDatasetName() const
const Aws::Vector< DatasetTrigger > & GetTriggers() const
void SetStatus(DatasetStatus &&value)
DatasetSummary & AddActions(const DatasetActionSummary &value)
DatasetSummary & WithDatasetName(const char *value)
void SetTriggers(Aws::Vector< DatasetTrigger > &&value)
void SetTriggers(const Aws::Vector< DatasetTrigger > &value)
DatasetSummary & WithStatus(const DatasetStatus &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_IOTANALYTICS_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const DatasetStatus &value)
DatasetSummary & WithActions(const Aws::Vector< DatasetActionSummary > &value)
DatasetSummary & WithCreationTime(Aws::Utils::DateTime &&value)
DatasetSummary & WithCreationTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetSummary & AddActions(DatasetActionSummary &&value)
const DatasetStatus & GetStatus() const
DatasetSummary & WithStatus(DatasetStatus &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DatasetSummary & WithActions(Aws::Vector< DatasetActionSummary > &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSummary & WithTriggers(Aws::Vector< DatasetTrigger > &&value)
DatasetSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
DatasetSummary & WithTriggers(const Aws::Vector< DatasetTrigger > &value)
DatasetSummary & WithDatasetName(Aws::String &&value)
DatasetSummary & WithDatasetName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DatasetSummary & AddTriggers(const DatasetTrigger &value)
void SetDatasetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue