AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
48 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
49 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
50 inline EndpointMetadata& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
51 inline EndpointMetadata& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
52 inline EndpointMetadata& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
54
56
59 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
60 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
61 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
62 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
63 inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
64 inline EndpointMetadata& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;}
65 inline EndpointMetadata& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
66 inline EndpointMetadata& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
68
70
76 inline const EndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; }
77 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
78 inline void SetEndpointStatus(const EndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
79 inline void SetEndpointStatus(EndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
80 inline EndpointMetadata& WithEndpointStatus(const EndpointStatus& value) { SetEndpointStatus(value); return *this;}
81 inline EndpointMetadata& WithEndpointStatus(EndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;}
83
85
90 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
91 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
92 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
93 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
94 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
95 inline EndpointMetadata& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
96 inline EndpointMetadata& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
97 inline EndpointMetadata& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
99 private:
100
101 Aws::String m_endpointName;
102 bool m_endpointNameHasBeenSet = false;
103
104 Aws::String m_endpointConfigName;
105 bool m_endpointConfigNameHasBeenSet = false;
106
107 EndpointStatus m_endpointStatus;
108 bool m_endpointStatusHasBeenSet = false;
109
110 Aws::String m_failureReason;
111 bool m_failureReasonHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SageMaker
116} // namespace Aws
void SetEndpointStatus(const EndpointStatus &value)
void SetEndpointConfigName(const Aws::String &value)
EndpointMetadata & WithFailureReason(Aws::String &&value)
EndpointMetadata & WithEndpointConfigName(Aws::String &&value)
const Aws::String & GetEndpointName() const
void SetEndpointStatus(EndpointStatus &&value)
EndpointMetadata & WithEndpointName(const Aws::String &value)
EndpointMetadata & WithEndpointStatus(EndpointStatus &&value)
AWS_SAGEMAKER_API EndpointMetadata(Aws::Utils::Json::JsonView jsonValue)
const EndpointStatus & GetEndpointStatus() const
void SetEndpointConfigName(Aws::String &&value)
EndpointMetadata & WithEndpointName(const char *value)
EndpointMetadata & WithFailureReason(const Aws::String &value)
void SetEndpointName(const Aws::String &value)
const Aws::String & GetEndpointConfigName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointMetadata & WithEndpointStatus(const EndpointStatus &value)
AWS_SAGEMAKER_API EndpointMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointMetadata & WithEndpointConfigName(const char *value)
EndpointMetadata & WithEndpointName(Aws::String &&value)
void SetEndpointName(Aws::String &&value)
const Aws::String & GetFailureReason() const
void SetFailureReason(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
EndpointMetadata & WithEndpointConfigName(const Aws::String &value)
EndpointMetadata & WithFailureReason(const char *value)
void SetEndpointConfigName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue