AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRegistryRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API CreateRegistryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateRegistry"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
45 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
46 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
47 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
48 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
49 inline CreateRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
50 inline CreateRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
51 inline CreateRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
53
55
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CreateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CreateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CreateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
77 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
78 inline CreateRegistryRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
79 inline CreateRegistryRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline CreateRegistryRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline CreateRegistryRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline CreateRegistryRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline CreateRegistryRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline CreateRegistryRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateRegistryRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline CreateRegistryRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_registryName;
91 bool m_registryNameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
CreateRegistryRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRegistryRequest & WithDescription(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRegistryRequest & WithRegistryName(const char *value)
CreateRegistryRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRegistryRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRegistryRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateRegistryRequest & WithRegistryName(Aws::String &&value)
CreateRegistryRequest & AddTags(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateRegistryRequest & AddTags(const char *key, const char *value)
CreateRegistryRequest & WithRegistryName(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateRegistryRequest & WithDescription(Aws::String &&value)
CreateRegistryRequest & WithDescription(const Aws::String &value)
void SetRegistryName(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRegistryRequest & AddTags(const char *key, Aws::String &&value)
CreateRegistryRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRegistryRequest & AddTags(Aws::String &&key, const char *value)
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