AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
49 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
50 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
51 inline EndpointSummary& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
52 inline EndpointSummary& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
53 inline EndpointSummary& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
55
57
60 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
61 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
62 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
63 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
64 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
65 inline EndpointSummary& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
66 inline EndpointSummary& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
67 inline EndpointSummary& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
77 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
78 inline EndpointSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
79 inline EndpointSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
87 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
88 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
89 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
91 inline EndpointSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
93
95
131 inline const EndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; }
132 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
133 inline void SetEndpointStatus(const EndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
134 inline void SetEndpointStatus(EndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
135 inline EndpointSummary& WithEndpointStatus(const EndpointStatus& value) { SetEndpointStatus(value); return *this;}
136 inline EndpointSummary& WithEndpointStatus(EndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_endpointName;
141 bool m_endpointNameHasBeenSet = false;
142
143 Aws::String m_endpointArn;
144 bool m_endpointArnHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime;
147 bool m_creationTimeHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastModifiedTime;
150 bool m_lastModifiedTimeHasBeenSet = false;
151
152 EndpointStatus m_endpointStatus;
153 bool m_endpointStatusHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace SageMaker
158} // namespace Aws
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API EndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointSummary & WithEndpointArn(Aws::String &&value)
EndpointSummary & WithEndpointStatus(const EndpointStatus &value)
EndpointSummary & WithEndpointName(const Aws::String &value)
EndpointSummary & WithEndpointArn(const char *value)
EndpointSummary & WithEndpointArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
EndpointSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetEndpointArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
EndpointSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API EndpointSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEndpointArn(const Aws::String &value)
EndpointSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetEndpointName() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetEndpointName(const char *value)
EndpointSummary & WithEndpointStatus(EndpointStatus &&value)
EndpointSummary & WithEndpointName(const char *value)
EndpointSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointArn(Aws::String &&value)
void SetEndpointName(const Aws::String &value)
void SetEndpointStatus(const EndpointStatus &value)
const EndpointStatus & GetEndpointStatus() const
void SetEndpointName(Aws::String &&value)
EndpointSummary & WithEndpointName(Aws::String &&value)
void SetEndpointStatus(EndpointStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue