AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ImageSetsMetadataSummary.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/medical-imaging/model/DICOMTags.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 MedicalImaging
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDICALIMAGING_API ImageSetsMetadataSummary() = default;
37 AWS_MEDICALIMAGING_API ImageSetsMetadataSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImageSetId() const { return m_imageSetId; }
47 inline bool ImageSetIdHasBeenSet() const { return m_imageSetIdHasBeenSet; }
48 template<typename ImageSetIdT = Aws::String>
49 void SetImageSetId(ImageSetIdT&& value) { m_imageSetIdHasBeenSet = true; m_imageSetId = std::forward<ImageSetIdT>(value); }
50 template<typename ImageSetIdT = Aws::String>
51 ImageSetsMetadataSummary& WithImageSetId(ImageSetIdT&& value) { SetImageSetId(std::forward<ImageSetIdT>(value)); return *this;}
53
55
58 inline int GetVersion() const { return m_version; }
59 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
60 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
61 inline ImageSetsMetadataSummary& WithVersion(int value) { SetVersion(value); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
70 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
71 template<typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 ImageSetsMetadataSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
82 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
83 template<typename UpdatedAtT = Aws::Utils::DateTime>
84 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
85 template<typename UpdatedAtT = Aws::Utils::DateTime>
86 ImageSetsMetadataSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
88
90
93 inline const DICOMTags& GetDICOMTags() const { return m_dICOMTags; }
94 inline bool DICOMTagsHasBeenSet() const { return m_dICOMTagsHasBeenSet; }
95 template<typename DICOMTagsT = DICOMTags>
96 void SetDICOMTags(DICOMTagsT&& value) { m_dICOMTagsHasBeenSet = true; m_dICOMTags = std::forward<DICOMTagsT>(value); }
97 template<typename DICOMTagsT = DICOMTags>
98 ImageSetsMetadataSummary& WithDICOMTags(DICOMTagsT&& value) { SetDICOMTags(std::forward<DICOMTagsT>(value)); return *this;}
100
102
105 inline bool GetIsPrimary() const { return m_isPrimary; }
106 inline bool IsPrimaryHasBeenSet() const { return m_isPrimaryHasBeenSet; }
107 inline void SetIsPrimary(bool value) { m_isPrimaryHasBeenSet = true; m_isPrimary = value; }
108 inline ImageSetsMetadataSummary& WithIsPrimary(bool value) { SetIsPrimary(value); return *this;}
110 private:
111
112 Aws::String m_imageSetId;
113 bool m_imageSetIdHasBeenSet = false;
114
115 int m_version{0};
116 bool m_versionHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdAt{};
119 bool m_createdAtHasBeenSet = false;
120
121 Aws::Utils::DateTime m_updatedAt{};
122 bool m_updatedAtHasBeenSet = false;
123
124 DICOMTags m_dICOMTags;
125 bool m_dICOMTagsHasBeenSet = false;
126
127 bool m_isPrimary{false};
128 bool m_isPrimaryHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace MedicalImaging
133} // namespace Aws
ImageSetsMetadataSummary & WithDICOMTags(DICOMTagsT &&value)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDICALIMAGING_API ImageSetsMetadataSummary(Aws::Utils::Json::JsonView jsonValue)
ImageSetsMetadataSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_MEDICALIMAGING_API ImageSetsMetadataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
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