AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DatasetSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotsitewise/model/DatasetStatus.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 IoTSiteWise
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTSITEWISE_API DatasetSummary() = default;
37 AWS_IOTSITEWISE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 DatasetSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template<typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 DatasetSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 DatasetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 template<typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
89 template<typename DescriptionT = Aws::String>
90 DatasetSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
98 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
99 template<typename CreationDateT = Aws::Utils::DateTime>
100 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
101 template<typename CreationDateT = Aws::Utils::DateTime>
102 DatasetSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetLastUpdateDate() const { return m_lastUpdateDate; }
110 inline bool LastUpdateDateHasBeenSet() const { return m_lastUpdateDateHasBeenSet; }
111 template<typename LastUpdateDateT = Aws::Utils::DateTime>
112 void SetLastUpdateDate(LastUpdateDateT&& value) { m_lastUpdateDateHasBeenSet = true; m_lastUpdateDate = std::forward<LastUpdateDateT>(value); }
113 template<typename LastUpdateDateT = Aws::Utils::DateTime>
114 DatasetSummary& WithLastUpdateDate(LastUpdateDateT&& value) { SetLastUpdateDate(std::forward<LastUpdateDateT>(value)); return *this;}
116
118
122 inline const DatasetStatus& GetStatus() const { return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 template<typename StatusT = DatasetStatus>
125 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
126 template<typename StatusT = DatasetStatus>
127 DatasetSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
129 private:
130
131 Aws::String m_id;
132 bool m_idHasBeenSet = false;
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::Utils::DateTime m_creationDate{};
144 bool m_creationDateHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastUpdateDate{};
147 bool m_lastUpdateDateHasBeenSet = false;
148
149 DatasetStatus m_status;
150 bool m_statusHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace IoTSiteWise
155} // namespace Aws
const Aws::String & GetName() const
const DatasetStatus & GetStatus() const
DatasetSummary & WithCreationDate(CreationDateT &&value)
DatasetSummary & WithStatus(StatusT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
DatasetSummary & WithArn(ArnT &&value)
AWS_IOTSITEWISE_API DatasetSummary()=default
AWS_IOTSITEWISE_API DatasetSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetSummary & WithLastUpdateDate(LastUpdateDateT &&value)
void SetLastUpdateDate(LastUpdateDateT &&value)
AWS_IOTSITEWISE_API DatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(CreationDateT &&value)
DatasetSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdateDate() const
DatasetSummary & WithDescription(DescriptionT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue