AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceComponentSpecificationSummary.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/InferenceComponentContainerSpecificationSummary.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
36 {
37 public:
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetModelName() const{ return m_modelName; }
50 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
51 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
52 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
53 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
55 inline InferenceComponentSpecificationSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
56 inline InferenceComponentSpecificationSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
58
60
64 inline const InferenceComponentContainerSpecificationSummary& GetContainer() const{ return m_container; }
65 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
66 inline void SetContainer(const InferenceComponentContainerSpecificationSummary& value) { m_containerHasBeenSet = true; m_container = value; }
67 inline void SetContainer(InferenceComponentContainerSpecificationSummary&& value) { m_containerHasBeenSet = true; m_container = std::move(value); }
71
73
76 inline const InferenceComponentStartupParameters& GetStartupParameters() const{ return m_startupParameters; }
77 inline bool StartupParametersHasBeenSet() const { return m_startupParametersHasBeenSet; }
78 inline void SetStartupParameters(const InferenceComponentStartupParameters& value) { m_startupParametersHasBeenSet = true; m_startupParameters = value; }
79 inline void SetStartupParameters(InferenceComponentStartupParameters&& value) { m_startupParametersHasBeenSet = true; m_startupParameters = std::move(value); }
83
85
89 inline const InferenceComponentComputeResourceRequirements& GetComputeResourceRequirements() const{ return m_computeResourceRequirements; }
90 inline bool ComputeResourceRequirementsHasBeenSet() const { return m_computeResourceRequirementsHasBeenSet; }
91 inline void SetComputeResourceRequirements(const InferenceComponentComputeResourceRequirements& value) { m_computeResourceRequirementsHasBeenSet = true; m_computeResourceRequirements = value; }
92 inline void SetComputeResourceRequirements(InferenceComponentComputeResourceRequirements&& value) { m_computeResourceRequirementsHasBeenSet = true; m_computeResourceRequirements = std::move(value); }
96 private:
97
98 Aws::String m_modelName;
99 bool m_modelNameHasBeenSet = false;
100
102 bool m_containerHasBeenSet = false;
103
104 InferenceComponentStartupParameters m_startupParameters;
105 bool m_startupParametersHasBeenSet = false;
106
107 InferenceComponentComputeResourceRequirements m_computeResourceRequirements;
108 bool m_computeResourceRequirementsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
void SetContainer(const InferenceComponentContainerSpecificationSummary &value)
InferenceComponentSpecificationSummary & WithStartupParameters(InferenceComponentStartupParameters &&value)
InferenceComponentSpecificationSummary & WithModelName(Aws::String &&value)
InferenceComponentSpecificationSummary & WithStartupParameters(const InferenceComponentStartupParameters &value)
void SetStartupParameters(const InferenceComponentStartupParameters &value)
void SetComputeResourceRequirements(InferenceComponentComputeResourceRequirements &&value)
InferenceComponentSpecificationSummary & WithComputeResourceRequirements(const InferenceComponentComputeResourceRequirements &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const InferenceComponentContainerSpecificationSummary & GetContainer() const
InferenceComponentSpecificationSummary & WithContainer(const InferenceComponentContainerSpecificationSummary &value)
void SetContainer(InferenceComponentContainerSpecificationSummary &&value)
InferenceComponentSpecificationSummary & WithModelName(const Aws::String &value)
InferenceComponentSpecificationSummary & WithModelName(const char *value)
const InferenceComponentComputeResourceRequirements & GetComputeResourceRequirements() const
AWS_SAGEMAKER_API InferenceComponentSpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentSpecificationSummary & WithComputeResourceRequirements(InferenceComponentComputeResourceRequirements &&value)
void SetComputeResourceRequirements(const InferenceComponentComputeResourceRequirements &value)
AWS_SAGEMAKER_API InferenceComponentSpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentSpecificationSummary & WithContainer(InferenceComponentContainerSpecificationSummary &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue