AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAudienceGenerationJobRequest.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/AudienceGenerationJobDataSource.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CleanRoomsML
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLEANROOMSML_API StartAudienceGenerationJobRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartAudienceGenerationJob"; }
33
34 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline StartAudienceGenerationJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline StartAudienceGenerationJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline StartAudienceGenerationJobRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
56 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
57 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
58 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
59 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
60 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
65
67
70 inline const AudienceGenerationJobDataSource& GetSeedAudience() const{ return m_seedAudience; }
71 inline bool SeedAudienceHasBeenSet() const { return m_seedAudienceHasBeenSet; }
72 inline void SetSeedAudience(const AudienceGenerationJobDataSource& value) { m_seedAudienceHasBeenSet = true; m_seedAudience = value; }
73 inline void SetSeedAudience(AudienceGenerationJobDataSource&& value) { m_seedAudienceHasBeenSet = true; m_seedAudience = std::move(value); }
77
79
82 inline bool GetIncludeSeedInOutput() const{ return m_includeSeedInOutput; }
83 inline bool IncludeSeedInOutputHasBeenSet() const { return m_includeSeedInOutputHasBeenSet; }
84 inline void SetIncludeSeedInOutput(bool value) { m_includeSeedInOutputHasBeenSet = true; m_includeSeedInOutput = value; }
87
89
93 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
94 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
95 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
96 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
97 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
99 inline StartAudienceGenerationJobRequest& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
100 inline StartAudienceGenerationJobRequest& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
102
104
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
109 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
110 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
111 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
113 inline StartAudienceGenerationJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 inline StartAudienceGenerationJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
116
118
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
139 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
140 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
141 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
144 inline StartAudienceGenerationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
145 inline StartAudienceGenerationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
146 inline StartAudienceGenerationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
147 inline StartAudienceGenerationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
148 inline StartAudienceGenerationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
149 inline StartAudienceGenerationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
150 inline StartAudienceGenerationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
152 private:
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_configuredAudienceModelArn;
158 bool m_configuredAudienceModelArnHasBeenSet = false;
159
160 AudienceGenerationJobDataSource m_seedAudience;
161 bool m_seedAudienceHasBeenSet = false;
162
163 bool m_includeSeedInOutput;
164 bool m_includeSeedInOutputHasBeenSet = false;
165
166 Aws::String m_collaborationId;
167 bool m_collaborationIdHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
173 bool m_tagsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace CleanRoomsML
178} // namespace Aws
StartAudienceGenerationJobRequest & WithCollaborationId(Aws::String &&value)
StartAudienceGenerationJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartAudienceGenerationJobRequest & WithConfiguredAudienceModelArn(const char *value)
StartAudienceGenerationJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartAudienceGenerationJobRequest & WithCollaborationId(const char *value)
StartAudienceGenerationJobRequest & WithDescription(const char *value)
StartAudienceGenerationJobRequest & WithConfiguredAudienceModelArn(const Aws::String &value)
StartAudienceGenerationJobRequest & WithName(const char *value)
void SetSeedAudience(const AudienceGenerationJobDataSource &value)
StartAudienceGenerationJobRequest & WithIncludeSeedInOutput(bool value)
StartAudienceGenerationJobRequest & WithConfiguredAudienceModelArn(Aws::String &&value)
StartAudienceGenerationJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartAudienceGenerationJobRequest & AddTags(Aws::String &&key, const char *value)
StartAudienceGenerationJobRequest & WithName(const Aws::String &value)
StartAudienceGenerationJobRequest & AddTags(const char *key, Aws::String &&value)
StartAudienceGenerationJobRequest & WithCollaborationId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
StartAudienceGenerationJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartAudienceGenerationJobRequest & AddTags(const char *key, const char *value)
StartAudienceGenerationJobRequest & WithDescription(Aws::String &&value)
StartAudienceGenerationJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartAudienceGenerationJobRequest & WithSeedAudience(const AudienceGenerationJobDataSource &value)
StartAudienceGenerationJobRequest & WithSeedAudience(AudienceGenerationJobDataSource &&value)
StartAudienceGenerationJobRequest & WithName(Aws::String &&value)
StartAudienceGenerationJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartAudienceGenerationJobRequest & WithDescription(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