AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExternalModelSummary.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/ModelSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API ExternalModelSummary() = default;
36 AWS_FRAUDDETECTOR_API ExternalModelSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetModelEndpoint() const { return m_modelEndpoint; }
46 inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
47 template<typename ModelEndpointT = Aws::String>
48 void SetModelEndpoint(ModelEndpointT&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::forward<ModelEndpointT>(value); }
49 template<typename ModelEndpointT = Aws::String>
50 ExternalModelSummary& WithModelEndpoint(ModelEndpointT&& value) { SetModelEndpoint(std::forward<ModelEndpointT>(value)); return *this;}
52
54
57 inline ModelSource GetModelSource() const { return m_modelSource; }
58 inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
59 inline void SetModelSource(ModelSource value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
60 inline ExternalModelSummary& WithModelSource(ModelSource value) { SetModelSource(value); return *this;}
62 private:
63
64 Aws::String m_modelEndpoint;
65 bool m_modelEndpointHasBeenSet = false;
66
67 ModelSource m_modelSource{ModelSource::NOT_SET};
68 bool m_modelSourceHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace FraudDetector
73} // namespace Aws
ExternalModelSummary & WithModelSource(ModelSource value)
ExternalModelSummary & WithModelEndpoint(ModelEndpointT &&value)
AWS_FRAUDDETECTOR_API ExternalModelSummary()=default
AWS_FRAUDDETECTOR_API ExternalModelSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API ExternalModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue