AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeRegistryResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/Schemas_EXPORTS.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 Schemas {
24namespace Model {
26 public:
27 AWS_SCHEMAS_API DescribeRegistryResult() = default;
30
32
35 inline const Aws::String& GetDescription() const { return m_description; }
36 template <typename DescriptionT = Aws::String>
37 void SetDescription(DescriptionT&& value) {
38 m_descriptionHasBeenSet = true;
39 m_description = std::forward<DescriptionT>(value);
40 }
41 template <typename DescriptionT = Aws::String>
42 DescribeRegistryResult& WithDescription(DescriptionT&& value) {
43 SetDescription(std::forward<DescriptionT>(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 DescribeRegistryResult& WithRegistryArn(RegistryArnT&& value) {
60 SetRegistryArn(std::forward<RegistryArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetRegistryName() const { return m_registryName; }
70 template <typename RegistryNameT = Aws::String>
71 void SetRegistryName(RegistryNameT&& value) {
72 m_registryNameHasBeenSet = true;
73 m_registryName = std::forward<RegistryNameT>(value);
74 }
75 template <typename RegistryNameT = Aws::String>
76 DescribeRegistryResult& WithRegistryName(RegistryNameT&& value) {
77 SetRegistryName(std::forward<RegistryNameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
87 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 void SetTags(TagsT&& value) {
89 m_tagsHasBeenSet = true;
90 m_tags = std::forward<TagsT>(value);
91 }
92 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 SetTags(std::forward<TagsT>(value));
95 return *this;
96 }
97 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
98 DescribeRegistryResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
99 m_tagsHasBeenSet = true;
100 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_description;
123
124 Aws::String m_registryArn;
125
126 Aws::String m_registryName;
127
129
130 Aws::String m_requestId;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_descriptionHasBeenSet = false;
133 bool m_registryArnHasBeenSet = false;
134 bool m_registryNameHasBeenSet = false;
135 bool m_tagsHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Schemas
141} // namespace Aws
DescribeRegistryResult & WithRegistryArn(RegistryArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeRegistryResult & WithRequestId(RequestIdT &&value)
DescribeRegistryResult & WithRegistryName(RegistryNameT &&value)
AWS_SCHEMAS_API DescribeRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API DescribeRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRegistryResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SCHEMAS_API DescribeRegistryResult()=default
DescribeRegistryResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeRegistryResult & WithDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue