AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelVersionRequest.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/frauddetector/model/ModelTypeEnum.h>
11#include <aws/frauddetector/model/TrainingDataSourceEnum.h>
12#include <aws/frauddetector/model/TrainingDataSchema.h>
13#include <aws/frauddetector/model/ExternalEventsDetail.h>
14#include <aws/frauddetector/model/IngestedEventsDetail.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/frauddetector/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21namespace FraudDetector
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_FRAUDDETECTOR_API CreateModelVersionRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateModelVersion"; }
38
39 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
40
41 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
48 inline const Aws::String& GetModelId() const{ return m_modelId; }
49 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
50 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
51 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
52 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
53 inline CreateModelVersionRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
54 inline CreateModelVersionRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
55 inline CreateModelVersionRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
57
59
62 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
63 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
64 inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
65 inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
66 inline CreateModelVersionRequest& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
67 inline CreateModelVersionRequest& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
69
71
74 inline const TrainingDataSourceEnum& GetTrainingDataSource() const{ return m_trainingDataSource; }
75 inline bool TrainingDataSourceHasBeenSet() const { return m_trainingDataSourceHasBeenSet; }
76 inline void SetTrainingDataSource(const TrainingDataSourceEnum& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = value; }
77 inline void SetTrainingDataSource(TrainingDataSourceEnum&& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = std::move(value); }
81
83
86 inline const TrainingDataSchema& GetTrainingDataSchema() const{ return m_trainingDataSchema; }
87 inline bool TrainingDataSchemaHasBeenSet() const { return m_trainingDataSchemaHasBeenSet; }
88 inline void SetTrainingDataSchema(const TrainingDataSchema& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = value; }
89 inline void SetTrainingDataSchema(TrainingDataSchema&& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = std::move(value); }
93
95
99 inline const ExternalEventsDetail& GetExternalEventsDetail() const{ return m_externalEventsDetail; }
100 inline bool ExternalEventsDetailHasBeenSet() const { return m_externalEventsDetailHasBeenSet; }
101 inline void SetExternalEventsDetail(const ExternalEventsDetail& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = value; }
102 inline void SetExternalEventsDetail(ExternalEventsDetail&& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = std::move(value); }
106
108
112 inline const IngestedEventsDetail& GetIngestedEventsDetail() const{ return m_ingestedEventsDetail; }
113 inline bool IngestedEventsDetailHasBeenSet() const { return m_ingestedEventsDetailHasBeenSet; }
114 inline void SetIngestedEventsDetail(const IngestedEventsDetail& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = value; }
115 inline void SetIngestedEventsDetail(IngestedEventsDetail&& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = std::move(value); }
119
121
124 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
128 inline CreateModelVersionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
129 inline CreateModelVersionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
130 inline CreateModelVersionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
131 inline CreateModelVersionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
133 private:
134
135 Aws::String m_modelId;
136 bool m_modelIdHasBeenSet = false;
137
138 ModelTypeEnum m_modelType;
139 bool m_modelTypeHasBeenSet = false;
140
141 TrainingDataSourceEnum m_trainingDataSource;
142 bool m_trainingDataSourceHasBeenSet = false;
143
144 TrainingDataSchema m_trainingDataSchema;
145 bool m_trainingDataSchemaHasBeenSet = false;
146
147 ExternalEventsDetail m_externalEventsDetail;
148 bool m_externalEventsDetailHasBeenSet = false;
149
150 IngestedEventsDetail m_ingestedEventsDetail;
151 bool m_ingestedEventsDetailHasBeenSet = false;
152
153 Aws::Vector<Tag> m_tags;
154 bool m_tagsHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace FraudDetector
159} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateModelVersionRequest & WithExternalEventsDetail(const ExternalEventsDetail &value)
CreateModelVersionRequest & WithIngestedEventsDetail(const IngestedEventsDetail &value)
CreateModelVersionRequest & WithModelType(ModelTypeEnum &&value)
CreateModelVersionRequest & WithModelId(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
void SetExternalEventsDetail(const ExternalEventsDetail &value)
const TrainingDataSourceEnum & GetTrainingDataSource() const
CreateModelVersionRequest & WithIngestedEventsDetail(IngestedEventsDetail &&value)
CreateModelVersionRequest & WithModelType(const ModelTypeEnum &value)
void SetIngestedEventsDetail(const IngestedEventsDetail &value)
CreateModelVersionRequest & WithExternalEventsDetail(ExternalEventsDetail &&value)
void SetTrainingDataSchema(const TrainingDataSchema &value)
CreateModelVersionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelVersionRequest & WithTrainingDataSchema(const TrainingDataSchema &value)
void SetTrainingDataSource(const TrainingDataSourceEnum &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelVersionRequest & WithTrainingDataSource(const TrainingDataSourceEnum &value)
CreateModelVersionRequest & AddTags(const Tag &value)
CreateModelVersionRequest & WithModelId(const char *value)
CreateModelVersionRequest & WithModelId(Aws::String &&value)
CreateModelVersionRequest & WithTrainingDataSource(TrainingDataSourceEnum &&value)
CreateModelVersionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateModelVersionRequest & WithTrainingDataSchema(TrainingDataSchema &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector