AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
EvaluationDataset.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/EvaluationDatasetLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
31 public:
32 AWS_BEDROCK_API EvaluationDataset() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template <typename NameT = Aws::String>
49 void SetName(NameT&& value) {
50 m_nameHasBeenSet = true;
51 m_name = std::forward<NameT>(value);
52 }
53 template <typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
56 return *this;
57 }
59
61
65 inline const EvaluationDatasetLocation& GetDatasetLocation() const { return m_datasetLocation; }
66 inline bool DatasetLocationHasBeenSet() const { return m_datasetLocationHasBeenSet; }
67 template <typename DatasetLocationT = EvaluationDatasetLocation>
69 m_datasetLocationHasBeenSet = true;
70 m_datasetLocation = std::forward<DatasetLocationT>(value);
71 }
72 template <typename DatasetLocationT = EvaluationDatasetLocation>
74 SetDatasetLocation(std::forward<DatasetLocationT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_name;
80
81 EvaluationDatasetLocation m_datasetLocation;
82 bool m_nameHasBeenSet = false;
83 bool m_datasetLocationHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Bedrock
88} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue