AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelVersion.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/ModelTypeEnum.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 ModelVersion();
36 AWS_FRAUDDETECTOR_API ModelVersion(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API ModelVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetModelId() const{ return m_modelId; }
46 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
47 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
48 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
49 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
50 inline ModelVersion& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
51 inline ModelVersion& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
52 inline ModelVersion& WithModelId(const char* value) { SetModelId(value); return *this;}
54
56
59 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
60 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
61 inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
62 inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
63 inline ModelVersion& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
64 inline ModelVersion& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
72 inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
73 inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
74 inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
75 inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
76 inline ModelVersion& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
77 inline ModelVersion& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
78 inline ModelVersion& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
80
82
85 inline const Aws::String& GetArn() const{ return m_arn; }
86 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
87 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
88 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
89 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
90 inline ModelVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
91 inline ModelVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
92 inline ModelVersion& WithArn(const char* value) { SetArn(value); return *this;}
94 private:
95
96 Aws::String m_modelId;
97 bool m_modelIdHasBeenSet = false;
98
99 ModelTypeEnum m_modelType;
100 bool m_modelTypeHasBeenSet = false;
101
102 Aws::String m_modelVersionNumber;
103 bool m_modelVersionNumberHasBeenSet = false;
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace FraudDetector
111} // namespace Aws
ModelVersion & WithModelId(Aws::String &&value)
ModelVersion & WithModelId(const Aws::String &value)
void SetModelId(Aws::String &&value)
ModelVersion & WithModelVersionNumber(const char *value)
AWS_FRAUDDETECTOR_API ModelVersion(Aws::Utils::Json::JsonView jsonValue)
ModelVersion & WithModelVersionNumber(const Aws::String &value)
void SetArn(Aws::String &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelType(ModelTypeEnum &&value)
void SetModelId(const Aws::String &value)
void SetModelVersionNumber(Aws::String &&value)
const Aws::String & GetArn() const
const Aws::String & GetModelVersionNumber() const
AWS_FRAUDDETECTOR_API ModelVersion()
void SetModelVersionNumber(const Aws::String &value)
ModelVersion & WithModelId(const char *value)
void SetArn(const Aws::String &value)
const ModelTypeEnum & GetModelType() const
ModelVersion & WithModelVersionNumber(Aws::String &&value)
void SetModelVersionNumber(const char *value)
ModelVersion & WithArn(Aws::String &&value)
ModelVersion & WithModelType(const ModelTypeEnum &value)
ModelVersion & WithArn(const Aws::String &value)
AWS_FRAUDDETECTOR_API ModelVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelType(const ModelTypeEnum &value)
const Aws::String & GetModelId() const
ModelVersion & WithModelType(ModelTypeEnum &&value)
ModelVersion & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue