AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteRegistryResult.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 DeleteRegistryResult() = 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 DeleteRegistryResult& 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 DeleteRegistryResult& WithRegistryArn(RegistryArnT&& value) {
60 SetRegistryArn(std::forward<RegistryArnT>(value));
61 return *this;
62 }
64
66
70 inline RegistryStatus GetStatus() const { return m_status; }
71 inline void SetStatus(RegistryStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 DeleteRegistryResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_registryName;
99
100 Aws::String m_registryArn;
101
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_registryNameHasBeenSet = false;
107 bool m_registryArnHasBeenSet = false;
108 bool m_statusHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
const Aws::String & GetRegistryName() const
DeleteRegistryResult & WithRegistryArn(RegistryArnT &&value)
AWS_GLUE_API DeleteRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRegistryResult & WithStatus(RegistryStatus value)
AWS_GLUE_API DeleteRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegistryName(RegistryNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GLUE_API DeleteRegistryResult()=default
const Aws::String & GetRegistryArn() const
DeleteRegistryResult & WithRegistryName(RegistryNameT &&value)
DeleteRegistryResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue