AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EndpointMetadata.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/EndpointStatus.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 SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API EndpointMetadata() = default;
36 AWS_SAGEMAKER_API EndpointMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
46 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
47 template<typename EndpointNameT = Aws::String>
48 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
49 template<typename EndpointNameT = Aws::String>
50 EndpointMetadata& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEndpointConfigName() const { return m_endpointConfigName; }
58 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
59 template<typename EndpointConfigNameT = Aws::String>
60 void SetEndpointConfigName(EndpointConfigNameT&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::forward<EndpointConfigNameT>(value); }
61 template<typename EndpointConfigNameT = Aws::String>
62 EndpointMetadata& WithEndpointConfigName(EndpointConfigNameT&& value) { SetEndpointConfigName(std::forward<EndpointConfigNameT>(value)); return *this;}
64
66
72 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
73 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
74 inline void SetEndpointStatus(EndpointStatus value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
77
79
84 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
85 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
86 template<typename FailureReasonT = Aws::String>
87 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
88 template<typename FailureReasonT = Aws::String>
89 EndpointMetadata& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
91 private:
92
93 Aws::String m_endpointName;
94 bool m_endpointNameHasBeenSet = false;
95
96 Aws::String m_endpointConfigName;
97 bool m_endpointConfigNameHasBeenSet = false;
98
100 bool m_endpointStatusHasBeenSet = false;
101
102 Aws::String m_failureReason;
103 bool m_failureReasonHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
void SetEndpointStatus(EndpointStatus value)
AWS_SAGEMAKER_API EndpointMetadata()=default
EndpointMetadata & WithEndpointConfigName(EndpointConfigNameT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetEndpointName() const
void SetEndpointConfigName(EndpointConfigNameT &&value)
AWS_SAGEMAKER_API EndpointMetadata(Aws::Utils::Json::JsonView jsonValue)
EndpointMetadata & WithEndpointStatus(EndpointStatus value)
const Aws::String & GetEndpointConfigName() const
void SetEndpointName(EndpointNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API EndpointMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointMetadata & WithEndpointName(EndpointNameT &&value)
const Aws::String & GetFailureReason() const
EndpointMetadata & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue