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/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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
45 inline CreateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
55 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
56 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
57 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
58 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
59 inline CreateRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
60 inline CreateRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
61 inline CreateRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
63
65
68 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
69 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
70 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
71 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
72 inline CreateRegistryRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
73 inline CreateRegistryRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
74 inline CreateRegistryRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
75 inline CreateRegistryRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
76 inline CreateRegistryRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
77 inline CreateRegistryRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
78 inline CreateRegistryRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
79 inline CreateRegistryRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
80 inline CreateRegistryRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
82 private:
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86
87 Aws::String m_registryName;
88 bool m_registryNameHasBeenSet = false;
89
91 bool m_tagsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Schemas
96} // namespace Aws
CreateRegistryRequest & WithDescription(Aws::String &&value)
CreateRegistryRequest & WithDescription(const char *value)
CreateRegistryRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRegistryRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRegistryRequest & WithRegistryName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRegistryRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetRegistryName(const Aws::String &value)
CreateRegistryRequest & WithRegistryName(Aws::String &&value)
CreateRegistryRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRegistryRequest & WithRegistryName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(const Aws::String &value)
CreateRegistryRequest & AddTags(Aws::String &&key, const char *value)
virtual const char * GetServiceRequestName() const override
CreateRegistryRequest & AddTags(const char *key, const char *value)
CreateRegistryRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateRegistryRequest & WithDescription(const Aws::String &value)
CreateRegistryRequest & AddTags(const char *key, Aws::String &&value)
CreateRegistryRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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