AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRegistryResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Schemas
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SCHEMAS_API CreateRegistryResult() = default;
34
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 template<typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
43 template<typename DescriptionT = Aws::String>
44 CreateRegistryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
46
48
51 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
52 template<typename RegistryArnT = Aws::String>
53 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::forward<RegistryArnT>(value); }
54 template<typename RegistryArnT = Aws::String>
55 CreateRegistryResult& WithRegistryArn(RegistryArnT&& value) { SetRegistryArn(std::forward<RegistryArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetRegistryName() const { return m_registryName; }
63 template<typename RegistryNameT = Aws::String>
64 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
65 template<typename RegistryNameT = Aws::String>
66 CreateRegistryResult& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
74 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
75 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
76 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 CreateRegistryResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
78 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
79 CreateRegistryResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
80 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 CreateRegistryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_registryArn;
98 bool m_registryArnHasBeenSet = false;
99
100 Aws::String m_registryName;
101 bool m_registryNameHasBeenSet = false;
102
104 bool m_tagsHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Schemas
112} // namespace Aws
CreateRegistryResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateRegistryResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRegistryResult & WithRegistryName(RegistryNameT &&value)
CreateRegistryResult & WithRegistryArn(RegistryArnT &&value)
AWS_SCHEMAS_API CreateRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API CreateRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API CreateRegistryResult()=default
CreateRegistryResult & WithDescription(DescriptionT &&value)
CreateRegistryResult & WithRequestId(RequestIdT &&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
Aws::Utils::Json::JsonValue JsonValue