AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; }
49 inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); }
50 inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); }
51 inline DatastoreProperties& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;}
52 inline DatastoreProperties& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;}
53 inline DatastoreProperties& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;}
55
57
60 inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
61 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
62 inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
63 inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
64 inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
65 inline DatastoreProperties& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
66 inline DatastoreProperties& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
67 inline DatastoreProperties& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
69
71
74 inline const DatastoreStatus& GetDatastoreStatus() const{ return m_datastoreStatus; }
75 inline bool DatastoreStatusHasBeenSet() const { return m_datastoreStatusHasBeenSet; }
76 inline void SetDatastoreStatus(const DatastoreStatus& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = value; }
77 inline void SetDatastoreStatus(DatastoreStatus&& value) { m_datastoreStatusHasBeenSet = true; m_datastoreStatus = std::move(value); }
78 inline DatastoreProperties& WithDatastoreStatus(const DatastoreStatus& value) { SetDatastoreStatus(value); return *this;}
79 inline DatastoreProperties& WithDatastoreStatus(DatastoreStatus&& value) { SetDatastoreStatus(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
88 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
89 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
90 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
91 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
92 inline DatastoreProperties& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
93 inline DatastoreProperties& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
94 inline DatastoreProperties& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
96
98
101 inline const Aws::String& GetDatastoreArn() const{ return m_datastoreArn; }
102 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
103 inline void SetDatastoreArn(const Aws::String& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = value; }
104 inline void SetDatastoreArn(Aws::String&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::move(value); }
105 inline void SetDatastoreArn(const char* value) { m_datastoreArnHasBeenSet = true; m_datastoreArn.assign(value); }
106 inline DatastoreProperties& WithDatastoreArn(const Aws::String& value) { SetDatastoreArn(value); return *this;}
107 inline DatastoreProperties& WithDatastoreArn(Aws::String&& value) { SetDatastoreArn(std::move(value)); return *this;}
108 inline DatastoreProperties& WithDatastoreArn(const char* value) { SetDatastoreArn(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
116 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
117 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
118 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
119 inline DatastoreProperties& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
120 inline DatastoreProperties& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
130 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
131 inline DatastoreProperties& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
132 inline DatastoreProperties& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_datastoreId;
137 bool m_datastoreIdHasBeenSet = false;
138
139 Aws::String m_datastoreName;
140 bool m_datastoreNameHasBeenSet = false;
141
142 DatastoreStatus m_datastoreStatus;
143 bool m_datastoreStatusHasBeenSet = false;
144
145 Aws::String m_kmsKeyArn;
146 bool m_kmsKeyArnHasBeenSet = false;
147
148 Aws::String m_datastoreArn;
149 bool m_datastoreArnHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createdAt;
152 bool m_createdAtHasBeenSet = false;
153
154 Aws::Utils::DateTime m_updatedAt;
155 bool m_updatedAtHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace MedicalImaging
160} // namespace Aws
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
DatastoreProperties & WithDatastoreName(const char *value)
DatastoreProperties & WithDatastoreArn(const char *value)
DatastoreProperties & WithDatastoreArn(const Aws::String &value)
const DatastoreStatus & GetDatastoreStatus() const
DatastoreProperties & WithDatastoreId(Aws::String &&value)
DatastoreProperties & WithDatastoreStatus(DatastoreStatus &&value)
DatastoreProperties & WithUpdatedAt(Aws::Utils::DateTime &&value)
DatastoreProperties & WithKmsKeyArn(Aws::String &&value)
DatastoreProperties & WithDatastoreArn(Aws::String &&value)
DatastoreProperties & WithDatastoreId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DatastoreProperties & WithDatastoreName(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDatastoreStatus(const DatastoreStatus &value)
DatastoreProperties & WithCreatedAt(Aws::Utils::DateTime &&value)
DatastoreProperties & WithKmsKeyArn(const Aws::String &value)
DatastoreProperties & WithUpdatedAt(const Aws::Utils::DateTime &value)
DatastoreProperties & WithKmsKeyArn(const char *value)
DatastoreProperties & WithDatastoreId(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DatastoreProperties & WithDatastoreName(const Aws::String &value)
DatastoreProperties & WithDatastoreStatus(const DatastoreStatus &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_MEDICALIMAGING_API DatastoreProperties(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DatastoreProperties & WithCreatedAt(const Aws::Utils::DateTime &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