AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AIBenchmarkTarget.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AIBenchmarkEndpoint.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AIBenchmarkTarget() = default;
31 AWS_SAGEMAKER_API AIBenchmarkTarget(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AIBenchmarkEndpoint& GetEndpoint() const { return m_endpoint; }
40 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
41 template <typename EndpointT = AIBenchmarkEndpoint>
42 void SetEndpoint(EndpointT&& value) {
43 m_endpointHasBeenSet = true;
44 m_endpoint = std::forward<EndpointT>(value);
45 }
46 template <typename EndpointT = AIBenchmarkEndpoint>
47 AIBenchmarkTarget& WithEndpoint(EndpointT&& value) {
48 SetEndpoint(std::forward<EndpointT>(value));
49 return *this;
50 }
52 private:
53 AIBenchmarkEndpoint m_endpoint;
54 bool m_endpointHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SageMaker
59} // namespace Aws
AWS_SAGEMAKER_API AIBenchmarkTarget()=default
AIBenchmarkTarget & WithEndpoint(EndpointT &&value)
AWS_SAGEMAKER_API AIBenchmarkTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AIBenchmarkTarget(Aws::Utils::Json::JsonView jsonValue)
const AIBenchmarkEndpoint & GetEndpoint() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue