AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EndpointSummary.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
34 {
35 public:
36 AWS_SAGEMAKER_API EndpointSummary() = default;
37 AWS_SAGEMAKER_API EndpointSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
47 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
48 template<typename EndpointNameT = Aws::String>
49 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
50 template<typename EndpointNameT = Aws::String>
51 EndpointSummary& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
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) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
62 template<typename EndpointArnT = Aws::String>
63 EndpointSummary& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
71 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
74 template<typename CreationTimeT = Aws::Utils::DateTime>
75 EndpointSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
83 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
84 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
85 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
86 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
87 EndpointSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
89
91
127 inline EndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
128 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
129 inline void SetEndpointStatus(EndpointStatus value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
132 private:
133
134 Aws::String m_endpointName;
135 bool m_endpointNameHasBeenSet = false;
136
137 Aws::String m_endpointArn;
138 bool m_endpointArnHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTime{};
141 bool m_creationTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastModifiedTime{};
144 bool m_lastModifiedTimeHasBeenSet = false;
145
146 EndpointStatus m_endpointStatus{EndpointStatus::NOT_SET};
147 bool m_endpointStatusHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SageMaker
152} // 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