AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 StartAudienceGenerationJobRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
54 inline const Aws::String& GetConfiguredAudienceModelArn() const { return m_configuredAudienceModelArn; }
55 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
56 template<typename ConfiguredAudienceModelArnT = Aws::String>
57 void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::forward<ConfiguredAudienceModelArnT>(value); }
58 template<typename ConfiguredAudienceModelArnT = Aws::String>
59 StartAudienceGenerationJobRequest& WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { SetConfiguredAudienceModelArn(std::forward<ConfiguredAudienceModelArnT>(value)); return *this;}
61
63
66 inline const AudienceGenerationJobDataSource& GetSeedAudience() const { return m_seedAudience; }
67 inline bool SeedAudienceHasBeenSet() const { return m_seedAudienceHasBeenSet; }
68 template<typename SeedAudienceT = AudienceGenerationJobDataSource>
69 void SetSeedAudience(SeedAudienceT&& value) { m_seedAudienceHasBeenSet = true; m_seedAudience = std::forward<SeedAudienceT>(value); }
70 template<typename SeedAudienceT = AudienceGenerationJobDataSource>
71 StartAudienceGenerationJobRequest& WithSeedAudience(SeedAudienceT&& value) { SetSeedAudience(std::forward<SeedAudienceT>(value)); return *this;}
73
75
78 inline bool GetIncludeSeedInOutput() const { return m_includeSeedInOutput; }
79 inline bool IncludeSeedInOutputHasBeenSet() const { return m_includeSeedInOutputHasBeenSet; }
80 inline void SetIncludeSeedInOutput(bool value) { m_includeSeedInOutputHasBeenSet = true; m_includeSeedInOutput = value; }
83
85
89 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
90 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
91 template<typename CollaborationIdT = Aws::String>
92 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
93 template<typename CollaborationIdT = Aws::String>
94 StartAudienceGenerationJobRequest& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
96
98
101 inline const Aws::String& GetDescription() const { return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 template<typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
105 template<typename DescriptionT = Aws::String>
106 StartAudienceGenerationJobRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
108
110
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
134 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 StartAudienceGenerationJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
136 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
137 StartAudienceGenerationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
138 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
139 }
141 private:
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_configuredAudienceModelArn;
147 bool m_configuredAudienceModelArnHasBeenSet = false;
148
149 AudienceGenerationJobDataSource m_seedAudience;
150 bool m_seedAudienceHasBeenSet = false;
151
152 bool m_includeSeedInOutput{false};
153 bool m_includeSeedInOutputHasBeenSet = false;
154
155 Aws::String m_collaborationId;
156 bool m_collaborationIdHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace CleanRoomsML
167} // 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