AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateIdNamespaceAssociationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/IdMappingConfig.h>
10#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace CleanRooms {
18namespace Model {
19
23 public:
24 AWS_CLEANROOMS_API CreateIdNamespaceAssociationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateIdNamespaceAssociation"; }
31
32 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
40 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
41 template <typename MembershipIdentifierT = Aws::String>
42 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
43 m_membershipIdentifierHasBeenSet = true;
44 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
45 }
46 template <typename MembershipIdentifierT = Aws::String>
48 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
49 return *this;
50 }
52
54
58 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
59 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
60 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
61 void SetInputReferenceConfig(InputReferenceConfigT&& value) {
62 m_inputReferenceConfigHasBeenSet = true;
63 m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value);
64 }
65 template <typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
67 SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 void SetTags(TagsT&& value) {
83 m_tagsHasBeenSet = true;
84 m_tags = std::forward<TagsT>(value);
85 }
86 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 SetTags(std::forward<TagsT>(value));
89 return *this;
90 }
91 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
92 CreateIdNamespaceAssociationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
93 m_tagsHasBeenSet = true;
94 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetName() const { return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetDescription() const { return m_description; }
122 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
123 template <typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) {
125 m_descriptionHasBeenSet = true;
126 m_description = std::forward<DescriptionT>(value);
127 }
128 template <typename DescriptionT = Aws::String>
130 SetDescription(std::forward<DescriptionT>(value));
131 return *this;
132 }
134
136
139 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
140 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
141 template <typename IdMappingConfigT = IdMappingConfig>
142 void SetIdMappingConfig(IdMappingConfigT&& value) {
143 m_idMappingConfigHasBeenSet = true;
144 m_idMappingConfig = std::forward<IdMappingConfigT>(value);
145 }
146 template <typename IdMappingConfigT = IdMappingConfig>
148 SetIdMappingConfig(std::forward<IdMappingConfigT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_membershipIdentifier;
154
155 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
156
158
159 Aws::String m_name;
160
161 Aws::String m_description;
162
163 IdMappingConfig m_idMappingConfig;
164 bool m_membershipIdentifierHasBeenSet = false;
165 bool m_inputReferenceConfigHasBeenSet = false;
166 bool m_tagsHasBeenSet = false;
167 bool m_nameHasBeenSet = false;
168 bool m_descriptionHasBeenSet = false;
169 bool m_idMappingConfigHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace CleanRooms
174} // namespace Aws
const IdNamespaceAssociationInputReferenceConfig & GetInputReferenceConfig() const
CreateIdNamespaceAssociationRequest & WithIdMappingConfig(IdMappingConfigT &&value)
CreateIdNamespaceAssociationRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
CreateIdNamespaceAssociationRequest & WithDescription(DescriptionT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateIdNamespaceAssociationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CLEANROOMS_API CreateIdNamespaceAssociationRequest()=default
CreateIdNamespaceAssociationRequest & WithInputReferenceConfig(InputReferenceConfigT &&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