AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelVariantConfigSummary.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/ModelInfrastructureConfig.h>
10#include <aws/sagemaker/model/ModelVariantStatus.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 ModelVariantConfigSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetModelName() const { return m_modelName; }
48 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
49 template<typename ModelNameT = Aws::String>
50 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
51 template<typename ModelNameT = Aws::String>
52 ModelVariantConfigSummary& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVariantName() const { return m_variantName; }
60 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
61 template<typename VariantNameT = Aws::String>
62 void SetVariantName(VariantNameT&& value) { m_variantNameHasBeenSet = true; m_variantName = std::forward<VariantNameT>(value); }
63 template<typename VariantNameT = Aws::String>
64 ModelVariantConfigSummary& WithVariantName(VariantNameT&& value) { SetVariantName(std::forward<VariantNameT>(value)); return *this;}
66
68
72 inline const ModelInfrastructureConfig& GetInfrastructureConfig() const { return m_infrastructureConfig; }
73 inline bool InfrastructureConfigHasBeenSet() const { return m_infrastructureConfigHasBeenSet; }
74 template<typename InfrastructureConfigT = ModelInfrastructureConfig>
75 void SetInfrastructureConfig(InfrastructureConfigT&& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = std::forward<InfrastructureConfigT>(value); }
76 template<typename InfrastructureConfigT = ModelInfrastructureConfig>
77 ModelVariantConfigSummary& WithInfrastructureConfig(InfrastructureConfigT&& value) { SetInfrastructureConfig(std::forward<InfrastructureConfigT>(value)); return *this;}
79
81
93 inline ModelVariantStatus GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(ModelVariantStatus value) { m_statusHasBeenSet = true; m_status = value; }
96 inline ModelVariantConfigSummary& WithStatus(ModelVariantStatus value) { SetStatus(value); return *this;}
98 private:
99
100 Aws::String m_modelName;
101 bool m_modelNameHasBeenSet = false;
102
103 Aws::String m_variantName;
104 bool m_variantNameHasBeenSet = false;
105
106 ModelInfrastructureConfig m_infrastructureConfig;
107 bool m_infrastructureConfigHasBeenSet = false;
108
110 bool m_statusHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SageMaker
115} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVariantConfigSummary & WithVariantName(VariantNameT &&value)
void SetInfrastructureConfig(InfrastructureConfigT &&value)
ModelVariantConfigSummary & WithInfrastructureConfig(InfrastructureConfigT &&value)
AWS_SAGEMAKER_API ModelVariantConfigSummary(Aws::Utils::Json::JsonView jsonValue)
ModelVariantConfigSummary & WithStatus(ModelVariantStatus value)
AWS_SAGEMAKER_API ModelVariantConfigSummary()=default
ModelVariantConfigSummary & WithModelName(ModelNameT &&value)
const ModelInfrastructureConfig & GetInfrastructureConfig() const
AWS_SAGEMAKER_API ModelVariantConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue