AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelDashboardEndpoint.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/EndpointStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ModelDashboardEndpoint() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
48 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
49 template<typename EndpointNameT = Aws::String>
50 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
51 template<typename EndpointNameT = Aws::String>
52 ModelDashboardEndpoint& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
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) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
63 template<typename EndpointArnT = Aws::String>
64 ModelDashboardEndpoint& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 ModelDashboardEndpoint& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
84 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
85 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
86 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
87 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
88 ModelDashboardEndpoint& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
90
92
95 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
96 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
97 inline void SetEndpointStatus(EndpointStatus value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
100 private:
101
102 Aws::String m_endpointName;
103 bool m_endpointNameHasBeenSet = false;
104
105 Aws::String m_endpointArn;
106 bool m_endpointArnHasBeenSet = false;
107
108 Aws::Utils::DateTime m_creationTime{};
109 bool m_creationTimeHasBeenSet = false;
110
111 Aws::Utils::DateTime m_lastModifiedTime{};
112 bool m_lastModifiedTimeHasBeenSet = false;
113
114 EndpointStatus m_endpointStatus{EndpointStatus::NOT_SET};
115 bool m_endpointStatusHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SageMaker
120} // 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