AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelDashboardEndpoint.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
31 public:
32 AWS_SAGEMAKER_API ModelDashboardEndpoint() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
42 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
43 template <typename EndpointNameT = Aws::String>
44 void SetEndpointName(EndpointNameT&& value) {
45 m_endpointNameHasBeenSet = true;
46 m_endpointName = std::forward<EndpointNameT>(value);
47 }
48 template <typename EndpointNameT = Aws::String>
49 ModelDashboardEndpoint& WithEndpointName(EndpointNameT&& value) {
50 SetEndpointName(std::forward<EndpointNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
60 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
61 template <typename EndpointArnT = Aws::String>
62 void SetEndpointArn(EndpointArnT&& value) {
63 m_endpointArnHasBeenSet = true;
64 m_endpointArn = std::forward<EndpointArnT>(value);
65 }
66 template <typename EndpointArnT = Aws::String>
67 ModelDashboardEndpoint& WithEndpointArn(EndpointArnT&& value) {
68 SetEndpointArn(std::forward<EndpointArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
78 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
79 template <typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) {
81 m_creationTimeHasBeenSet = true;
82 m_creationTime = std::forward<CreationTimeT>(value);
83 }
84 template <typename CreationTimeT = Aws::Utils::DateTime>
85 ModelDashboardEndpoint& WithCreationTime(CreationTimeT&& value) {
86 SetCreationTime(std::forward<CreationTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
96 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
97 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
98 void SetLastModifiedTime(LastModifiedTimeT&& value) {
99 m_lastModifiedTimeHasBeenSet = true;
100 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
101 }
102 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
103 ModelDashboardEndpoint& WithLastModifiedTime(LastModifiedTimeT&& value) {
104 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
105 return *this;
106 }
108
110
113 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
114 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
116 m_endpointStatusHasBeenSet = true;
117 m_endpointStatus = value;
118 }
120 SetEndpointStatus(value);
121 return *this;
122 }
124 private:
125 Aws::String m_endpointName;
126
127 Aws::String m_endpointArn;
128
129 Aws::Utils::DateTime m_creationTime{};
130
131 Aws::Utils::DateTime m_lastModifiedTime{};
132
133 EndpointStatus m_endpointStatus{EndpointStatus::NOT_SET};
134 bool m_endpointNameHasBeenSet = false;
135 bool m_endpointArnHasBeenSet = false;
136 bool m_creationTimeHasBeenSet = false;
137 bool m_lastModifiedTimeHasBeenSet = false;
138 bool m_endpointStatusHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SageMaker
143} // namespace Aws
ModelDashboardEndpoint & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API ModelDashboardEndpoint()=default
ModelDashboardEndpoint & WithEndpointArn(EndpointArnT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelDashboardEndpoint & WithEndpointStatus(EndpointStatus value)
AWS_SAGEMAKER_API ModelDashboardEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
ModelDashboardEndpoint & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelDashboardEndpoint & WithEndpointName(EndpointNameT &&value)
AWS_SAGEMAKER_API ModelDashboardEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue