AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfiguredAudienceModelRequest.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/cleanroomsml/model/SharedAudienceMetrics.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRoomsML
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfiguredAudienceModel"; }
35
36 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
45 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
46 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
47 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
48 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
53
55
58 inline const ConfiguredAudienceModelOutputConfig& GetOutputConfig() const{ return m_outputConfig; }
59 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
60 inline void SetOutputConfig(const ConfiguredAudienceModelOutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
61 inline void SetOutputConfig(ConfiguredAudienceModelOutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
65
67
71 inline const Aws::String& GetAudienceModelArn() const{ return m_audienceModelArn; }
72 inline bool AudienceModelArnHasBeenSet() const { return m_audienceModelArnHasBeenSet; }
73 inline void SetAudienceModelArn(const Aws::String& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = value; }
74 inline void SetAudienceModelArn(Aws::String&& value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn = std::move(value); }
75 inline void SetAudienceModelArn(const char* value) { m_audienceModelArnHasBeenSet = true; m_audienceModelArn.assign(value); }
78 inline UpdateConfiguredAudienceModelRequest& WithAudienceModelArn(const char* value) { SetAudienceModelArn(value); return *this;}
80
82
85 inline const Aws::Vector<SharedAudienceMetrics>& GetSharedAudienceMetrics() const{ return m_sharedAudienceMetrics; }
86 inline bool SharedAudienceMetricsHasBeenSet() const { return m_sharedAudienceMetricsHasBeenSet; }
87 inline void SetSharedAudienceMetrics(const Aws::Vector<SharedAudienceMetrics>& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics = value; }
88 inline void SetSharedAudienceMetrics(Aws::Vector<SharedAudienceMetrics>&& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics = std::move(value); }
91 inline UpdateConfiguredAudienceModelRequest& AddSharedAudienceMetrics(const SharedAudienceMetrics& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics.push_back(value); return *this; }
92 inline UpdateConfiguredAudienceModelRequest& AddSharedAudienceMetrics(SharedAudienceMetrics&& value) { m_sharedAudienceMetricsHasBeenSet = true; m_sharedAudienceMetrics.push_back(std::move(value)); return *this; }
94
96
100 inline int GetMinMatchingSeedSize() const{ return m_minMatchingSeedSize; }
101 inline bool MinMatchingSeedSizeHasBeenSet() const { return m_minMatchingSeedSizeHasBeenSet; }
102 inline void SetMinMatchingSeedSize(int value) { m_minMatchingSeedSizeHasBeenSet = true; m_minMatchingSeedSize = value; }
105
107
110 inline const AudienceSizeConfig& GetAudienceSizeConfig() const{ return m_audienceSizeConfig; }
111 inline bool AudienceSizeConfigHasBeenSet() const { return m_audienceSizeConfigHasBeenSet; }
112 inline void SetAudienceSizeConfig(const AudienceSizeConfig& value) { m_audienceSizeConfigHasBeenSet = true; m_audienceSizeConfig = value; }
113 inline void SetAudienceSizeConfig(AudienceSizeConfig&& value) { m_audienceSizeConfigHasBeenSet = true; m_audienceSizeConfig = std::move(value); }
117
119
122 inline const Aws::String& GetDescription() const{ return m_description; }
123 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
124 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
125 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
126 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
128 inline UpdateConfiguredAudienceModelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 inline UpdateConfiguredAudienceModelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
131 private:
132
133 Aws::String m_configuredAudienceModelArn;
134 bool m_configuredAudienceModelArnHasBeenSet = false;
135
137 bool m_outputConfigHasBeenSet = false;
138
139 Aws::String m_audienceModelArn;
140 bool m_audienceModelArnHasBeenSet = false;
141
142 Aws::Vector<SharedAudienceMetrics> m_sharedAudienceMetrics;
143 bool m_sharedAudienceMetricsHasBeenSet = false;
144
145 int m_minMatchingSeedSize;
146 bool m_minMatchingSeedSizeHasBeenSet = false;
147
148 AudienceSizeConfig m_audienceSizeConfig;
149 bool m_audienceSizeConfigHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace CleanRoomsML
157} // namespace Aws
UpdateConfiguredAudienceModelRequest & WithOutputConfig(ConfiguredAudienceModelOutputConfig &&value)
UpdateConfiguredAudienceModelRequest & WithConfiguredAudienceModelArn(const char *value)
void SetSharedAudienceMetrics(Aws::Vector< SharedAudienceMetrics > &&value)
const Aws::Vector< SharedAudienceMetrics > & GetSharedAudienceMetrics() const
UpdateConfiguredAudienceModelRequest & WithDescription(const char *value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
UpdateConfiguredAudienceModelRequest & WithDescription(Aws::String &&value)
UpdateConfiguredAudienceModelRequest & AddSharedAudienceMetrics(SharedAudienceMetrics &&value)
UpdateConfiguredAudienceModelRequest & WithAudienceSizeConfig(AudienceSizeConfig &&value)
UpdateConfiguredAudienceModelRequest & WithConfiguredAudienceModelArn(const Aws::String &value)
UpdateConfiguredAudienceModelRequest & AddSharedAudienceMetrics(const SharedAudienceMetrics &value)
UpdateConfiguredAudienceModelRequest & WithSharedAudienceMetrics(const Aws::Vector< SharedAudienceMetrics > &value)
void SetSharedAudienceMetrics(const Aws::Vector< SharedAudienceMetrics > &value)
UpdateConfiguredAudienceModelRequest & WithConfiguredAudienceModelArn(Aws::String &&value)
UpdateConfiguredAudienceModelRequest & WithOutputConfig(const ConfiguredAudienceModelOutputConfig &value)
UpdateConfiguredAudienceModelRequest & WithAudienceModelArn(Aws::String &&value)
void SetOutputConfig(const ConfiguredAudienceModelOutputConfig &value)
UpdateConfiguredAudienceModelRequest & WithDescription(const Aws::String &value)
UpdateConfiguredAudienceModelRequest & WithAudienceSizeConfig(const AudienceSizeConfig &value)
UpdateConfiguredAudienceModelRequest & WithSharedAudienceMetrics(Aws::Vector< SharedAudienceMetrics > &&value)
UpdateConfiguredAudienceModelRequest & WithAudienceModelArn(const Aws::String &value)
UpdateConfiguredAudienceModelRequest & WithAudienceModelArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector