AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ImageSetsMetadataSummary.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/DICOMTags.h>
11#include <aws/medical-imaging/model/StorageTier.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 ImageSetsMetadataSummary() = default;
33 AWS_MEDICALIMAGING_API ImageSetsMetadataSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetImageSetId() const { return m_imageSetId; }
42 inline bool ImageSetIdHasBeenSet() const { return m_imageSetIdHasBeenSet; }
43 template <typename ImageSetIdT = Aws::String>
44 void SetImageSetId(ImageSetIdT&& value) {
45 m_imageSetIdHasBeenSet = true;
46 m_imageSetId = std::forward<ImageSetIdT>(value);
47 }
48 template <typename ImageSetIdT = Aws::String>
50 SetImageSetId(std::forward<ImageSetIdT>(value));
51 return *this;
52 }
54
56
59 inline int GetVersion() const { return m_version; }
60 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
61 inline void SetVersion(int value) {
62 m_versionHasBeenSet = true;
63 m_version = value;
64 }
66 SetVersion(value);
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 template <typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) {
80 m_createdAtHasBeenSet = true;
81 m_createdAt = std::forward<CreatedAtT>(value);
82 }
83 template <typename CreatedAtT = Aws::Utils::DateTime>
85 SetCreatedAt(std::forward<CreatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
95 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
96 template <typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(UpdatedAtT&& value) {
98 m_updatedAtHasBeenSet = true;
99 m_updatedAt = std::forward<UpdatedAtT>(value);
100 }
101 template <typename UpdatedAtT = Aws::Utils::DateTime>
103 SetUpdatedAt(std::forward<UpdatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetLastAccessedAt() const { return m_lastAccessedAt; }
113 inline bool LastAccessedAtHasBeenSet() const { return m_lastAccessedAtHasBeenSet; }
114 template <typename LastAccessedAtT = Aws::Utils::DateTime>
115 void SetLastAccessedAt(LastAccessedAtT&& value) {
116 m_lastAccessedAtHasBeenSet = true;
117 m_lastAccessedAt = std::forward<LastAccessedAtT>(value);
118 }
119 template <typename LastAccessedAtT = Aws::Utils::DateTime>
121 SetLastAccessedAt(std::forward<LastAccessedAtT>(value));
122 return *this;
123 }
125
127
130 inline StorageTier GetStorageTier() const { return m_storageTier; }
131 inline bool StorageTierHasBeenSet() const { return m_storageTierHasBeenSet; }
132 inline void SetStorageTier(StorageTier value) {
133 m_storageTierHasBeenSet = true;
134 m_storageTier = value;
135 }
137 SetStorageTier(value);
138 return *this;
139 }
141
143
146 inline const DICOMTags& GetDICOMTags() const { return m_dICOMTags; }
147 inline bool DICOMTagsHasBeenSet() const { return m_dICOMTagsHasBeenSet; }
148 template <typename DICOMTagsT = DICOMTags>
149 void SetDICOMTags(DICOMTagsT&& value) {
150 m_dICOMTagsHasBeenSet = true;
151 m_dICOMTags = std::forward<DICOMTagsT>(value);
152 }
153 template <typename DICOMTagsT = DICOMTags>
155 SetDICOMTags(std::forward<DICOMTagsT>(value));
156 return *this;
157 }
159
161
164 inline bool GetIsPrimary() const { return m_isPrimary; }
165 inline bool IsPrimaryHasBeenSet() const { return m_isPrimaryHasBeenSet; }
166 inline void SetIsPrimary(bool value) {
167 m_isPrimaryHasBeenSet = true;
168 m_isPrimary = value;
169 }
171 SetIsPrimary(value);
172 return *this;
173 }
175 private:
176 Aws::String m_imageSetId;
177
178 int m_version{0};
179
180 Aws::Utils::DateTime m_createdAt{};
181
182 Aws::Utils::DateTime m_updatedAt{};
183
184 Aws::Utils::DateTime m_lastAccessedAt{};
185
186 StorageTier m_storageTier{StorageTier::NOT_SET};
187
188 DICOMTags m_dICOMTags;
189
190 bool m_isPrimary{false};
191 bool m_imageSetIdHasBeenSet = false;
192 bool m_versionHasBeenSet = false;
193 bool m_createdAtHasBeenSet = false;
194 bool m_updatedAtHasBeenSet = false;
195 bool m_lastAccessedAtHasBeenSet = false;
196 bool m_storageTierHasBeenSet = false;
197 bool m_dICOMTagsHasBeenSet = false;
198 bool m_isPrimaryHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace MedicalImaging
203} // namespace Aws
ImageSetsMetadataSummary & WithDICOMTags(DICOMTagsT &&value)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
ImageSetsMetadataSummary & WithStorageTier(StorageTier value)
AWS_MEDICALIMAGING_API ImageSetsMetadataSummary(Aws::Utils::Json::JsonView jsonValue)
ImageSetsMetadataSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_MEDICALIMAGING_API ImageSetsMetadataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageSetsMetadataSummary & WithLastAccessedAt(LastAccessedAtT &&value)
AWS_MEDICALIMAGING_API ImageSetsMetadataSummary()=default
ImageSetsMetadataSummary & WithCreatedAt(CreatedAtT &&value)
ImageSetsMetadataSummary & WithImageSetId(ImageSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue