AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
46 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
47 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
52
54
58 inline const IdNamespaceAssociationInputReferenceConfig& GetInputReferenceConfig() const{ return m_inputReferenceConfig; }
59 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
60 inline void SetInputReferenceConfig(const IdNamespaceAssociationInputReferenceConfig& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = value; }
61 inline void SetInputReferenceConfig(IdNamespaceAssociationInputReferenceConfig&& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = std::move(value); }
65
67
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
76 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline CreateIdNamespaceAssociationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
80 inline CreateIdNamespaceAssociationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
81 inline CreateIdNamespaceAssociationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
82 inline CreateIdNamespaceAssociationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
83 inline CreateIdNamespaceAssociationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
84 inline CreateIdNamespaceAssociationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
85 inline CreateIdNamespaceAssociationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline CreateIdNamespaceAssociationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline CreateIdNamespaceAssociationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline CreateIdNamespaceAssociationRequest& WithName(const char* value) { SetName(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112 inline CreateIdNamespaceAssociationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline CreateIdNamespaceAssociationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const IdMappingConfig& GetIdMappingConfig() const{ return m_idMappingConfig; }
121 inline bool IdMappingConfigHasBeenSet() const { return m_idMappingConfigHasBeenSet; }
122 inline void SetIdMappingConfig(const IdMappingConfig& value) { m_idMappingConfigHasBeenSet = true; m_idMappingConfig = value; }
123 inline void SetIdMappingConfig(IdMappingConfig&& value) { m_idMappingConfigHasBeenSet = true; m_idMappingConfig = std::move(value); }
127 private:
128
129 Aws::String m_membershipIdentifier;
130 bool m_membershipIdentifierHasBeenSet = false;
131
132 IdNamespaceAssociationInputReferenceConfig m_inputReferenceConfig;
133 bool m_inputReferenceConfigHasBeenSet = false;
134
136 bool m_tagsHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
144 IdMappingConfig m_idMappingConfig;
145 bool m_idMappingConfigHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace CleanRooms
150} // namespace Aws
CreateIdNamespaceAssociationRequest & WithInputReferenceConfig(IdNamespaceAssociationInputReferenceConfig &&value)
CreateIdNamespaceAssociationRequest & AddTags(const char *key, const char *value)
CreateIdNamespaceAssociationRequest & WithMembershipIdentifier(Aws::String &&value)
CreateIdNamespaceAssociationRequest & WithName(Aws::String &&value)
void SetInputReferenceConfig(const IdNamespaceAssociationInputReferenceConfig &value)
const IdNamespaceAssociationInputReferenceConfig & GetInputReferenceConfig() const
CreateIdNamespaceAssociationRequest & WithDescription(Aws::String &&value)
CreateIdNamespaceAssociationRequest & WithInputReferenceConfig(const IdNamespaceAssociationInputReferenceConfig &value)
CreateIdNamespaceAssociationRequest & WithIdMappingConfig(const IdMappingConfig &value)
CreateIdNamespaceAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdNamespaceAssociationRequest & WithMembershipIdentifier(const Aws::String &value)
CreateIdNamespaceAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateIdNamespaceAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIdNamespaceAssociationRequest & WithMembershipIdentifier(const char *value)
CreateIdNamespaceAssociationRequest & WithDescription(const Aws::String &value)
CreateIdNamespaceAssociationRequest & WithDescription(const char *value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateIdNamespaceAssociationRequest & WithName(const char *value)
CreateIdNamespaceAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIdNamespaceAssociationRequest & WithIdMappingConfig(IdMappingConfig &&value)
CreateIdNamespaceAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdNamespaceAssociationRequest & AddTags(const char *key, Aws::String &&value)
void SetInputReferenceConfig(IdNamespaceAssociationInputReferenceConfig &&value)
CreateIdNamespaceAssociationRequest & WithName(const Aws::String &value)
CreateIdNamespaceAssociationRequest & AddTags(Aws::String &&key, const char *value)
CreateIdNamespaceAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(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