AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceComponentSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/InferenceComponentContainerSpecification.h>
10#include <aws/sagemaker/model/InferenceComponentStartupParameters.h>
11#include <aws/sagemaker/model/InferenceComponentComputeResourceRequirements.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
37 {
38 public:
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetModelName() const{ return m_modelName; }
51 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
52 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
53 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
54 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
55 inline InferenceComponentSpecification& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
56 inline InferenceComponentSpecification& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
57 inline InferenceComponentSpecification& WithModelName(const char* value) { SetModelName(value); return *this;}
59
61
65 inline const InferenceComponentContainerSpecification& GetContainer() const{ return m_container; }
66 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
67 inline void SetContainer(const InferenceComponentContainerSpecification& value) { m_containerHasBeenSet = true; m_container = value; }
68 inline void SetContainer(InferenceComponentContainerSpecification&& value) { m_containerHasBeenSet = true; m_container = std::move(value); }
72
74
77 inline const InferenceComponentStartupParameters& GetStartupParameters() const{ return m_startupParameters; }
78 inline bool StartupParametersHasBeenSet() const { return m_startupParametersHasBeenSet; }
79 inline void SetStartupParameters(const InferenceComponentStartupParameters& value) { m_startupParametersHasBeenSet = true; m_startupParameters = value; }
80 inline void SetStartupParameters(InferenceComponentStartupParameters&& value) { m_startupParametersHasBeenSet = true; m_startupParameters = std::move(value); }
84
86
90 inline const InferenceComponentComputeResourceRequirements& GetComputeResourceRequirements() const{ return m_computeResourceRequirements; }
91 inline bool ComputeResourceRequirementsHasBeenSet() const { return m_computeResourceRequirementsHasBeenSet; }
92 inline void SetComputeResourceRequirements(const InferenceComponentComputeResourceRequirements& value) { m_computeResourceRequirementsHasBeenSet = true; m_computeResourceRequirements = value; }
93 inline void SetComputeResourceRequirements(InferenceComponentComputeResourceRequirements&& value) { m_computeResourceRequirementsHasBeenSet = true; m_computeResourceRequirements = std::move(value); }
97 private:
98
99 Aws::String m_modelName;
100 bool m_modelNameHasBeenSet = false;
101
103 bool m_containerHasBeenSet = false;
104
105 InferenceComponentStartupParameters m_startupParameters;
106 bool m_startupParametersHasBeenSet = false;
107
108 InferenceComponentComputeResourceRequirements m_computeResourceRequirements;
109 bool m_computeResourceRequirementsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceComponentSpecification & WithModelName(const Aws::String &value)
InferenceComponentSpecification & WithModelName(const char *value)
AWS_SAGEMAKER_API InferenceComponentSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentSpecification & WithComputeResourceRequirements(const InferenceComponentComputeResourceRequirements &value)
void SetComputeResourceRequirements(const InferenceComponentComputeResourceRequirements &value)
void SetStartupParameters(const InferenceComponentStartupParameters &value)
InferenceComponentSpecification & WithStartupParameters(const InferenceComponentStartupParameters &value)
void SetComputeResourceRequirements(InferenceComponentComputeResourceRequirements &&value)
InferenceComponentSpecification & WithContainer(const InferenceComponentContainerSpecification &value)
InferenceComponentSpecification & WithStartupParameters(InferenceComponentStartupParameters &&value)
const InferenceComponentStartupParameters & GetStartupParameters() const
InferenceComponentSpecification & WithModelName(Aws::String &&value)
const InferenceComponentComputeResourceRequirements & GetComputeResourceRequirements() const
const InferenceComponentContainerSpecification & GetContainer() const
AWS_SAGEMAKER_API InferenceComponentSpecification(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentSpecification & WithComputeResourceRequirements(InferenceComponentComputeResourceRequirements &&value)
void SetContainer(InferenceComponentContainerSpecification &&value)
InferenceComponentSpecification & WithContainer(InferenceComponentContainerSpecification &&value)
void SetContainer(const InferenceComponentContainerSpecification &value)
void SetStartupParameters(InferenceComponentStartupParameters &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue