AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateRegistryRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.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 Schemas
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SCHEMAS_API CreateRegistryRequest() = default;
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_SCHEMAS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 CreateRegistryRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetRegistryName() const { return m_registryName; }
53 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
54 template<typename RegistryNameT = Aws::String>
55 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
56 template<typename RegistryNameT = Aws::String>
57 CreateRegistryRequest& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
59
61
64 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
65 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
66 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
67 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
68 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 CreateRegistryRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
70 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
71 CreateRegistryRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
72 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
73 }
75 private:
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 Aws::String m_registryName;
81 bool m_registryNameHasBeenSet = false;
82
84 bool m_tagsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Schemas
89} // namespace Aws
AWS_SCHEMAS_API Aws::String SerializePayload() const override
CreateRegistryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateRegistryRequest & WithRegistryName(RegistryNameT &&value)
CreateRegistryRequest & WithDescription(DescriptionT &&value)
AWS_SCHEMAS_API CreateRegistryRequest()=default
CreateRegistryRequest & WithTags(TagsT &&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