AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DatastoreSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
10#include <aws/medical-imaging/model/DatastoreStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MedicalImaging {
22namespace Model {
23
30 public:
31 AWS_MEDICALIMAGING_API DatastoreSummary() = default;
32 AWS_MEDICALIMAGING_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDICALIMAGING_API DatastoreSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
41 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
42 template <typename DatastoreIdT = Aws::String>
43 void SetDatastoreId(DatastoreIdT&& value) {
44 m_datastoreIdHasBeenSet = true;
45 m_datastoreId = std::forward<DatastoreIdT>(value);
46 }
47 template <typename DatastoreIdT = Aws::String>
48 DatastoreSummary& WithDatastoreId(DatastoreIdT&& value) {
49 SetDatastoreId(std::forward<DatastoreIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
59 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
60 template <typename DatastoreNameT = Aws::String>
61 void SetDatastoreName(DatastoreNameT&& value) {
62 m_datastoreNameHasBeenSet = true;
63 m_datastoreName = std::forward<DatastoreNameT>(value);
64 }
65 template <typename DatastoreNameT = Aws::String>
66 DatastoreSummary& WithDatastoreName(DatastoreNameT&& value) {
67 SetDatastoreName(std::forward<DatastoreNameT>(value));
68 return *this;
69 }
71
73
76 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
77 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
79 m_datastoreStatusHasBeenSet = true;
80 m_datastoreStatus = value;
81 }
83 SetDatastoreStatus(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
93 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
94 template <typename DatastoreArnT = Aws::String>
95 void SetDatastoreArn(DatastoreArnT&& value) {
96 m_datastoreArnHasBeenSet = true;
97 m_datastoreArn = std::forward<DatastoreArnT>(value);
98 }
99 template <typename DatastoreArnT = Aws::String>
100 DatastoreSummary& WithDatastoreArn(DatastoreArnT&& value) {
101 SetDatastoreArn(std::forward<DatastoreArnT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
111 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
112 template <typename CreatedAtT = Aws::Utils::DateTime>
113 void SetCreatedAt(CreatedAtT&& value) {
114 m_createdAtHasBeenSet = true;
115 m_createdAt = std::forward<CreatedAtT>(value);
116 }
117 template <typename CreatedAtT = Aws::Utils::DateTime>
118 DatastoreSummary& WithCreatedAt(CreatedAtT&& value) {
119 SetCreatedAt(std::forward<CreatedAtT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
129 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
130 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 void SetUpdatedAt(UpdatedAtT&& value) {
132 m_updatedAtHasBeenSet = true;
133 m_updatedAt = std::forward<UpdatedAtT>(value);
134 }
135 template <typename UpdatedAtT = Aws::Utils::DateTime>
136 DatastoreSummary& WithUpdatedAt(UpdatedAtT&& value) {
137 SetUpdatedAt(std::forward<UpdatedAtT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_datastoreId;
143
144 Aws::String m_datastoreName;
145
146 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
147
148 Aws::String m_datastoreArn;
149
150 Aws::Utils::DateTime m_createdAt{};
151
152 Aws::Utils::DateTime m_updatedAt{};
153 bool m_datastoreIdHasBeenSet = false;
154 bool m_datastoreNameHasBeenSet = false;
155 bool m_datastoreStatusHasBeenSet = false;
156 bool m_datastoreArnHasBeenSet = false;
157 bool m_createdAtHasBeenSet = false;
158 bool m_updatedAtHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace MedicalImaging
163} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_MEDICALIMAGING_API DatastoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastoreSummary & WithUpdatedAt(UpdatedAtT &&value)
DatastoreSummary & WithDatastoreName(DatastoreNameT &&value)
DatastoreSummary & WithCreatedAt(CreatedAtT &&value)
AWS_MEDICALIMAGING_API DatastoreSummary()=default
void SetDatastoreStatus(DatastoreStatus value)
DatastoreSummary & WithDatastoreArn(DatastoreArnT &&value)
DatastoreSummary & WithDatastoreStatus(DatastoreStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDatastoreName(DatastoreNameT &&value)
AWS_MEDICALIMAGING_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
DatastoreSummary & WithDatastoreId(DatastoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue