AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
48 inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
49 inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
50 inline ExternalModelSummary& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
51 inline ExternalModelSummary& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
52 inline ExternalModelSummary& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
54
56
59 inline const ModelSource& GetModelSource() const{ return m_modelSource; }
60 inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
61 inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
62 inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); }
63 inline ExternalModelSummary& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;}
64 inline ExternalModelSummary& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_modelEndpoint;
69 bool m_modelEndpointHasBeenSet = false;
70
71 ModelSource m_modelSource;
72 bool m_modelSourceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FraudDetector
77} // namespace Aws
ExternalModelSummary & WithModelEndpoint(const Aws::String &value)
AWS_FRAUDDETECTOR_API ExternalModelSummary(Aws::Utils::Json::JsonView jsonValue)
ExternalModelSummary & WithModelSource(const ModelSource &value)
ExternalModelSummary & WithModelEndpoint(Aws::String &&value)
AWS_FRAUDDETECTOR_API ExternalModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalModelSummary & WithModelEndpoint(const char *value)
ExternalModelSummary & WithModelSource(ModelSource &&value)
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