AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateRegistryResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.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 CreateRegistryResult() = default;
29
31
34 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
35 template <typename RegistryArnT = Aws::String>
36 void SetRegistryArn(RegistryArnT&& value) {
37 m_registryArnHasBeenSet = true;
38 m_registryArn = std::forward<RegistryArnT>(value);
39 }
40 template <typename RegistryArnT = Aws::String>
41 CreateRegistryResult& WithRegistryArn(RegistryArnT&& value) {
42 SetRegistryArn(std::forward<RegistryArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetRegistryName() const { return m_registryName; }
52 template <typename RegistryNameT = Aws::String>
53 void SetRegistryName(RegistryNameT&& value) {
54 m_registryNameHasBeenSet = true;
55 m_registryName = std::forward<RegistryNameT>(value);
56 }
57 template <typename RegistryNameT = Aws::String>
58 CreateRegistryResult& WithRegistryName(RegistryNameT&& value) {
59 SetRegistryName(std::forward<RegistryNameT>(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 CreateRegistryResult& WithDescription(DescriptionT&& value) {
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) {
88 m_tagsHasBeenSet = true;
89 m_tags = std::forward<TagsT>(value);
90 }
91 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 SetTags(std::forward<TagsT>(value));
94 return *this;
95 }
96 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
97 CreateRegistryResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 return *this;
101 }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template <typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) {
109 m_requestIdHasBeenSet = true;
110 m_requestId = std::forward<RequestIdT>(value);
111 }
112 template <typename RequestIdT = Aws::String>
113 CreateRegistryResult& WithRequestId(RequestIdT&& value) {
114 SetRequestId(std::forward<RequestIdT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_registryArn;
120
121 Aws::String m_registryName;
122
123 Aws::String m_description;
124
126
127 Aws::String m_requestId;
128 bool m_registryArnHasBeenSet = false;
129 bool m_registryNameHasBeenSet = false;
130 bool m_descriptionHasBeenSet = false;
131 bool m_tagsHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Glue
137} // namespace Aws
CreateRegistryResult & WithDescription(DescriptionT &&value)
CreateRegistryResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRegistryResult & WithRegistryArn(RegistryArnT &&value)
CreateRegistryResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDescription() const
AWS_GLUE_API CreateRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegistryResult & WithRequestId(RequestIdT &&value)
CreateRegistryResult & WithRegistryName(RegistryNameT &&value)
const Aws::String & GetRegistryArn() const
const Aws::String & GetRegistryName() const
AWS_GLUE_API CreateRegistryResult()=default
AWS_GLUE_API CreateRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegistryName(RegistryNameT &&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