AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfiguredAudienceModelRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/ConfiguredAudienceModelOutputConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanroomsml/model/AudienceSizeConfig.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/cleanroomsml/model/TagOnCreatePolicy.h>
15#include <aws/cleanroomsml/model/SharedAudienceMetrics.h>
16#include <utility>
17
18namespace Aws
19{
20namespace CleanRoomsML
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredAudienceModel"; }
37
38 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateConfiguredAudienceModelRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateConfiguredAudienceModelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateConfiguredAudienceModelRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
60 inline const Aws::String& GetAudienceModelArn() const{ return m_audienceModelArn; }
61 inline bool AudienceModelArnHasBeenSet() const { return m_audienceModelArnHasBeenSet; }
62 inline void SetAudienceModelArn(const Aws::String& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = value; }
63 inline void SetAudienceModelArn(Aws::String&& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = std::move(value); }
64 inline void SetAudienceModelArn(const char* value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn.assign(value); }
67 inline CreateConfiguredAudienceModelRequest& WithAudienceModelArn(const char* value) { SetAudienceModelArn(value); return *this;}
69
71
78 inline const ConfiguredAudienceModelOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
79 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
80 inline void SetOutputConfig(const ConfiguredAudienceModelOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
81 inline void SetOutputConfig(ConfiguredAudienceModelOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
96 inline CreateConfiguredAudienceModelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline CreateConfiguredAudienceModelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
104 inline const Aws::Vector<SharedAudienceMetrics>& GetSharedAudienceMetrics() const{ return m_sharedAudienceMetrics; }
105 inline bool SharedAudienceMetricsHasBeenSet() const { return m_sharedAudienceMetricsHasBeenSet; }
106 inline void SetSharedAudienceMetrics(const Aws::Vector<SharedAudienceMetrics>& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics = value; }
107 inline void SetSharedAudienceMetrics(Aws::Vector<SharedAudienceMetrics>&& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics = std::move(value); }
110 inline CreateConfiguredAudienceModelRequest& AddSharedAudienceMetrics(const SharedAudienceMetrics& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics.push_back(value); return *this; }
111 inline CreateConfiguredAudienceModelRequest& AddSharedAudienceMetrics(SharedAudienceMetrics&& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics.push_back(std::move(value)); return *this; }
113
115
119 inline int GetMinMatchingSeedSize() const{ return m_minMatchingSeedSize; }
120 inline bool MinMatchingSeedSizeHasBeenSet() const { return m_minMatchingSeedSizeHasBeenSet; }
121 inline void SetMinMatchingSeedSize(int value) { m_minMatchingSeedSizeHasBeenSet = true; m_minMatchingSeedSize = value; }
124
126
135 inline const AudienceSizeConfig& GetAudienceSizeConfig() const{ return m_audienceSizeConfig; }
136 inline bool AudienceSizeConfigHasBeenSet() const { return m_audienceSizeConfigHasBeenSet; }
137 inline void SetAudienceSizeConfig(const AudienceSizeConfig& value) { m_audienceSizeConfigHasBeenSet = true; m_audienceSizeConfig = value; }
138 inline void SetAudienceSizeConfig(AudienceSizeConfig&& value) { m_audienceSizeConfigHasBeenSet = true; m_audienceSizeConfig = std::move(value); }
142
144
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
167 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
170 inline CreateConfiguredAudienceModelRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 inline CreateConfiguredAudienceModelRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
172 inline CreateConfiguredAudienceModelRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
173 inline CreateConfiguredAudienceModelRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
174 inline CreateConfiguredAudienceModelRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 inline CreateConfiguredAudienceModelRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
176 inline CreateConfiguredAudienceModelRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
178
180
191 inline const TagOnCreatePolicy& GetChildResourceTagOnCreatePolicy() const{ return m_childResourceTagOnCreatePolicy; }
192 inline bool ChildResourceTagOnCreatePolicyHasBeenSet() const { return m_childResourceTagOnCreatePolicyHasBeenSet; }
193 inline void SetChildResourceTagOnCreatePolicy(const TagOnCreatePolicy& value) { m_childResourceTagOnCreatePolicyHasBeenSet = true; m_childResourceTagOnCreatePolicy = value; }
194 inline void SetChildResourceTagOnCreatePolicy(TagOnCreatePolicy&& value) { m_childResourceTagOnCreatePolicyHasBeenSet = true; m_childResourceTagOnCreatePolicy = std::move(value); }
198 private:
199
200 Aws::String m_name;
201 bool m_nameHasBeenSet = false;
202
203 Aws::String m_audienceModelArn;
204 bool m_audienceModelArnHasBeenSet = false;
205
207 bool m_outputConfigHasBeenSet = false;
208
209 Aws::String m_description;
210 bool m_descriptionHasBeenSet = false;
211
212 Aws::Vector<SharedAudienceMetrics> m_sharedAudienceMetrics;
213 bool m_sharedAudienceMetricsHasBeenSet = false;
214
215 int m_minMatchingSeedSize;
216 bool m_minMatchingSeedSizeHasBeenSet = false;
217
218 AudienceSizeConfig m_audienceSizeConfig;
219 bool m_audienceSizeConfigHasBeenSet = false;
220
222 bool m_tagsHasBeenSet = false;
223
224 TagOnCreatePolicy m_childResourceTagOnCreatePolicy;
225 bool m_childResourceTagOnCreatePolicyHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace CleanRoomsML
230} // namespace Aws
CreateConfiguredAudienceModelRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateConfiguredAudienceModelRequest & WithDescription(const Aws::String &value)
CreateConfiguredAudienceModelRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfiguredAudienceModelRequest & WithChildResourceTagOnCreatePolicy(const TagOnCreatePolicy &value)
CreateConfiguredAudienceModelRequest & WithSharedAudienceMetrics(const Aws::Vector< SharedAudienceMetrics > &value)
CreateConfiguredAudienceModelRequest & WithChildResourceTagOnCreatePolicy(TagOnCreatePolicy &&value)
CreateConfiguredAudienceModelRequest & AddTags(Aws::String &&key, const char *value)
CreateConfiguredAudienceModelRequest & WithOutputConfig(const ConfiguredAudienceModelOutputConfig &value)
CreateConfiguredAudienceModelRequest & WithName(const char *value)
CreateConfiguredAudienceModelRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateConfiguredAudienceModelRequest & AddSharedAudienceMetrics(const SharedAudienceMetrics &value)
CreateConfiguredAudienceModelRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfiguredAudienceModelRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfiguredAudienceModelRequest & AddTags(const char *key, const char *value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
CreateConfiguredAudienceModelRequest & WithAudienceModelArn(Aws::String &&value)
CreateConfiguredAudienceModelRequest & WithOutputConfig(ConfiguredAudienceModelOutputConfig &&value)
CreateConfiguredAudienceModelRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfiguredAudienceModelRequest & WithName(Aws::String &&value)
CreateConfiguredAudienceModelRequest & WithName(const Aws::String &value)
CreateConfiguredAudienceModelRequest & WithAudienceSizeConfig(AudienceSizeConfig &&value)
CreateConfiguredAudienceModelRequest & WithDescription(Aws::String &&value)
CreateConfiguredAudienceModelRequest & WithAudienceModelArn(const char *value)
void SetOutputConfig(const ConfiguredAudienceModelOutputConfig &value)
CreateConfiguredAudienceModelRequest & WithAudienceSizeConfig(const AudienceSizeConfig &value)
const Aws::Vector< SharedAudienceMetrics > & GetSharedAudienceMetrics() const
CreateConfiguredAudienceModelRequest & AddTags(const char *key, Aws::String &&value)
CreateConfiguredAudienceModelRequest & WithDescription(const char *value)
CreateConfiguredAudienceModelRequest & WithAudienceModelArn(const Aws::String &value)
void SetSharedAudienceMetrics(const Aws::Vector< SharedAudienceMetrics > &value)
CreateConfiguredAudienceModelRequest & WithSharedAudienceMetrics(Aws::Vector< SharedAudienceMetrics > &&value)
CreateConfiguredAudienceModelRequest & AddSharedAudienceMetrics(SharedAudienceMetrics &&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
std::vector< T, Aws::Allocator< T > > Vector