AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TotalHits.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/Relation.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SAGEMAKER_API TotalHits() = default;
40 AWS_SAGEMAKER_API TotalHits(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API TotalHits& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline long long GetValue() const { return m_value; }
51 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
52 inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
53 inline TotalHits& WithValue(long long value) { SetValue(value); return *this;}
55
57
65 inline Relation GetRelation() const { return m_relation; }
66 inline bool RelationHasBeenSet() const { return m_relationHasBeenSet; }
67 inline void SetRelation(Relation value) { m_relationHasBeenSet = true; m_relation = value; }
68 inline TotalHits& WithRelation(Relation value) { SetRelation(value); return *this;}
70 private:
71
72 long long m_value{0};
73 bool m_valueHasBeenSet = false;
74
75 Relation m_relation{Relation::NOT_SET};
76 bool m_relationHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API TotalHits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TotalHits(Aws::Utils::Json::JsonView jsonValue)
TotalHits & WithValue(long long value)
Definition TotalHits.h:53
void SetValue(long long value)
Definition TotalHits.h:52
AWS_SAGEMAKER_API TotalHits()=default
TotalHits & WithRelation(Relation value)
Definition TotalHits.h:68
void SetRelation(Relation value)
Definition TotalHits.h:67
Aws::Utils::Json::JsonValue JsonValue