AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DatastoreProperties.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/medical-imaging/model/DatastoreStatus.h>
10#include <aws/core/utils/DateTime.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 DatastoreProperties() = default;
37 AWS_MEDICALIMAGING_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDICALIMAGING_API DatastoreProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
47 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
48 template<typename DatastoreIdT = Aws::String>
49 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
50 template<typename DatastoreIdT = Aws::String>
51 DatastoreProperties& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
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) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::forward<DatastoreNameT>(value); }
62 template<typename DatastoreNameT = Aws::String>
63 DatastoreProperties& WithDatastoreName(DatastoreNameT&& value) { SetDatastoreName(std::forward<DatastoreNameT>(value)); return *this;}
65
67
70 inline DatastoreStatus GetDatastoreStatus() const { return m_datastoreStatus; }
71 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
72 inline void SetDatastoreStatus(DatastoreStatus value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = value; }
75
77
81 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
82 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
83 template<typename KmsKeyArnT = Aws::String>
84 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
85 template<typename KmsKeyArnT = Aws::String>
86 DatastoreProperties& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
94 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
95 template<typename DatastoreArnT = Aws::String>
96 void SetDatastoreArn(DatastoreArnT&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::forward<DatastoreArnT>(value); }
97 template<typename DatastoreArnT = Aws::String>
98 DatastoreProperties& WithDatastoreArn(DatastoreArnT&& value) { SetDatastoreArn(std::forward<DatastoreArnT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
106 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
107 template<typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
109 template<typename CreatedAtT = Aws::Utils::DateTime>
110 DatastoreProperties& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
118 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
119 template<typename UpdatedAtT = Aws::Utils::DateTime>
120 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
121 template<typename UpdatedAtT = Aws::Utils::DateTime>
122 DatastoreProperties& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
124 private:
125
126 Aws::String m_datastoreId;
127 bool m_datastoreIdHasBeenSet = false;
128
129 Aws::String m_datastoreName;
130 bool m_datastoreNameHasBeenSet = false;
131
132 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
133 bool m_datastoreStatusHasBeenSet = false;
134
135 Aws::String m_kmsKeyArn;
136 bool m_kmsKeyArnHasBeenSet = false;
137
138 Aws::String m_datastoreArn;
139 bool m_datastoreArnHasBeenSet = false;
140
141 Aws::Utils::DateTime m_createdAt{};
142 bool m_createdAtHasBeenSet = false;
143
144 Aws::Utils::DateTime m_updatedAt{};
145 bool m_updatedAtHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace MedicalImaging
150} // 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)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue