AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfiguredAudienceModelAssociationRequest.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:
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 "CreateConfiguredAudienceModelAssociation"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
35
37
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); }
51
53
57 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
58 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
59 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
60 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
61 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
66
68
71 inline const Aws::String& GetConfiguredAudienceModelAssociationName() const{ return m_configuredAudienceModelAssociationName; }
72 inline bool ConfiguredAudienceModelAssociationNameHasBeenSet() const { return m_configuredAudienceModelAssociationNameHasBeenSet; }
73 inline void SetConfiguredAudienceModelAssociationName(const Aws::String& value) { m_configuredAudienceModelAssociationNameHasBeenSet = true; m_configuredAudienceModelAssociationName = value; }
74 inline void SetConfiguredAudienceModelAssociationName(Aws::String&& value) { m_configuredAudienceModelAssociationNameHasBeenSet = true; m_configuredAudienceModelAssociationName = std::move(value); }
75 inline void SetConfiguredAudienceModelAssociationName(const char* value) { m_configuredAudienceModelAssociationNameHasBeenSet = true; m_configuredAudienceModelAssociationName.assign(value); }
80
82
95 inline bool GetManageResourcePolicies() const{ return m_manageResourcePolicies; }
96 inline bool ManageResourcePoliciesHasBeenSet() const { return m_manageResourcePoliciesHasBeenSet; }
97 inline void SetManageResourcePolicies(bool value) { m_manageResourcePoliciesHasBeenSet = true; m_manageResourcePolicies = value; }
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 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
111 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
115 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
118 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
119 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline CreateConfiguredAudienceModelAssociationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122
124
127 inline const Aws::String& GetDescription() const{ return m_description; }
128 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
130 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
131 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
134 inline CreateConfiguredAudienceModelAssociationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
136 private:
137
138 Aws::String m_membershipIdentifier;
139 bool m_membershipIdentifierHasBeenSet = false;
140
141 Aws::String m_configuredAudienceModelArn;
142 bool m_configuredAudienceModelArnHasBeenSet = false;
143
144 Aws::String m_configuredAudienceModelAssociationName;
145 bool m_configuredAudienceModelAssociationNameHasBeenSet = false;
146
147 bool m_manageResourcePolicies;
148 bool m_manageResourcePoliciesHasBeenSet = false;
149
151 bool m_tagsHasBeenSet = false;
152
153 Aws::String m_description;
154 bool m_descriptionHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace CleanRooms
159} // namespace Aws
CreateConfiguredAudienceModelAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelArn(const char *value)
CreateConfiguredAudienceModelAssociationRequest & WithDescription(const char *value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(const char *key, Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelArn(Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelAssociationName(const char *value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(const char *key, const char *value)
CreateConfiguredAudienceModelAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelAssociationName(Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & WithDescription(const Aws::String &value)
CreateConfiguredAudienceModelAssociationRequest & WithMembershipIdentifier(const char *value)
CreateConfiguredAudienceModelAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateConfiguredAudienceModelAssociationRequest & WithDescription(Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelAssociationName(const Aws::String &value)
CreateConfiguredAudienceModelAssociationRequest & WithConfiguredAudienceModelArn(const Aws::String &value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(Aws::String &&key, const char *value)
CreateConfiguredAudienceModelAssociationRequest & WithMembershipIdentifier(Aws::String &&value)
CreateConfiguredAudienceModelAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfiguredAudienceModelAssociationRequest & WithMembershipIdentifier(const 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