AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
EndpointSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/EndpointStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API EndpointSummary() = default;
32 AWS_SAGEMAKER_API EndpointSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
41 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
42 template <typename EndpointNameT = Aws::String>
43 void SetEndpointName(EndpointNameT&& value) {
44 m_endpointNameHasBeenSet = true;
45 m_endpointName = std::forward<EndpointNameT>(value);
46 }
47 template <typename EndpointNameT = Aws::String>
48 EndpointSummary& WithEndpointName(EndpointNameT&& value) {
49 SetEndpointName(std::forward<EndpointNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
59 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
60 template <typename EndpointArnT = Aws::String>
61 void SetEndpointArn(EndpointArnT&& value) {
62 m_endpointArnHasBeenSet = true;
63 m_endpointArn = std::forward<EndpointArnT>(value);
64 }
65 template <typename EndpointArnT = Aws::String>
66 EndpointSummary& WithEndpointArn(EndpointArnT&& value) {
67 SetEndpointArn(std::forward<EndpointArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
77 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
79 void SetCreationTime(CreationTimeT&& value) {
80 m_creationTimeHasBeenSet = true;
81 m_creationTime = std::forward<CreationTimeT>(value);
82 }
83 template <typename CreationTimeT = Aws::Utils::DateTime>
84 EndpointSummary& WithCreationTime(CreationTimeT&& value) {
85 SetCreationTime(std::forward<CreationTimeT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
95 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
96 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
97 void SetLastModifiedTime(LastModifiedTimeT&& value) {
98 m_lastModifiedTimeHasBeenSet = true;
99 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
100 }
101 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
102 EndpointSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
103 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
104 return *this;
105 }
107
109
145 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
146 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
148 m_endpointStatusHasBeenSet = true;
149 m_endpointStatus = value;
150 }
152 SetEndpointStatus(value);
153 return *this;
154 }
156 private:
157 Aws::String m_endpointName;
158
159 Aws::String m_endpointArn;
160
161 Aws::Utils::DateTime m_creationTime{};
162
163 Aws::Utils::DateTime m_lastModifiedTime{};
164
165 EndpointStatus m_endpointStatus{EndpointStatus::NOT_SET};
166 bool m_endpointNameHasBeenSet = false;
167 bool m_endpointArnHasBeenSet = false;
168 bool m_creationTimeHasBeenSet = false;
169 bool m_lastModifiedTimeHasBeenSet = false;
170 bool m_endpointStatusHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace SageMaker
175} // namespace Aws
AWS_SAGEMAKER_API EndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointSummary & WithEndpointName(EndpointNameT &&value)
const Aws::String & GetEndpointArn() const
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API EndpointSummary(Aws::Utils::Json::JsonView jsonValue)
EndpointSummary & WithEndpointArn(EndpointArnT &&value)
const Aws::String & GetEndpointName() const
EndpointSummary & WithEndpointStatus(EndpointStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
EndpointSummary & WithCreationTime(CreationTimeT &&value)
void SetEndpointArn(EndpointArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
EndpointSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointName(EndpointNameT &&value)
void SetEndpointStatus(EndpointStatus value)
AWS_SAGEMAKER_API EndpointSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue