AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIdNamespaceAssociationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/IdNamespaceAssociationInputReferenceConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/cleanrooms/model/IdMappingConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CleanRooms
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLEANROOMS_API CreateIdNamespaceAssociationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIdNamespaceAssociation"; }
34
35 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
44 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
45 template<typename MembershipIdentifierT = Aws::String>
46 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
47 template<typename MembershipIdentifierT = Aws::String>
48 CreateIdNamespaceAssociationRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
50
52
56 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const { return m_inputReferenceConfig; }
57 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
58 template<typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
59 void SetInputReferenceConfig(InputReferenceConfigT&& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = std::forward<InputReferenceConfigT>(value); }
60 template<typename InputReferenceConfigT = IdNamespaceAssociationInputReferenceConfig>
61 CreateIdNamespaceAssociationRequest& WithInputReferenceConfig(InputReferenceConfigT&& value) { SetInputReferenceConfig(std::forward<InputReferenceConfigT>(value)); return *this;}
63
65
71 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
72 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
73 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
74 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
75 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
76 CreateIdNamespaceAssociationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
77 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
78 CreateIdNamespaceAssociationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
79 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
80 }
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 template<typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
91 template<typename NameT = Aws::String>
92 CreateIdNamespaceAssociationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
94
96
99 inline const Aws::String& GetDescription() const { return m_description; }
100 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
101 template<typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
103 template<typename DescriptionT = Aws::String>
104 CreateIdNamespaceAssociationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
106
108
111 inline const IdMappingConfig& GetIdMappingConfig() const { return m_idMappingConfig; }
112 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
113 template<typename IdMappingConfigT = IdMappingConfig>
114 void SetIdMappingConfig(IdMappingConfigT&& value) { m_idMappingConfigHasBeenSet = true; m_idMappingConfig = std::forward<IdMappingConfigT>(value); }
115 template<typename IdMappingConfigT = IdMappingConfig>
116 CreateIdNamespaceAssociationRequest& WithIdMappingConfig(IdMappingConfigT&& value) { SetIdMappingConfig(std::forward<IdMappingConfigT>(value)); return *this;}
118 private:
119
120 Aws::String m_membershipIdentifier;
121 bool m_membershipIdentifierHasBeenSet = false;
122
123 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
124 bool m_inputReferenceConfigHasBeenSet = false;
125
127 bool m_tagsHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 IdMappingConfig m_idMappingConfig;
136 bool m_idMappingConfigHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace CleanRooms
141} // 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