AWS SDK for C++  1.8.127
AWS SDK for C++
CreateRegistryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Schemas
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDescription() const{ return m_description; }
40 
44  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 
49  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 
54  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
55 
59  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 
64  inline CreateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 
69  inline CreateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 
74  inline CreateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
75 
76 
80  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
81 
85  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
86 
90  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
91 
95  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
96 
100  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
101 
105  inline CreateRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
106 
110  inline CreateRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
111 
115  inline CreateRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
116 
117 
121  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
122 
126  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 
131  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 
136  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
137 
141  inline CreateRegistryRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
142 
146  inline CreateRegistryRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
147 
151  inline CreateRegistryRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
152 
156  inline CreateRegistryRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
157 
161  inline CreateRegistryRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 
166  inline CreateRegistryRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
167 
171  inline CreateRegistryRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
172 
176  inline CreateRegistryRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
177 
181  inline CreateRegistryRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
182 
183  private:
184 
185  Aws::String m_description;
186  bool m_descriptionHasBeenSet;
187 
188  Aws::String m_registryName;
189  bool m_registryNameHasBeenSet;
190 
192  bool m_tagsHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Schemas
197 } // namespace Aws
Aws::Schemas::Model::CreateRegistryRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateRegistryRequest.h:44
Aws::Schemas::Model::CreateRegistryRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRegistryRequest.h:131
Aws::Schemas::Model::CreateRegistryRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: CreateRegistryRequest.h:85
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::CreateRegistryRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateRegistryRequest.h:39
SchemasRequest.h
Aws::Schemas::Model::CreateRegistryRequest::WithRegistryName
CreateRegistryRequest & WithRegistryName(const Aws::String &value)
Definition: CreateRegistryRequest.h:105
Aws::Schemas::Model::CreateRegistryRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: CreateRegistryRequest.h:100
Aws::Schemas::Model::CreateRegistryRequest::WithDescription
CreateRegistryRequest & WithDescription(const Aws::String &value)
Definition: CreateRegistryRequest.h:64
Aws::Schemas::Model::CreateRegistryRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateRegistryRequest.h:49
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(const char *key, const char *value)
Definition: CreateRegistryRequest.h:181
Aws::Schemas::Model::CreateRegistryRequest::WithTags
CreateRegistryRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateRegistryRequest.h:141
Aws::Schemas::Model::CreateRegistryRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateRegistryRequest.h:59
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateRegistryRequest.h:171
Schemas_EXPORTS.h
Aws::Schemas::Model::CreateRegistryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateRegistryRequest.h:31
Aws::Schemas::Model::CreateRegistryRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: CreateRegistryRequest.h:95
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateRegistryRequest.h:151
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateRegistryRequest.h:156
Aws::Schemas::Model::CreateRegistryRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: CreateRegistryRequest.h:90
Aws::Schemas::Model::CreateRegistryRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRegistryRequest.h:136
Aws::Schemas::Model::CreateRegistryRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: CreateRegistryRequest.h:80
AWSString.h
Aws::Schemas::Model::CreateRegistryRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateRegistryRequest.h:126
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateRegistryRequest.h:166
Aws::Schemas::Model::CreateRegistryRequest::WithRegistryName
CreateRegistryRequest & WithRegistryName(Aws::String &&value)
Definition: CreateRegistryRequest.h:110
Aws::Schemas::Model::CreateRegistryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::CreateRegistryRequest::WithTags
CreateRegistryRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateRegistryRequest.h:146
Aws::Schemas::Model::CreateRegistryRequest::WithRegistryName
CreateRegistryRequest & WithRegistryName(const char *value)
Definition: CreateRegistryRequest.h:115
Aws::Schemas::Model::CreateRegistryRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateRegistryRequest.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::CreateRegistryRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateRegistryRequest.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::CreateRegistryRequest::WithDescription
CreateRegistryRequest & WithDescription(Aws::String &&value)
Definition: CreateRegistryRequest.h:69
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
AWSMap.h
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateRegistryRequest.h:176
Aws::Schemas::Model::CreateRegistryRequest::AddTags
CreateRegistryRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateRegistryRequest.h:161
Aws::Schemas::Model::CreateRegistryRequest
Definition: CreateRegistryRequest.h:23
Aws::Schemas::Model::CreateRegistryRequest::CreateRegistryRequest
CreateRegistryRequest()
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Schemas::Model::CreateRegistryRequest::WithDescription
CreateRegistryRequest & WithDescription(const char *value)
Definition: CreateRegistryRequest.h:74