AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DatastoreSummary.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 DatastoreSummary() = default;
37 AWS_MEDICALIMAGING_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDICALIMAGING_API DatastoreSummary& 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 DatastoreSummary& 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 DatastoreSummary& 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
80 inline const Aws::String& GetDatastoreArn() const { return m_datastoreArn; }
81 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
82 template<typename DatastoreArnT = Aws::String>
83 void SetDatastoreArn(DatastoreArnT&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::forward<DatastoreArnT>(value); }
84 template<typename DatastoreArnT = Aws::String>
85 DatastoreSummary& WithDatastoreArn(DatastoreArnT&& value) { SetDatastoreArn(std::forward<DatastoreArnT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
93 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
94 template<typename CreatedAtT = Aws::Utils::DateTime>
95 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
96 template<typename CreatedAtT = Aws::Utils::DateTime>
97 DatastoreSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
105 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
106 template<typename UpdatedAtT = Aws::Utils::DateTime>
107 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
108 template<typename UpdatedAtT = Aws::Utils::DateTime>
109 DatastoreSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
111 private:
112
113 Aws::String m_datastoreId;
114 bool m_datastoreIdHasBeenSet = false;
115
116 Aws::String m_datastoreName;
117 bool m_datastoreNameHasBeenSet = false;
118
119 DatastoreStatus m_datastoreStatus{DatastoreStatus::NOT_SET};
120 bool m_datastoreStatusHasBeenSet = false;
121
122 Aws::String m_datastoreArn;
123 bool m_datastoreArnHasBeenSet = false;
124
125 Aws::Utils::DateTime m_createdAt{};
126 bool m_createdAtHasBeenSet = false;
127
128 Aws::Utils::DateTime m_updatedAt{};
129 bool m_updatedAtHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace MedicalImaging
134} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_MEDICALIMAGING_API DatastoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastoreSummary & WithUpdatedAt(UpdatedAtT &&value)
DatastoreSummary & WithDatastoreName(DatastoreNameT &&value)
DatastoreSummary & WithCreatedAt(CreatedAtT &&value)
AWS_MEDICALIMAGING_API DatastoreSummary()=default
void SetDatastoreStatus(DatastoreStatus value)
DatastoreSummary & WithDatastoreArn(DatastoreArnT &&value)
DatastoreSummary & WithDatastoreStatus(DatastoreStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDatastoreName(DatastoreNameT &&value)
AWS_MEDICALIMAGING_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
DatastoreSummary & WithDatastoreId(DatastoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue