AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIdMappingTableRequest.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/IdMappingTableInputReferenceConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CleanRooms
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLEANROOMS_API CreateIdMappingTableRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateIdMappingTable"; }
33
34 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
43 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
44 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
45 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
46 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
49 inline CreateIdMappingTableRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateIdMappingTableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateIdMappingTableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateIdMappingTableRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateIdMappingTableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateIdMappingTableRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateIdMappingTableRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const IdMappingTableInputReferenceConfig& GetInputReferenceConfig() const{ return m_inputReferenceConfig; }
85 inline bool InputReferenceConfigHasBeenSet() const { return m_inputReferenceConfigHasBeenSet; }
86 inline void SetInputReferenceConfig(const IdMappingTableInputReferenceConfig& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = value; }
87 inline void SetInputReferenceConfig(IdMappingTableInputReferenceConfig&& value) { m_inputReferenceConfigHasBeenSet = true; m_inputReferenceConfig = std::move(value); }
91
93
99 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
102 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
104 inline CreateIdMappingTableRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
105 inline CreateIdMappingTableRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
106 inline CreateIdMappingTableRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
107 inline CreateIdMappingTableRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
108 inline CreateIdMappingTableRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
109 inline CreateIdMappingTableRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
110 inline CreateIdMappingTableRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
111 inline CreateIdMappingTableRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113
115
119 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
120 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
121 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
122 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
123 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
124 inline CreateIdMappingTableRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
125 inline CreateIdMappingTableRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
126 inline CreateIdMappingTableRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
128 private:
129
130 Aws::String m_membershipIdentifier;
131 bool m_membershipIdentifierHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 IdMappingTableInputReferenceConfig m_inputReferenceConfig;
140 bool m_inputReferenceConfigHasBeenSet = false;
141
143 bool m_tagsHasBeenSet = false;
144
145 Aws::String m_kmsKeyArn;
146 bool m_kmsKeyArnHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace CleanRooms
151} // namespace Aws
CreateIdMappingTableRequest & WithMembershipIdentifier(const Aws::String &value)
const IdMappingTableInputReferenceConfig & GetInputReferenceConfig() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIdMappingTableRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIdMappingTableRequest & WithName(const char *value)
CreateIdMappingTableRequest & AddTags(const char *key, const char *value)
CreateIdMappingTableRequest & WithKmsKeyArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdMappingTableRequest & AddTags(Aws::String &&key, const char *value)
CreateIdMappingTableRequest & WithDescription(const char *value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateIdMappingTableRequest & WithInputReferenceConfig(const IdMappingTableInputReferenceConfig &value)
CreateIdMappingTableRequest & AddTags(const char *key, Aws::String &&value)
void SetInputReferenceConfig(IdMappingTableInputReferenceConfig &&value)
CreateIdMappingTableRequest & WithInputReferenceConfig(IdMappingTableInputReferenceConfig &&value)
CreateIdMappingTableRequest & WithMembershipIdentifier(Aws::String &&value)
CreateIdMappingTableRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdMappingTableRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetInputReferenceConfig(const IdMappingTableInputReferenceConfig &value)
CreateIdMappingTableRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIdMappingTableRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIdMappingTableRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateIdMappingTableRequest & WithName(Aws::String &&value)
CreateIdMappingTableRequest & WithDescription(const Aws::String &value)
CreateIdMappingTableRequest & WithMembershipIdentifier(const char *value)
CreateIdMappingTableRequest & WithName(const Aws::String &value)
CreateIdMappingTableRequest & WithDescription(Aws::String &&value)
CreateIdMappingTableRequest & WithKmsKeyArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIdMappingTableRequest & WithKmsKeyArn(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