AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
50 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
51 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
52 inline ModelVariantConfigSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
53 inline ModelVariantConfigSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
54 inline ModelVariantConfigSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
56
58
61 inline const Aws::String& GetVariantName() const{ return m_variantName; }
62 inline bool VariantNameHasBeenSet() const { return m_variantNameHasBeenSet; }
63 inline void SetVariantName(const Aws::String& value) { m_variantNameHasBeenSet = true; m_variantName = value; }
64 inline void SetVariantName(Aws::String&& value) { m_variantNameHasBeenSet = true; m_variantName = std::move(value); }
65 inline void SetVariantName(const char* value) { m_variantNameHasBeenSet = true; m_variantName.assign(value); }
66 inline ModelVariantConfigSummary& WithVariantName(const Aws::String& value) { SetVariantName(value); return *this;}
67 inline ModelVariantConfigSummary& WithVariantName(Aws::String&& value) { SetVariantName(std::move(value)); return *this;}
68 inline ModelVariantConfigSummary& WithVariantName(const char* value) { SetVariantName(value); return *this;}
70
72
76 inline const ModelInfrastructureConfig& GetInfrastructureConfig() const{ return m_infrastructureConfig; }
77 inline bool InfrastructureConfigHasBeenSet() const { return m_infrastructureConfigHasBeenSet; }
78 inline void SetInfrastructureConfig(const ModelInfrastructureConfig& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = value; }
79 inline void SetInfrastructureConfig(ModelInfrastructureConfig&& value) { m_infrastructureConfigHasBeenSet = true; m_infrastructureConfig = std::move(value); }
83
85
97 inline const ModelVariantStatus& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const ModelVariantStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(ModelVariantStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 inline ModelVariantConfigSummary& WithStatus(const ModelVariantStatus& value) { SetStatus(value); return *this;}
102 inline ModelVariantConfigSummary& WithStatus(ModelVariantStatus&& value) { SetStatus(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_modelName;
107 bool m_modelNameHasBeenSet = false;
108
109 Aws::String m_variantName;
110 bool m_variantNameHasBeenSet = false;
111
112 ModelInfrastructureConfig m_infrastructureConfig;
113 bool m_infrastructureConfigHasBeenSet = false;
114
115 ModelVariantStatus m_status;
116 bool m_statusHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
ModelVariantConfigSummary & WithVariantName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVariantConfigSummary & WithModelName(const Aws::String &value)
ModelVariantConfigSummary & WithStatus(ModelVariantStatus &&value)
void SetInfrastructureConfig(const ModelInfrastructureConfig &value)
AWS_SAGEMAKER_API ModelVariantConfigSummary(Aws::Utils::Json::JsonView jsonValue)
ModelVariantConfigSummary & WithVariantName(const char *value)
ModelVariantConfigSummary & WithStatus(const ModelVariantStatus &value)
ModelVariantConfigSummary & WithModelName(Aws::String &&value)
void SetInfrastructureConfig(ModelInfrastructureConfig &&value)
ModelVariantConfigSummary & WithModelName(const char *value)
ModelVariantConfigSummary & WithInfrastructureConfig(const ModelInfrastructureConfig &value)
const ModelInfrastructureConfig & GetInfrastructureConfig() const
AWS_SAGEMAKER_API ModelVariantConfigSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelVariantConfigSummary & WithInfrastructureConfig(ModelInfrastructureConfig &&value)
ModelVariantConfigSummary & WithVariantName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue