AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
52 inline InferenceComponentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetInferenceComponentArn() const{ return m_inferenceComponentArn; }
60 inline bool InferenceComponentArnHasBeenSet() const { return m_inferenceComponentArnHasBeenSet; }
61 inline void SetInferenceComponentArn(const Aws::String& value) { m_inferenceComponentArnHasBeenSet = true; m_inferenceComponentArn = value; }
62 inline void SetInferenceComponentArn(Aws::String&& value) { m_inferenceComponentArnHasBeenSet = true; m_inferenceComponentArn = std::move(value); }
63 inline void SetInferenceComponentArn(const char* value) { m_inferenceComponentArnHasBeenSet = true; m_inferenceComponentArn.assign(value); }
66 inline InferenceComponentSummary& WithInferenceComponentArn(const char* value) { SetInferenceComponentArn(value); return *this;}
68
70
73 inline const Aws::String& GetInferenceComponentName() const{ return m_inferenceComponentName; }
74 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
75 inline void SetInferenceComponentName(const Aws::String& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = value; }
76 inline void SetInferenceComponentName(Aws::String&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::move(value); }
77 inline void SetInferenceComponentName(const char* value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName.assign(value); }
80 inline InferenceComponentSummary& WithInferenceComponentName(const char* value) { SetInferenceComponentName(value); return *this;}
82
84
88 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
89 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
90 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
91 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
92 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
93 inline InferenceComponentSummary& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
94 inline InferenceComponentSummary& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
95 inline InferenceComponentSummary& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
97
99
102 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
103 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
104 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
105 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
106 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
107 inline InferenceComponentSummary& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
108 inline InferenceComponentSummary& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
109 inline InferenceComponentSummary& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
111
113
116 inline const Aws::String& GetVariantName() const{ return m_variantName; }
117 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
118 inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; }
119 inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); }
120 inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); }
121 inline InferenceComponentSummary& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;}
122 inline InferenceComponentSummary& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;}
123 inline InferenceComponentSummary& WithVariantName(const char* value) { SetVariantName(value); return *this;}
125
127
130 inline const InferenceComponentStatus& GetInferenceComponentStatus() const{ return m_inferenceComponentStatus; }
131 inline bool InferenceComponentStatusHasBeenSet() const { return m_inferenceComponentStatusHasBeenSet; }
132 inline void SetInferenceComponentStatus(const InferenceComponentStatus& value) { m_inferenceComponentStatusHasBeenSet = true; m_inferenceComponentStatus = value; }
133 inline void SetInferenceComponentStatus(InferenceComponentStatus&& value) { m_inferenceComponentStatusHasBeenSet = true; m_inferenceComponentStatus = std::move(value); }
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
143 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
144 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
145 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
149 private:
150
151 Aws::Utils::DateTime m_creationTime;
152 bool m_creationTimeHasBeenSet = false;
153
154 Aws::String m_inferenceComponentArn;
155 bool m_inferenceComponentArnHasBeenSet = false;
156
157 Aws::String m_inferenceComponentName;
158 bool m_inferenceComponentNameHasBeenSet = false;
159
160 Aws::String m_endpointArn;
161 bool m_endpointArnHasBeenSet = false;
162
163 Aws::String m_endpointName;
164 bool m_endpointNameHasBeenSet = false;
165
166 Aws::String m_variantName;
167 bool m_variantNameHasBeenSet = false;
168
169 InferenceComponentStatus m_inferenceComponentStatus;
170 bool m_inferenceComponentStatusHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastModifiedTime;
173 bool m_lastModifiedTimeHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace SageMaker
178} // namespace Aws
InferenceComponentSummary & WithEndpointName(const char *value)
InferenceComponentSummary & WithVariantName(Aws::String &&value)
InferenceComponentSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const InferenceComponentStatus & GetInferenceComponentStatus() const
InferenceComponentSummary & WithInferenceComponentStatus(const InferenceComponentStatus &value)
InferenceComponentSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceComponentSummary & WithVariantName(const char *value)
InferenceComponentSummary & WithEndpointArn(Aws::String &&value)
InferenceComponentSummary & WithEndpointName(Aws::String &&value)
void SetInferenceComponentStatus(const InferenceComponentStatus &value)
InferenceComponentSummary & WithInferenceComponentStatus(InferenceComponentStatus &&value)
InferenceComponentSummary & WithInferenceComponentArn(const char *value)
InferenceComponentSummary & WithInferenceComponentArn(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
InferenceComponentSummary & WithInferenceComponentArn(Aws::String &&value)
InferenceComponentSummary & WithInferenceComponentName(Aws::String &&value)
InferenceComponentSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetInferenceComponentStatus(InferenceComponentStatus &&value)
AWS_SAGEMAKER_API InferenceComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentSummary & WithVariantName(const Aws::String &value)
InferenceComponentSummary & WithInferenceComponentName(const Aws::String &value)
InferenceComponentSummary & WithEndpointArn(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
InferenceComponentSummary & WithEndpointName(const Aws::String &value)
InferenceComponentSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API InferenceComponentSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentSummary & WithEndpointArn(const Aws::String &value)
InferenceComponentSummary & WithInferenceComponentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue