AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateRegistryRequest.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/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API CreateRegistryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateRegistry"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::String& GetRegistryName() const { return m_registryName; }
41 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
42 template <typename RegistryNameT = Aws::String>
43 void SetRegistryName(RegistryNameT&& value) {
44 m_registryNameHasBeenSet = true;
45 m_registryName = std::forward<RegistryNameT>(value);
46 }
47 template <typename RegistryNameT = Aws::String>
48 CreateRegistryRequest& WithRegistryName(RegistryNameT&& value) {
49 SetRegistryName(std::forward<RegistryNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 CreateRegistryRequest& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) {
82 m_tagsHasBeenSet = true;
83 m_tags = std::forward<TagsT>(value);
84 }
85 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 SetTags(std::forward<TagsT>(value));
88 return *this;
89 }
90 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
91 CreateRegistryRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
92 m_tagsHasBeenSet = true;
93 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_registryName;
99
100 Aws::String m_description;
101
103 bool m_registryNameHasBeenSet = false;
104 bool m_descriptionHasBeenSet = false;
105 bool m_tagsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Glue
110} // namespace Aws
CreateRegistryRequest & WithRegistryName(RegistryNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRegistryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRegistryRequest & WithTags(TagsT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API CreateRegistryRequest()=default
CreateRegistryRequest & WithDescription(DescriptionT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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