AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAudienceModelRequest.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 CreateAudienceModelRequest();
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 "CreateAudienceModel"; }
33
34 AWS_CLEANROOMSML_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Utils::DateTime& GetTrainingDataStartTime() const{ return m_trainingDataStartTime; }
42 inline bool TrainingDataStartTimeHasBeenSet() const { return m_trainingDataStartTimeHasBeenSet; }
43 inline void SetTrainingDataStartTime(const Aws::Utils::DateTime& value) { m_trainingDataStartTimeHasBeenSet = true; m_trainingDataStartTime = value; }
44 inline void SetTrainingDataStartTime(Aws::Utils::DateTime&& value) { m_trainingDataStartTimeHasBeenSet = true; m_trainingDataStartTime = std::move(value); }
48
50
53 inline const Aws::Utils::DateTime& GetTrainingDataEndTime() const{ return m_trainingDataEndTime; }
54 inline bool TrainingDataEndTimeHasBeenSet() const { return m_trainingDataEndTimeHasBeenSet; }
55 inline void SetTrainingDataEndTime(const Aws::Utils::DateTime& value) { m_trainingDataEndTimeHasBeenSet = true; m_trainingDataEndTime = value; }
56 inline void SetTrainingDataEndTime(Aws::Utils::DateTime&& value) { m_trainingDataEndTimeHasBeenSet = true; m_trainingDataEndTime = std::move(value); }
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline CreateAudienceModelRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline CreateAudienceModelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline CreateAudienceModelRequest& WithName(const char* value) { SetName(value); return *this;}
74
76
80 inline const Aws::String& GetTrainingDatasetArn() const{ return m_trainingDatasetArn; }
81 inline bool TrainingDatasetArnHasBeenSet() const { return m_trainingDatasetArnHasBeenSet; }
82 inline void SetTrainingDatasetArn(const Aws::String& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = value; }
83 inline void SetTrainingDatasetArn(Aws::String&& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = std::move(value); }
84 inline void SetTrainingDatasetArn(const char* value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn.assign(value); }
86 inline CreateAudienceModelRequest& WithTrainingDatasetArn(Aws::String&& value) { SetTrainingDatasetArn(std::move(value)); return *this;}
87 inline CreateAudienceModelRequest& WithTrainingDatasetArn(const char* value) { SetTrainingDatasetArn(value); return *this;}
89
91
96 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
97 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
98 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
99 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
100 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
101 inline CreateAudienceModelRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
102 inline CreateAudienceModelRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
103 inline CreateAudienceModelRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
105
107
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
130 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline CreateAudienceModelRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
133 inline CreateAudienceModelRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 inline CreateAudienceModelRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
135 inline CreateAudienceModelRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 inline CreateAudienceModelRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
137 inline CreateAudienceModelRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
138 inline CreateAudienceModelRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline CreateAudienceModelRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141
143
146 inline const Aws::String& GetDescription() const{ return m_description; }
147 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
148 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
149 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
150 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 inline CreateAudienceModelRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
152 inline CreateAudienceModelRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 inline CreateAudienceModelRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
155 private:
156
157 Aws::Utils::DateTime m_trainingDataStartTime;
158 bool m_trainingDataStartTimeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_trainingDataEndTime;
161 bool m_trainingDataEndTimeHasBeenSet = false;
162
163 Aws::String m_name;
164 bool m_nameHasBeenSet = false;
165
166 Aws::String m_trainingDatasetArn;
167 bool m_trainingDatasetArnHasBeenSet = false;
168
169 Aws::String m_kmsKeyArn;
170 bool m_kmsKeyArnHasBeenSet = false;
171
173 bool m_tagsHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace CleanRoomsML
181} // namespace Aws
CreateAudienceModelRequest & WithName(Aws::String &&value)
CreateAudienceModelRequest & WithKmsKeyArn(const Aws::String &value)
CreateAudienceModelRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAudienceModelRequest & WithTrainingDataStartTime(const Aws::Utils::DateTime &value)
CreateAudienceModelRequest & WithDescription(const char *value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
CreateAudienceModelRequest & WithDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAudienceModelRequest & WithDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAudienceModelRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAudienceModelRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTrainingDataStartTime(const Aws::Utils::DateTime &value)
CreateAudienceModelRequest & AddTags(Aws::String &&key, const char *value)
CreateAudienceModelRequest & WithTrainingDatasetArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAudienceModelRequest & WithTrainingDatasetArn(const Aws::String &value)
CreateAudienceModelRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAudienceModelRequest & AddTags(const char *key, Aws::String &&value)
CreateAudienceModelRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAudienceModelRequest & WithKmsKeyArn(const char *value)
CreateAudienceModelRequest & WithTrainingDataStartTime(Aws::Utils::DateTime &&value)
CreateAudienceModelRequest & WithTrainingDataEndTime(const Aws::Utils::DateTime &value)
CreateAudienceModelRequest & WithTrainingDatasetArn(const char *value)
void SetTrainingDataEndTime(const Aws::Utils::DateTime &value)
CreateAudienceModelRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAudienceModelRequest & WithTrainingDataEndTime(Aws::Utils::DateTime &&value)
CreateAudienceModelRequest & AddTags(const char *key, const char *value)
CreateAudienceModelRequest & WithName(const char *value)
CreateAudienceModelRequest & WithKmsKeyArn(Aws::String &&value)
CreateAudienceModelRequest & WithName(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