AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateModelVersionRequest.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/ExternalEventsDetail.h>
12#include <aws/frauddetector/model/IngestedEventsDetail.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/frauddetector/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace FraudDetector
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FRAUDDETECTOR_API UpdateModelVersionRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateModelVersion"; }
36
37 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
38
39 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetModelId() const{ return m_modelId; }
47 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
48 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
49 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
50 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
51 inline UpdateModelVersionRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
52 inline UpdateModelVersionRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
53 inline UpdateModelVersionRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
55
57
60 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
61 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
62 inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
63 inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
64 inline UpdateModelVersionRequest& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
65 inline UpdateModelVersionRequest& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetMajorVersionNumber() const{ return m_majorVersionNumber; }
73 inline bool MajorVersionNumberHasBeenSet() const { return m_majorVersionNumberHasBeenSet; }
74 inline void SetMajorVersionNumber(const Aws::String& value) { m_majorVersionNumberHasBeenSet = true; m_majorVersionNumber = value; }
75 inline void SetMajorVersionNumber(Aws::String&& value) { m_majorVersionNumberHasBeenSet = true; m_majorVersionNumber = std::move(value); }
76 inline void SetMajorVersionNumber(const char* value) { m_majorVersionNumberHasBeenSet = true; m_majorVersionNumber.assign(value); }
78 inline UpdateModelVersionRequest& WithMajorVersionNumber(Aws::String&& value) { SetMajorVersionNumber(std::move(value)); return *this;}
79 inline UpdateModelVersionRequest& WithMajorVersionNumber(const char* value) { SetMajorVersionNumber(value); return *this;}
81
83
87 inline const ExternalEventsDetail& GetExternalEventsDetail() const{ return m_externalEventsDetail; }
88 inline bool ExternalEventsDetailHasBeenSet() const { return m_externalEventsDetailHasBeenSet; }
89 inline void SetExternalEventsDetail(const ExternalEventsDetail& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = value; }
90 inline void SetExternalEventsDetail(ExternalEventsDetail&& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = std::move(value); }
94
96
101 inline const IngestedEventsDetail& GetIngestedEventsDetail() const{ return m_ingestedEventsDetail; }
102 inline bool IngestedEventsDetailHasBeenSet() const { return m_ingestedEventsDetailHasBeenSet; }
103 inline void SetIngestedEventsDetail(const IngestedEventsDetail& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = value; }
104 inline void SetIngestedEventsDetail(IngestedEventsDetail&& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = std::move(value); }
108
110
113 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
114 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
115 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
116 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
117 inline UpdateModelVersionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
118 inline UpdateModelVersionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
119 inline UpdateModelVersionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
120 inline UpdateModelVersionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
122 private:
123
124 Aws::String m_modelId;
125 bool m_modelIdHasBeenSet = false;
126
127 ModelTypeEnum m_modelType;
128 bool m_modelTypeHasBeenSet = false;
129
130 Aws::String m_majorVersionNumber;
131 bool m_majorVersionNumberHasBeenSet = false;
132
133 ExternalEventsDetail m_externalEventsDetail;
134 bool m_externalEventsDetailHasBeenSet = false;
135
136 IngestedEventsDetail m_ingestedEventsDetail;
137 bool m_ingestedEventsDetailHasBeenSet = false;
138
139 Aws::Vector<Tag> m_tags;
140 bool m_tagsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace FraudDetector
145} // namespace Aws
UpdateModelVersionRequest & AddTags(const Tag &value)
UpdateModelVersionRequest & WithExternalEventsDetail(const ExternalEventsDetail &value)
UpdateModelVersionRequest & WithModelId(Aws::String &&value)
UpdateModelVersionRequest & WithModelId(const Aws::String &value)
UpdateModelVersionRequest & WithMajorVersionNumber(Aws::String &&value)
UpdateModelVersionRequest & WithModelType(ModelTypeEnum &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateModelVersionRequest & WithExternalEventsDetail(ExternalEventsDetail &&value)
virtual const char * GetServiceRequestName() const override
void SetExternalEventsDetail(const ExternalEventsDetail &value)
UpdateModelVersionRequest & WithModelId(const char *value)
UpdateModelVersionRequest & WithMajorVersionNumber(const Aws::String &value)
UpdateModelVersionRequest & WithModelType(const ModelTypeEnum &value)
UpdateModelVersionRequest & WithTags(Aws::Vector< Tag > &&value)
UpdateModelVersionRequest & WithIngestedEventsDetail(IngestedEventsDetail &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
UpdateModelVersionRequest & WithTags(const Aws::Vector< Tag > &value)
UpdateModelVersionRequest & WithIngestedEventsDetail(const IngestedEventsDetail &value)
UpdateModelVersionRequest & WithMajorVersionNumber(const char *value)
void SetIngestedEventsDetail(const IngestedEventsDetail &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