AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline EvaluationDataset& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline EvaluationDataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline EvaluationDataset& WithName(const char* value) { SetName(value); return *this;}
61
63
67 inline const EvaluationDatasetLocation& GetDatasetLocation() const{ return m_datasetLocation; }
68 inline bool DatasetLocationHasBeenSet() const { return m_datasetLocationHasBeenSet; }
69 inline void SetDatasetLocation(const EvaluationDatasetLocation& value) { m_datasetLocationHasBeenSet = true; m_datasetLocation = value; }
70 inline void SetDatasetLocation(EvaluationDatasetLocation&& value) { m_datasetLocationHasBeenSet = true; m_datasetLocation = std::move(value); }
72 inline EvaluationDataset& WithDatasetLocation(EvaluationDatasetLocation&& value) { SetDatasetLocation(std::move(value)); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 EvaluationDatasetLocation m_datasetLocation;
80 bool m_datasetLocationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Bedrock
85} // namespace Aws
EvaluationDataset & WithDatasetLocation(EvaluationDatasetLocation &&value)
void SetDatasetLocation(const EvaluationDatasetLocation &value)
void SetDatasetLocation(EvaluationDatasetLocation &&value)
EvaluationDataset & WithDatasetLocation(const EvaluationDatasetLocation &value)
const EvaluationDatasetLocation & GetDatasetLocation() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
EvaluationDataset & WithName(const char *value)
EvaluationDataset & WithName(const Aws::String &value)
EvaluationDataset & WithName(Aws::String &&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