AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
DatastoreProperties.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#include <aws/medical-imaging/model/LosslessStorageFormat.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MedicalImaging {
23namespace Model {
24
31 public:
32 AWS_MEDICALIMAGING_API DatastoreProperties() = default;
33 AWS_MEDICALIMAGING_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDICALIMAGING_API DatastoreProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
42 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
43 template <typename DatastoreIdT = Aws::String>
44 void SetDatastoreId(DatastoreIdT&& value) {
45 m_datastoreIdHasBeenSet = true;
46 m_datastoreId = std::forward<DatastoreIdT>(value);
47 }
48 template <typename DatastoreIdT = Aws::String>
49 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) {
50 SetDatastoreId(std::forward<DatastoreIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDatastoreName() const { return m_datastoreName; }
60 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
61 template <typename DatastoreNameT = Aws::String>
62 void SetDatastoreName(DatastoreNameT&& value) {
63 m_datastoreNameHasBeenSet = true;
64 m_datastoreName = std::forward<DatastoreNameT>(value);
65 }
66 template <typename DatastoreNameT = Aws::String>
67 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) {
68 SetDatastoreName(std::forward<DatastoreNameT>(value));
69 return *this;
70 }
72
74
77 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
78 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
80 m_datastoreStatusHasBeenSet = true;
81 m_datastoreStatus = value;
82 }
84 SetDatastoreStatus(value);
85 return *this;
86 }
88
90
94 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
95 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
96 template <typename KmsKeyArnT = Aws::String>
97 void SetKmsKeyArn(KmsKeyArnT&& value) {
98 m_kmsKeyArnHasBeenSet = true;
99 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
100 }
101 template <typename KmsKeyArnT = Aws::String>
102 DatastoreProperties& WithKmsKeyArn(KmsKeyArnT&& value) {
103 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetLambdaAuthorizerArn() const { return m_lambdaAuthorizerArn; }
113 inline bool LambdaAuthorizerArnHasBeenSet() const { return m_lambdaAuthorizerArnHasBeenSet; }
114 template <typename LambdaAuthorizerArnT = Aws::String>
115 void SetLambdaAuthorizerArn(LambdaAuthorizerArnT&& value) {
116 m_lambdaAuthorizerArnHasBeenSet = true;
117 m_lambdaAuthorizerArn = std::forward<LambdaAuthorizerArnT>(value);
118 }
119 template <typename LambdaAuthorizerArnT = Aws::String>
120 DatastoreProperties& WithLambdaAuthorizerArn(LambdaAuthorizerArnT&& value) {
121 SetLambdaAuthorizerArn(std::forward<LambdaAuthorizerArnT>(value));
122 return *this;
123 }
125
127
130 inline LosslessStorageFormat GetLosslessStorageFormat() const { return m_losslessStorageFormat; }
131 inline bool LosslessStorageFormatHasBeenSet() const { return m_losslessStorageFormatHasBeenSet; }
133 m_losslessStorageFormatHasBeenSet = true;
134 m_losslessStorageFormat = value;
135 }
138 return *this;
139 }
141
143
146 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
147 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
148 template <typename DatastoreArnT = Aws::String>
149 void SetDatastoreArn(DatastoreArnT&& value) {
150 m_datastoreArnHasBeenSet = true;
151 m_datastoreArn = std::forward<DatastoreArnT>(value);
152 }
153 template <typename DatastoreArnT = Aws::String>
154 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) {
155 SetDatastoreArn(std::forward<DatastoreArnT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
165 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
166 template <typename CreatedAtT = Aws::Utils::DateTime>
167 void SetCreatedAt(CreatedAtT&& value) {
168 m_createdAtHasBeenSet = true;
169 m_createdAt = std::forward<CreatedAtT>(value);
170 }
171 template <typename CreatedAtT = Aws::Utils::DateTime>
172 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) {
173 SetCreatedAt(std::forward<CreatedAtT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
183 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
184 template <typename UpdatedAtT = Aws::Utils::DateTime>
185 void SetUpdatedAt(UpdatedAtT&& value) {
186 m_updatedAtHasBeenSet = true;
187 m_updatedAt = std::forward<UpdatedAtT>(value);
188 }
189 template <typename UpdatedAtT = Aws::Utils::DateTime>
190 DatastoreProperties& WithUpdatedAt(UpdatedAtT&& value) {
191 SetUpdatedAt(std::forward<UpdatedAtT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_datastoreId;
197
198 Aws::String m_datastoreName;
199
200 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
201
202 Aws::String m_kmsKeyArn;
203
204 Aws::String m_lambdaAuthorizerArn;
205
207
208 Aws::String m_datastoreArn;
209
210 Aws::Utils::DateTime m_createdAt{};
211
212 Aws::Utils::DateTime m_updatedAt{};
213 bool m_datastoreIdHasBeenSet = false;
214 bool m_datastoreNameHasBeenSet = false;
215 bool m_datastoreStatusHasBeenSet = false;
216 bool m_kmsKeyArnHasBeenSet = false;
217 bool m_lambdaAuthorizerArnHasBeenSet = false;
218 bool m_losslessStorageFormatHasBeenSet = false;
219 bool m_datastoreArnHasBeenSet = false;
220 bool m_createdAtHasBeenSet = false;
221 bool m_updatedAtHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace MedicalImaging
226} // namespace Aws
DatastoreProperties & WithDatastoreName(DatastoreNameT &&value)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDICALIMAGING_API DatastoreProperties()=default
DatastoreProperties & WithCreatedAt(CreatedAtT &&value)
DatastoreProperties & WithDatastoreArn(DatastoreArnT &&value)
DatastoreProperties & WithKmsKeyArn(KmsKeyArnT &&value)
void SetLambdaAuthorizerArn(LambdaAuthorizerArnT &&value)
DatastoreProperties & WithLosslessStorageFormat(LosslessStorageFormat value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetLosslessStorageFormat(LosslessStorageFormat value)
AWS_MEDICALIMAGING_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue)
DatastoreProperties & WithDatastoreId(DatastoreIdT &&value)
DatastoreProperties & WithDatastoreStatus(DatastoreStatus value)
DatastoreProperties & WithUpdatedAt(UpdatedAtT &&value)
AWS_MEDICALIMAGING_API DatastoreProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastoreProperties & WithLambdaAuthorizerArn(LambdaAuthorizerArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue