AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetRegistryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/RegistryStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API GetRegistryResult() = default;
30
32
35 inline const Aws::String& GetRegistryName() const { return m_registryName; }
36 template <typename RegistryNameT = Aws::String>
37 void SetRegistryName(RegistryNameT&& value) {
38 m_registryNameHasBeenSet = true;
39 m_registryName = std::forward<RegistryNameT>(value);
40 }
41 template <typename RegistryNameT = Aws::String>
42 GetRegistryResult& WithRegistryName(RegistryNameT&& value) {
43 SetRegistryName(std::forward<RegistryNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
53 template <typename RegistryArnT = Aws::String>
54 void SetRegistryArn(RegistryArnT&& value) {
55 m_registryArnHasBeenSet = true;
56 m_registryArn = std::forward<RegistryArnT>(value);
57 }
58 template <typename RegistryArnT = Aws::String>
59 GetRegistryResult& WithRegistryArn(RegistryArnT&& value) {
60 SetRegistryArn(std::forward<RegistryArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
76 GetRegistryResult& WithDescription(DescriptionT&& value) {
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
86 inline RegistryStatus GetStatus() const { return m_status; }
87 inline void SetStatus(RegistryStatus value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
102 template <typename CreatedTimeT = Aws::String>
103 void SetCreatedTime(CreatedTimeT&& value) {
104 m_createdTimeHasBeenSet = true;
105 m_createdTime = std::forward<CreatedTimeT>(value);
106 }
107 template <typename CreatedTimeT = Aws::String>
108 GetRegistryResult& WithCreatedTime(CreatedTimeT&& value) {
109 SetCreatedTime(std::forward<CreatedTimeT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
119 template <typename UpdatedTimeT = Aws::String>
120 void SetUpdatedTime(UpdatedTimeT&& value) {
121 m_updatedTimeHasBeenSet = true;
122 m_updatedTime = std::forward<UpdatedTimeT>(value);
123 }
124 template <typename UpdatedTimeT = Aws::String>
125 GetRegistryResult& WithUpdatedTime(UpdatedTimeT&& value) {
126 SetUpdatedTime(std::forward<UpdatedTimeT>(value));
127 return *this;
128 }
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template <typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) {
136 m_requestIdHasBeenSet = true;
137 m_requestId = std::forward<RequestIdT>(value);
138 }
139 template <typename RequestIdT = Aws::String>
140 GetRegistryResult& WithRequestId(RequestIdT&& value) {
141 SetRequestId(std::forward<RequestIdT>(value));
142 return *this;
143 }
145 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
146
147 private:
148 Aws::String m_registryName;
149
150 Aws::String m_registryArn;
151
152 Aws::String m_description;
153
155
156 Aws::String m_createdTime;
157
158 Aws::String m_updatedTime;
159
160 Aws::String m_requestId;
161 Aws::Http::HttpResponseCode m_HttpResponseCode;
162 bool m_registryNameHasBeenSet = false;
163 bool m_registryArnHasBeenSet = false;
164 bool m_descriptionHasBeenSet = false;
165 bool m_statusHasBeenSet = false;
166 bool m_createdTimeHasBeenSet = false;
167 bool m_updatedTimeHasBeenSet = false;
168 bool m_requestIdHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace Glue
173} // namespace Aws
void SetDescription(DescriptionT &&value)
const Aws::String & GetUpdatedTime() const
void SetCreatedTime(CreatedTimeT &&value)
void SetStatus(RegistryStatus value)
const Aws::String & GetRequestId() const
AWS_GLUE_API GetRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegistryResult & WithStatus(RegistryStatus value)
void SetRegistryArn(RegistryArnT &&value)
const Aws::String & GetRegistryName() const
AWS_GLUE_API GetRegistryResult()=default
GetRegistryResult & WithUpdatedTime(UpdatedTimeT &&value)
GetRegistryResult & WithDescription(DescriptionT &&value)
void SetRegistryName(RegistryNameT &&value)
void SetUpdatedTime(UpdatedTimeT &&value)
const Aws::String & GetCreatedTime() const
GetRegistryResult & WithRegistryArn(RegistryArnT &&value)
const Aws::String & GetRegistryArn() const
GetRegistryResult & WithRequestId(RequestIdT &&value)
AWS_GLUE_API GetRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
GetRegistryResult & WithRegistryName(RegistryNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetRegistryResult & WithCreatedTime(CreatedTimeT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue