AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KernelSpec.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
32 {
33 public:
34 AWS_SAGEMAKER_API KernelSpec();
35 AWS_SAGEMAKER_API KernelSpec(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API KernelSpec& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline KernelSpec& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline KernelSpec& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline KernelSpec& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
60 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
61 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
62 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
63 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
64 inline KernelSpec& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
65 inline KernelSpec& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
66 inline KernelSpec& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 Aws::String m_displayName;
74 bool m_displayNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
void SetDisplayName(Aws::String &&value)
Definition KernelSpec.h:62
void SetName(Aws::String &&value)
Definition KernelSpec.h:48
AWS_SAGEMAKER_API KernelSpec()
KernelSpec & WithDisplayName(const char *value)
Definition KernelSpec.h:66
KernelSpec & WithName(const char *value)
Definition KernelSpec.h:52
const Aws::String & GetName() const
Definition KernelSpec.h:45
AWS_SAGEMAKER_API KernelSpec(Aws::Utils::Json::JsonView jsonValue)
KernelSpec & WithName(Aws::String &&value)
Definition KernelSpec.h:51
AWS_SAGEMAKER_API KernelSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(const char *value)
Definition KernelSpec.h:63
const Aws::String & GetDisplayName() const
Definition KernelSpec.h:59
void SetDisplayName(const Aws::String &value)
Definition KernelSpec.h:61
KernelSpec & WithDisplayName(const Aws::String &value)
Definition KernelSpec.h:64
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
KernelSpec & WithDisplayName(Aws::String &&value)
Definition KernelSpec.h:65
KernelSpec & WithName(const Aws::String &value)
Definition KernelSpec.h:50
void SetName(const Aws::String &value)
Definition KernelSpec.h:47
void SetName(const char *value)
Definition KernelSpec.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue