AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DatastoreSummary& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;}
52 inline DatastoreSummary& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;}
53 inline DatastoreSummary& 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 DatastoreSummary& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
66 inline DatastoreSummary& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
67 inline DatastoreSummary& 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 DatastoreSummary& WithDatastoreStatus(const DatastoreStatus& value) { SetDatastoreStatus(value); return *this;}
79 inline DatastoreSummary& WithDatastoreStatus(DatastoreStatus&& value) { SetDatastoreStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDatastoreArn() const{ return m_datastoreArn; }
87 inline bool DatastoreArnHasBeenSet() const { return m_datastoreArnHasBeenSet; }
88 inline void SetDatastoreArn(const Aws::String& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = value; }
89 inline void SetDatastoreArn(Aws::String&& value) { m_datastoreArnHasBeenSet = true; m_datastoreArn = std::move(value); }
90 inline void SetDatastoreArn(const char* value) { m_datastoreArnHasBeenSet = true; m_datastoreArn.assign(value); }
91 inline DatastoreSummary& WithDatastoreArn(const Aws::String& value) { SetDatastoreArn(value); return *this;}
92 inline DatastoreSummary& WithDatastoreArn(Aws::String&& value) { SetDatastoreArn(std::move(value)); return *this;}
93 inline DatastoreSummary& WithDatastoreArn(const char* value) { SetDatastoreArn(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
101 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
102 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
103 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
104 inline DatastoreSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
105 inline DatastoreSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
113 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
114 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
115 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
116 inline DatastoreSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
117 inline DatastoreSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_datastoreId;
122 bool m_datastoreIdHasBeenSet = false;
123
124 Aws::String m_datastoreName;
125 bool m_datastoreNameHasBeenSet = false;
126
127 DatastoreStatus m_datastoreStatus;
128 bool m_datastoreStatusHasBeenSet = false;
129
130 Aws::String m_datastoreArn;
131 bool m_datastoreArnHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdAt;
134 bool m_createdAtHasBeenSet = false;
135
136 Aws::Utils::DateTime m_updatedAt;
137 bool m_updatedAtHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace MedicalImaging
142} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDatastoreId(const Aws::String &value)
DatastoreSummary & WithDatastoreArn(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_MEDICALIMAGING_API DatastoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DatastoreStatus & GetDatastoreStatus() const
DatastoreSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
DatastoreSummary & WithDatastoreId(const Aws::String &value)
void SetDatastoreStatus(DatastoreStatus &&value)
DatastoreSummary & WithDatastoreName(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DatastoreSummary & WithDatastoreArn(const char *value)
DatastoreSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
DatastoreSummary & WithDatastoreArn(const Aws::String &value)
DatastoreSummary & WithDatastoreName(const char *value)
DatastoreSummary & WithDatastoreId(Aws::String &&value)
DatastoreSummary & WithDatastoreStatus(const DatastoreStatus &value)
DatastoreSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetDatastoreArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
DatastoreSummary & WithDatastoreId(const char *value)
void SetDatastoreStatus(const DatastoreStatus &value)
DatastoreSummary & WithDatastoreName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DatastoreSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
DatastoreSummary & WithDatastoreStatus(DatastoreStatus &&value)
void SetDatastoreName(const Aws::String &value)
AWS_MEDICALIMAGING_API DatastoreSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDICALIMAGING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue