AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RegistryListItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/RegistryStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API RegistryListItem() = default;
35
37
40 inline const Aws::String& GetRegistryName() const { return m_registryName; }
41 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
42 template <typename RegistryNameT = Aws::String>
43 void SetRegistryName(RegistryNameT&& value) {
44 m_registryNameHasBeenSet = true;
45 m_registryName = std::forward<RegistryNameT>(value);
46 }
47 template <typename RegistryNameT = Aws::String>
48 RegistryListItem& WithRegistryName(RegistryNameT&& value) {
49 SetRegistryName(std::forward<RegistryNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
59 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
60 template <typename RegistryArnT = Aws::String>
61 void SetRegistryArn(RegistryArnT&& value) {
62 m_registryArnHasBeenSet = true;
63 m_registryArn = std::forward<RegistryArnT>(value);
64 }
65 template <typename RegistryArnT = Aws::String>
66 RegistryListItem& WithRegistryArn(RegistryArnT&& value) {
67 SetRegistryArn(std::forward<RegistryArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 RegistryListItem& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline RegistryStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(RegistryStatus value) {
97 m_statusHasBeenSet = true;
98 m_status = value;
99 }
101 SetStatus(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
111 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
112 template <typename CreatedTimeT = Aws::String>
113 void SetCreatedTime(CreatedTimeT&& value) {
114 m_createdTimeHasBeenSet = true;
115 m_createdTime = std::forward<CreatedTimeT>(value);
116 }
117 template <typename CreatedTimeT = Aws::String>
118 RegistryListItem& WithCreatedTime(CreatedTimeT&& value) {
119 SetCreatedTime(std::forward<CreatedTimeT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
129 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
130 template <typename UpdatedTimeT = Aws::String>
131 void SetUpdatedTime(UpdatedTimeT&& value) {
132 m_updatedTimeHasBeenSet = true;
133 m_updatedTime = std::forward<UpdatedTimeT>(value);
134 }
135 template <typename UpdatedTimeT = Aws::String>
136 RegistryListItem& WithUpdatedTime(UpdatedTimeT&& value) {
137 SetUpdatedTime(std::forward<UpdatedTimeT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_registryName;
143
144 Aws::String m_registryArn;
145
146 Aws::String m_description;
147
149
150 Aws::String m_createdTime;
151
152 Aws::String m_updatedTime;
153 bool m_registryNameHasBeenSet = false;
154 bool m_registryArnHasBeenSet = false;
155 bool m_descriptionHasBeenSet = false;
156 bool m_statusHasBeenSet = false;
157 bool m_createdTimeHasBeenSet = false;
158 bool m_updatedTimeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Glue
163} // namespace Aws
AWS_GLUE_API RegistryListItem(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API RegistryListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRegistryArn(RegistryArnT &&value)
RegistryListItem & WithUpdatedTime(UpdatedTimeT &&value)
const Aws::String & GetDescription() const
RegistryListItem & WithRegistryArn(RegistryArnT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRegistryArn() const
void SetUpdatedTime(UpdatedTimeT &&value)
void SetRegistryName(RegistryNameT &&value)
AWS_GLUE_API RegistryListItem()=default
RegistryListItem & WithStatus(RegistryStatus value)
RegistryListItem & WithDescription(DescriptionT &&value)
RegistryListItem & WithRegistryName(RegistryNameT &&value)
void SetStatus(RegistryStatus value)
const Aws::String & GetUpdatedTime() const
void SetCreatedTime(CreatedTimeT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
RegistryListItem & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetCreatedTime() const
const Aws::String & GetRegistryName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue