AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InferenceComponentSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/InferenceComponentStatus.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 InferenceComponentSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::Utils::DateTime>
52 InferenceComponentSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetInferenceComponentArn() const { return m_inferenceComponentArn; }
60 inline bool InferenceComponentArnHasBeenSet() const { return m_inferenceComponentArnHasBeenSet; }
61 template<typename InferenceComponentArnT = Aws::String>
62 void SetInferenceComponentArn(InferenceComponentArnT&& value) { m_inferenceComponentArnHasBeenSet = true; m_inferenceComponentArn = std::forward<InferenceComponentArnT>(value); }
63 template<typename InferenceComponentArnT = Aws::String>
64 InferenceComponentSummary& WithInferenceComponentArn(InferenceComponentArnT&& value) { SetInferenceComponentArn(std::forward<InferenceComponentArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
72 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
73 template<typename InferenceComponentNameT = Aws::String>
74 void SetInferenceComponentName(InferenceComponentNameT&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::forward<InferenceComponentNameT>(value); }
75 template<typename InferenceComponentNameT = Aws::String>
76 InferenceComponentSummary& WithInferenceComponentName(InferenceComponentNameT&& value) { SetInferenceComponentName(std::forward<InferenceComponentNameT>(value)); return *this;}
78
80
84 inline const Aws::String& GetEndpointArn() const { return m_endpointArn; }
85 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
86 template<typename EndpointArnT = Aws::String>
87 void SetEndpointArn(EndpointArnT&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::forward<EndpointArnT>(value); }
88 template<typename EndpointArnT = Aws::String>
89 InferenceComponentSummary& WithEndpointArn(EndpointArnT&& value) { SetEndpointArn(std::forward<EndpointArnT>(value)); return *this;}
91
93
96 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
97 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
98 template<typename EndpointNameT = Aws::String>
99 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
100 template<typename EndpointNameT = Aws::String>
101 InferenceComponentSummary& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
103
105
108 inline const Aws::String& GetVariantName() const { return m_variantName; }
109 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
110 template<typename VariantNameT = Aws::String>
111 void SetVariantName(VariantNameT&& value) { m_variantNameHasBeenSet = true; m_variantName = std::forward<VariantNameT>(value); }
112 template<typename VariantNameT = Aws::String>
113 InferenceComponentSummary& WithVariantName(VariantNameT&& value) { SetVariantName(std::forward<VariantNameT>(value)); return *this;}
115
117
120 inline InferenceComponentStatus GetInferenceComponentStatus() const { return m_inferenceComponentStatus; }
121 inline bool InferenceComponentStatusHasBeenSet() const { return m_inferenceComponentStatusHasBeenSet; }
122 inline void SetInferenceComponentStatus(InferenceComponentStatus value) { m_inferenceComponentStatusHasBeenSet = true; m_inferenceComponentStatus = value; }
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
132 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
133 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
134 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
135 InferenceComponentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
137 private:
138
139 Aws::Utils::DateTime m_creationTime{};
140 bool m_creationTimeHasBeenSet = false;
141
142 Aws::String m_inferenceComponentArn;
143 bool m_inferenceComponentArnHasBeenSet = false;
144
145 Aws::String m_inferenceComponentName;
146 bool m_inferenceComponentNameHasBeenSet = false;
147
148 Aws::String m_endpointArn;
149 bool m_endpointArnHasBeenSet = false;
150
151 Aws::String m_endpointName;
152 bool m_endpointNameHasBeenSet = false;
153
154 Aws::String m_variantName;
155 bool m_variantNameHasBeenSet = false;
156
158 bool m_inferenceComponentStatusHasBeenSet = false;
159
160 Aws::Utils::DateTime m_lastModifiedTime{};
161 bool m_lastModifiedTimeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SageMaker
166} // namespace Aws
InferenceComponentSummary & WithInferenceComponentArn(InferenceComponentArnT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary()=default
InferenceComponentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
InferenceComponentSummary & WithEndpointArn(EndpointArnT &&value)
InferenceComponentSummary & WithInferenceComponentStatus(InferenceComponentStatus value)
InferenceComponentSummary & WithInferenceComponentName(InferenceComponentNameT &&value)
InferenceComponentSummary & WithVariantName(VariantNameT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentSummary & WithEndpointName(EndpointNameT &&value)
InferenceComponentSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetInferenceComponentArn(InferenceComponentArnT &&value)
AWS_SAGEMAKER_API InferenceComponentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetInferenceComponentName(InferenceComponentNameT &&value)
void SetInferenceComponentStatus(InferenceComponentStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue