AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
StartAudienceGenerationJobRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
8#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
9#include <aws/cleanroomsml/model/AudienceGenerationJobDataSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CleanRoomsML {
17namespace Model {
18
22 public:
23 AWS_CLEANROOMSML_API StartAudienceGenerationJobRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartAudienceGenerationJob"; }
30
31 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
32
34
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
56 inline const Aws::String& GetConfiguredAudienceModelArn() const { return m_configuredAudienceModelArn; }
57 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
58 template <typename ConfiguredAudienceModelArnT = Aws::String>
59 void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) {
60 m_configuredAudienceModelArnHasBeenSet = true;
61 m_configuredAudienceModelArn = std::forward<ConfiguredAudienceModelArnT>(value);
62 }
63 template <typename ConfiguredAudienceModelArnT = Aws::String>
65 SetConfiguredAudienceModelArn(std::forward<ConfiguredAudienceModelArnT>(value));
66 return *this;
67 }
69
71
74 inline const AudienceGenerationJobDataSource& GetSeedAudience() const { return m_seedAudience; }
75 inline bool SeedAudienceHasBeenSet() const { return m_seedAudienceHasBeenSet; }
76 template <typename SeedAudienceT = AudienceGenerationJobDataSource>
77 void SetSeedAudience(SeedAudienceT&& value) {
78 m_seedAudienceHasBeenSet = true;
79 m_seedAudience = std::forward<SeedAudienceT>(value);
80 }
81 template <typename SeedAudienceT = AudienceGenerationJobDataSource>
83 SetSeedAudience(std::forward<SeedAudienceT>(value));
84 return *this;
85 }
87
89
92 inline bool GetIncludeSeedInOutput() const { return m_includeSeedInOutput; }
93 inline bool IncludeSeedInOutputHasBeenSet() const { return m_includeSeedInOutputHasBeenSet; }
94 inline void SetIncludeSeedInOutput(bool value) {
95 m_includeSeedInOutputHasBeenSet = true;
96 m_includeSeedInOutput = value;
97 }
100 return *this;
101 }
103
105
109 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
110 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
111 template <typename CollaborationIdT = Aws::String>
112 void SetCollaborationId(CollaborationIdT&& value) {
113 m_collaborationIdHasBeenSet = true;
114 m_collaborationId = std::forward<CollaborationIdT>(value);
115 }
116 template <typename CollaborationIdT = Aws::String>
118 SetCollaborationId(std::forward<CollaborationIdT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetDescription() const { return m_description; }
128 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 template <typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) {
131 m_descriptionHasBeenSet = true;
132 m_description = std::forward<DescriptionT>(value);
133 }
134 template <typename DescriptionT = Aws::String>
136 SetDescription(std::forward<DescriptionT>(value));
137 return *this;
138 }
140
142
162 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
163 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
164 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags = std::forward<TagsT>(value);
168 }
169 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 SetTags(std::forward<TagsT>(value));
172 return *this;
173 }
174 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
175 StartAudienceGenerationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
176 m_tagsHasBeenSet = true;
177 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_name;
183
184 Aws::String m_configuredAudienceModelArn;
185
186 AudienceGenerationJobDataSource m_seedAudience;
187
188 bool m_includeSeedInOutput{false};
189
190 Aws::String m_collaborationId;
191
192 Aws::String m_description;
193
195 bool m_nameHasBeenSet = false;
196 bool m_configuredAudienceModelArnHasBeenSet = false;
197 bool m_seedAudienceHasBeenSet = false;
198 bool m_includeSeedInOutputHasBeenSet = false;
199 bool m_collaborationIdHasBeenSet = false;
200 bool m_descriptionHasBeenSet = false;
201 bool m_tagsHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace CleanRoomsML
206} // namespace Aws
AWS_CLEANROOMSML_API StartAudienceGenerationJobRequest()=default
StartAudienceGenerationJobRequest & WithIncludeSeedInOutput(bool value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
StartAudienceGenerationJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartAudienceGenerationJobRequest & WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT &&value)
StartAudienceGenerationJobRequest & WithSeedAudience(SeedAudienceT &&value)
StartAudienceGenerationJobRequest & WithCollaborationId(CollaborationIdT &&value)
StartAudienceGenerationJobRequest & 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