AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetRegistryResult.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 {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API GetRegistryResult() = default;
29
31
34 inline const Aws::String& GetRegistryName() const { return m_registryName; }
35 template <typename RegistryNameT = Aws::String>
36 void SetRegistryName(RegistryNameT&& value) {
37 m_registryNameHasBeenSet = true;
38 m_registryName = std::forward<RegistryNameT>(value);
39 }
40 template <typename RegistryNameT = Aws::String>
41 GetRegistryResult& WithRegistryName(RegistryNameT&& value) {
42 SetRegistryName(std::forward<RegistryNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
52 template <typename RegistryArnT = Aws::String>
53 void SetRegistryArn(RegistryArnT&& value) {
54 m_registryArnHasBeenSet = true;
55 m_registryArn = std::forward<RegistryArnT>(value);
56 }
57 template <typename RegistryArnT = Aws::String>
58 GetRegistryResult& WithRegistryArn(RegistryArnT&& value) {
59 SetRegistryArn(std::forward<RegistryArnT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template <typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) {
71 m_descriptionHasBeenSet = true;
72 m_description = std::forward<DescriptionT>(value);
73 }
74 template <typename DescriptionT = Aws::String>
75 GetRegistryResult& WithDescription(DescriptionT&& value) {
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
85 inline RegistryStatus GetStatus() const { return m_status; }
86 inline void SetStatus(RegistryStatus value) {
87 m_statusHasBeenSet = true;
88 m_status = value;
89 }
91 SetStatus(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
101 template <typename CreatedTimeT = Aws::String>
102 void SetCreatedTime(CreatedTimeT&& value) {
103 m_createdTimeHasBeenSet = true;
104 m_createdTime = std::forward<CreatedTimeT>(value);
105 }
106 template <typename CreatedTimeT = Aws::String>
107 GetRegistryResult& WithCreatedTime(CreatedTimeT&& value) {
108 SetCreatedTime(std::forward<CreatedTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetUpdatedTime() const { return m_updatedTime; }
118 template <typename UpdatedTimeT = Aws::String>
119 void SetUpdatedTime(UpdatedTimeT&& value) {
120 m_updatedTimeHasBeenSet = true;
121 m_updatedTime = std::forward<UpdatedTimeT>(value);
122 }
123 template <typename UpdatedTimeT = Aws::String>
124 GetRegistryResult& WithUpdatedTime(UpdatedTimeT&& value) {
125 SetUpdatedTime(std::forward<UpdatedTimeT>(value));
126 return *this;
127 }
129
131
132 inline const Aws::String& GetRequestId() const { return m_requestId; }
133 template <typename RequestIdT = Aws::String>
134 void SetRequestId(RequestIdT&& value) {
135 m_requestIdHasBeenSet = true;
136 m_requestId = std::forward<RequestIdT>(value);
137 }
138 template <typename RequestIdT = Aws::String>
139 GetRegistryResult& WithRequestId(RequestIdT&& value) {
140 SetRequestId(std::forward<RequestIdT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_registryName;
146 bool m_registryNameHasBeenSet = false;
147
148 Aws::String m_registryArn;
149 bool m_registryArnHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 Aws::String m_createdTime;
158 bool m_createdTimeHasBeenSet = false;
159
160 Aws::String m_updatedTime;
161 bool m_updatedTimeHasBeenSet = false;
162
163 Aws::String m_requestId;
164 bool m_requestIdHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace Glue
169} // 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)
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