AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
CreateConfiguredTableAssociationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API CreateConfiguredTableAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredTableAssociation"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
75 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
76 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
77 template <typename MembershipIdentifierT = Aws::String>
78 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
79 m_membershipIdentifierHasBeenSet = true;
80 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
81 }
82 template <typename MembershipIdentifierT = Aws::String>
84 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetConfiguredTableIdentifier() const { return m_configuredTableIdentifier; }
95 inline bool ConfiguredTableIdentifierHasBeenSet() const { return m_configuredTableIdentifierHasBeenSet; }
96 template <typename ConfiguredTableIdentifierT = Aws::String>
97 void SetConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) {
98 m_configuredTableIdentifierHasBeenSet = true;
99 m_configuredTableIdentifier = std::forward<ConfiguredTableIdentifierT>(value);
100 }
101 template <typename ConfiguredTableIdentifierT = Aws::String>
103 SetConfiguredTableIdentifier(std::forward<ConfiguredTableIdentifierT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 template <typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) {
117 m_roleArnHasBeenSet = true;
118 m_roleArn = std::forward<RoleArnT>(value);
119 }
120 template <typename RoleArnT = Aws::String>
122 SetRoleArn(std::forward<RoleArnT>(value));
123 return *this;
124 }
126
128
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 void SetTags(TagsT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags = std::forward<TagsT>(value);
140 }
141 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 SetTags(std::forward<TagsT>(value));
144 return *this;
145 }
146 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 CreateConfiguredTableAssociationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_membershipIdentifier;
161 bool m_membershipIdentifierHasBeenSet = false;
162
163 Aws::String m_configuredTableIdentifier;
164 bool m_configuredTableIdentifierHasBeenSet = false;
165
166 Aws::String m_roleArn;
167 bool m_roleArnHasBeenSet = false;
168
170 bool m_tagsHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace CleanRooms
175} // namespace Aws
CreateConfiguredTableAssociationRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
CreateConfiguredTableAssociationRequest & WithRoleArn(RoleArnT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateConfiguredTableAssociationRequest & WithConfiguredTableIdentifier(ConfiguredTableIdentifierT &&value)
CreateConfiguredTableAssociationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateConfiguredTableAssociationRequest & WithDescription(DescriptionT &&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