AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutExternalModelRequest.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/ModelSource.h>
11#include <aws/frauddetector/model/ModelInputConfiguration.h>
12#include <aws/frauddetector/model/ModelOutputConfiguration.h>
13#include <aws/frauddetector/model/ModelEndpointStatus.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/frauddetector/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace FraudDetector
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_FRAUDDETECTOR_API PutExternalModelRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "PutExternalModel"; }
37
38 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
39
40 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
47 inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; }
48 inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
49 inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
50 inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
51 inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
52 inline PutExternalModelRequest& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
53 inline PutExternalModelRequest& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
54 inline PutExternalModelRequest& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
56
58
61 inline const ModelSource& GetModelSource() const{ return m_modelSource; }
62 inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
63 inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
64 inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); }
65 inline PutExternalModelRequest& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;}
66 inline PutExternalModelRequest& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetInvokeModelEndpointRoleArn() const{ return m_invokeModelEndpointRoleArn; }
74 inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; }
75 inline void SetInvokeModelEndpointRoleArn(const Aws::String& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = value; }
76 inline void SetInvokeModelEndpointRoleArn(Aws::String&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::move(value); }
77 inline void SetInvokeModelEndpointRoleArn(const char* value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn.assign(value); }
82
84
87 inline const ModelInputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; }
88 inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
89 inline void SetInputConfiguration(const ModelInputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; }
90 inline void SetInputConfiguration(ModelInputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); }
94
96
99 inline const ModelOutputConfiguration& GetOutputConfiguration() const{ return m_outputConfiguration; }
100 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
101 inline void SetOutputConfiguration(const ModelOutputConfiguration& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = value; }
102 inline void SetOutputConfiguration(ModelOutputConfiguration&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::move(value); }
106
108
111 inline const ModelEndpointStatus& GetModelEndpointStatus() const{ return m_modelEndpointStatus; }
112 inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; }
113 inline void SetModelEndpointStatus(const ModelEndpointStatus& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; }
114 inline void SetModelEndpointStatus(ModelEndpointStatus&& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = std::move(value); }
118
120
123 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
126 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
127 inline PutExternalModelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
128 inline PutExternalModelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
129 inline PutExternalModelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
130 inline PutExternalModelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
132 private:
133
134 Aws::String m_modelEndpoint;
135 bool m_modelEndpointHasBeenSet = false;
136
137 ModelSource m_modelSource;
138 bool m_modelSourceHasBeenSet = false;
139
140 Aws::String m_invokeModelEndpointRoleArn;
141 bool m_invokeModelEndpointRoleArnHasBeenSet = false;
142
143 ModelInputConfiguration m_inputConfiguration;
144 bool m_inputConfigurationHasBeenSet = false;
145
146 ModelOutputConfiguration m_outputConfiguration;
147 bool m_outputConfigurationHasBeenSet = false;
148
149 ModelEndpointStatus m_modelEndpointStatus;
150 bool m_modelEndpointStatusHasBeenSet = false;
151
152 Aws::Vector<Tag> m_tags;
153 bool m_tagsHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace FraudDetector
158} // namespace Aws
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(Aws::String &&value)
PutExternalModelRequest & WithTags(const Aws::Vector< Tag > &value)
const ModelInputConfiguration & GetInputConfiguration() const
PutExternalModelRequest & WithOutputConfiguration(ModelOutputConfiguration &&value)
PutExternalModelRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutExternalModelRequest & WithModelEndpoint(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutExternalModelRequest & WithInputConfiguration(ModelInputConfiguration &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
PutExternalModelRequest & AddTags(const Tag &value)
PutExternalModelRequest & WithModelEndpoint(Aws::String &&value)
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(const Aws::String &value)
void SetOutputConfiguration(const ModelOutputConfiguration &value)
PutExternalModelRequest & WithModelEndpointStatus(const ModelEndpointStatus &value)
PutExternalModelRequest & WithOutputConfiguration(const ModelOutputConfiguration &value)
void SetOutputConfiguration(ModelOutputConfiguration &&value)
PutExternalModelRequest & WithModelSource(const ModelSource &value)
const ModelEndpointStatus & GetModelEndpointStatus() const
const ModelOutputConfiguration & GetOutputConfiguration() const
PutExternalModelRequest & WithModelSource(ModelSource &&value)
PutExternalModelRequest & WithModelEndpointStatus(ModelEndpointStatus &&value)
PutExternalModelRequest & WithModelEndpoint(const char *value)
void SetInputConfiguration(ModelInputConfiguration &&value)
void SetModelEndpointStatus(const ModelEndpointStatus &value)
void SetInputConfiguration(const ModelInputConfiguration &value)
PutExternalModelRequest & WithInputConfiguration(const ModelInputConfiguration &value)
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(const char *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