AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
EvaluationDataset.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/EvaluationDatasetLocation.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 Bedrock
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BEDROCK_API EvaluationDataset() = default;
40 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 EvaluationDataset& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
65 inline const EvaluationDatasetLocation& GetDatasetLocation() const { return m_datasetLocation; }
66 inline bool DatasetLocationHasBeenSet() const { return m_datasetLocationHasBeenSet; }
67 template<typename DatasetLocationT = EvaluationDatasetLocation>
68 void SetDatasetLocation(DatasetLocationT&& value) { m_datasetLocationHasBeenSet = true; m_datasetLocation = std::forward<DatasetLocationT>(value); }
69 template<typename DatasetLocationT = EvaluationDatasetLocation>
70 EvaluationDataset& WithDatasetLocation(DatasetLocationT&& value) { SetDatasetLocation(std::forward<DatasetLocationT>(value)); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 EvaluationDatasetLocation m_datasetLocation;
78 bool m_datasetLocationHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Bedrock
83} // namespace Aws
EvaluationDataset & WithDatasetLocation(DatasetLocationT &&value)
const EvaluationDatasetLocation & GetDatasetLocation() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatasetLocation(DatasetLocationT &&value)
AWS_BEDROCK_API EvaluationDataset()=default
EvaluationDataset & WithName(NameT &&value)
AWS_BEDROCK_API EvaluationDataset(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_BEDROCK_API EvaluationDataset & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue