AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateConfiguredTableAssociationRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRooms
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLEANROOMS_API CreateConfiguredTableAssociationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredTableAssociation"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 CreateConfiguredTableAssociationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 CreateConfiguredTableAssociationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
67 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
68 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
69 template<typename MembershipIdentifierT = Aws::String>
70 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
71 template<typename MembershipIdentifierT = Aws::String>
72 CreateConfiguredTableAssociationRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
74
76
80 inline const Aws::String& GetConfiguredTableIdentifier() const { return m_configuredTableIdentifier; }
81 inline bool ConfiguredTableIdentifierHasBeenSet() const { return m_configuredTableIdentifierHasBeenSet; }
82 template<typename ConfiguredTableIdentifierT = Aws::String>
83 void SetConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) { m_configuredTableIdentifierHasBeenSet = true; m_configuredTableIdentifier = std::forward<ConfiguredTableIdentifierT>(value); }
84 template<typename ConfiguredTableIdentifierT = Aws::String>
85 CreateConfiguredTableAssociationRequest& WithConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) { SetConfiguredTableIdentifier(std::forward<ConfiguredTableIdentifierT>(value)); return *this;}
87
89
93 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
94 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
95 template<typename RoleArnT = Aws::String>
96 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
97 template<typename RoleArnT = Aws::String>
98 CreateConfiguredTableAssociationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
100
102
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
112 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 CreateConfiguredTableAssociationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
114 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
115 CreateConfiguredTableAssociationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
116 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
117 }
119 private:
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_membershipIdentifier;
128 bool m_membershipIdentifierHasBeenSet = false;
129
130 Aws::String m_configuredTableIdentifier;
131 bool m_configuredTableIdentifierHasBeenSet = false;
132
133 Aws::String m_roleArn;
134 bool m_roleArnHasBeenSet = false;
135
137 bool m_tagsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CleanRooms
142} // 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