AWS SDK for C++  1.9.160
AWS SDK for C++
ModelDeployConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
48  inline bool GetAutoGenerateEndpointName() const{ return m_autoGenerateEndpointName; }
49 
57  inline bool AutoGenerateEndpointNameHasBeenSet() const { return m_autoGenerateEndpointNameHasBeenSet; }
58 
66  inline void SetAutoGenerateEndpointName(bool value) { m_autoGenerateEndpointNameHasBeenSet = true; m_autoGenerateEndpointName = value; }
67 
75  inline ModelDeployConfig& WithAutoGenerateEndpointName(bool value) { SetAutoGenerateEndpointName(value); return *this;}
76 
77 
85  inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
86 
94  inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
95 
103  inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
104 
112  inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
113 
121  inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
122 
130  inline ModelDeployConfig& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
131 
139  inline ModelDeployConfig& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
140 
148  inline ModelDeployConfig& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
149 
150  private:
151 
152  bool m_autoGenerateEndpointName;
153  bool m_autoGenerateEndpointNameHasBeenSet;
154 
155  Aws::String m_endpointName;
156  bool m_endpointNameHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SageMaker
161 } // namespace Aws
Aws::SageMaker::Model::ModelDeployConfig::WithEndpointName
ModelDeployConfig & WithEndpointName(const Aws::String &value)
Definition: ModelDeployConfig.h:130
Aws::SageMaker::Model::ModelDeployConfig::EndpointNameHasBeenSet
bool EndpointNameHasBeenSet() const
Definition: ModelDeployConfig.h:94
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ModelDeployConfig::GetEndpointName
const Aws::String & GetEndpointName() const
Definition: ModelDeployConfig.h:85
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelDeployConfig::GetAutoGenerateEndpointName
bool GetAutoGenerateEndpointName() const
Definition: ModelDeployConfig.h:48
Aws::SageMaker::Model::ModelDeployConfig::SetEndpointName
void SetEndpointName(const char *value)
Definition: ModelDeployConfig.h:121
Aws::SageMaker::Model::ModelDeployConfig::SetEndpointName
void SetEndpointName(const Aws::String &value)
Definition: ModelDeployConfig.h:103
Aws::SageMaker::Model::ModelDeployConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ModelDeployConfig::ModelDeployConfig
ModelDeployConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelDeployConfig::operator=
ModelDeployConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelDeployConfig
Definition: ModelDeployConfig.h:33
Aws::SageMaker::Model::ModelDeployConfig::WithEndpointName
ModelDeployConfig & WithEndpointName(Aws::String &&value)
Definition: ModelDeployConfig.h:139
Aws::SageMaker::Model::ModelDeployConfig::AutoGenerateEndpointNameHasBeenSet
bool AutoGenerateEndpointNameHasBeenSet() const
Definition: ModelDeployConfig.h:57
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ModelDeployConfig::SetEndpointName
void SetEndpointName(Aws::String &&value)
Definition: ModelDeployConfig.h:112
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelDeployConfig::WithAutoGenerateEndpointName
ModelDeployConfig & WithAutoGenerateEndpointName(bool value)
Definition: ModelDeployConfig.h:75
Aws::SageMaker::Model::ModelDeployConfig::SetAutoGenerateEndpointName
void SetAutoGenerateEndpointName(bool value)
Definition: ModelDeployConfig.h:66
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ModelDeployConfig::WithEndpointName
ModelDeployConfig & WithEndpointName(const char *value)
Definition: ModelDeployConfig.h:148
Aws::SageMaker::Model::ModelDeployConfig::ModelDeployConfig
ModelDeployConfig()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97