AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelDeployConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ModelDeployConfig();
36 AWS_SAGEMAKER_API ModelDeployConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline bool GetAutoGenerateEndpointName() const{ return m_autoGenerateEndpointName; }
50 inline bool AutoGenerateEndpointNameHasBeenSet() const { return m_autoGenerateEndpointNameHasBeenSet; }
51 inline void SetAutoGenerateEndpointName(bool value) { m_autoGenerateEndpointNameHasBeenSet = true; m_autoGenerateEndpointName = value; }
54
56
63 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
64 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
65 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
66 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
67 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
68 inline ModelDeployConfig& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
69 inline ModelDeployConfig& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
70 inline ModelDeployConfig& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
72 private:
73
74 bool m_autoGenerateEndpointName;
75 bool m_autoGenerateEndpointNameHasBeenSet = false;
76
77 Aws::String m_endpointName;
78 bool m_endpointNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
ModelDeployConfig & WithAutoGenerateEndpointName(bool value)
AWS_SAGEMAKER_API ModelDeployConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEndpointName() const
void SetEndpointName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDeployConfig & WithEndpointName(const char *value)
ModelDeployConfig & WithEndpointName(const Aws::String &value)
AWS_SAGEMAKER_API ModelDeployConfig(Aws::Utils::Json::JsonView jsonValue)
ModelDeployConfig & WithEndpointName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue