AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelVariantConfig.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ModelVariantConfig();
37 AWS_SAGEMAKER_API ModelVariantConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelName() const{ return m_modelName; }
47 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
48 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
49 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
50 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
51 inline ModelVariantConfig& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
52 inline ModelVariantConfig& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
53 inline ModelVariantConfig& WithModelName(const char* value) { SetModelName(value); return *this;}
55
57
60 inline const Aws::String& GetVariantName() const{ return m_variantName; }
61 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
62 inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; }
63 inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); }
64 inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); }
65 inline ModelVariantConfig& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;}
66 inline ModelVariantConfig& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;}
67 inline ModelVariantConfig& WithVariantName(const char* value) { SetVariantName(value); return *this;}
69
71
75 inline const ModelInfrastructureConfig& GetInfrastructureConfig() const{ return m_infrastructureConfig; }
76 inline bool InfrastructureConfigHasBeenSet() const { return m_infrastructureConfigHasBeenSet; }
77 inline void SetInfrastructureConfig(const ModelInfrastructureConfig& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = value; }
78 inline void SetInfrastructureConfig(ModelInfrastructureConfig&& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = std::move(value); }
82 private:
83
84 Aws::String m_modelName;
85 bool m_modelNameHasBeenSet = false;
86
87 Aws::String m_variantName;
88 bool m_variantNameHasBeenSet = false;
89
90 ModelInfrastructureConfig m_infrastructureConfig;
91 bool m_infrastructureConfigHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SageMaker
96} // namespace Aws
AWS_SAGEMAKER_API ModelVariantConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelVariantConfig & WithModelName(const Aws::String &value)
ModelVariantConfig & WithVariantName(const Aws::String &value)
void SetInfrastructureConfig(const ModelInfrastructureConfig &value)
void SetModelName(const Aws::String &value)
ModelVariantConfig & WithVariantName(const char *value)
void SetVariantName(const Aws::String &value)
void SetInfrastructureConfig(ModelInfrastructureConfig &&value)
ModelVariantConfig & WithVariantName(Aws::String &&value)
ModelVariantConfig & WithInfrastructureConfig(const ModelInfrastructureConfig &value)
AWS_SAGEMAKER_API ModelVariantConfig(Aws::Utils::Json::JsonView jsonValue)
ModelVariantConfig & WithInfrastructureConfig(ModelInfrastructureConfig &&value)
ModelVariantConfig & WithModelName(const char *value)
const ModelInfrastructureConfig & GetInfrastructureConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVariantConfig & WithModelName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue