AWS SDK for C++  1.9.160
AWS SDK for C++
KernelSpec.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 
32  {
33  public:
38 
39 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
68  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 
74  inline KernelSpec& WithName(const Aws::String& value) { SetName(value); return *this;}
75 
80  inline KernelSpec& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 
86  inline KernelSpec& WithName(const char* value) { SetName(value); return *this;}
87 
88 
92  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
93 
97  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
98 
102  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
103 
107  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
108 
112  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
113 
117  inline KernelSpec& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
118 
122  inline KernelSpec& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
123 
127  inline KernelSpec& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
128 
129  private:
130 
131  Aws::String m_name;
132  bool m_nameHasBeenSet;
133 
134  Aws::String m_displayName;
135  bool m_displayNameHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace SageMaker
140 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::KernelSpec::WithDisplayName
KernelSpec & WithDisplayName(Aws::String &&value)
Definition: KernelSpec.h:122
SageMaker_EXPORTS.h
Aws::SageMaker::Model::KernelSpec::WithDisplayName
KernelSpec & WithDisplayName(const char *value)
Definition: KernelSpec.h:127
Aws::SageMaker::Model::KernelSpec::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: KernelSpec.h:107
Aws::SageMaker::Model::KernelSpec::WithName
KernelSpec & WithName(const char *value)
Definition: KernelSpec.h:86
Aws::SageMaker::Model::KernelSpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::KernelSpec::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: KernelSpec.h:92
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::KernelSpec::KernelSpec
KernelSpec()
Aws::SageMaker::Model::KernelSpec::GetName
const Aws::String & GetName() const
Definition: KernelSpec.h:44
Aws::SageMaker::Model::KernelSpec::SetName
void SetName(const Aws::String &value)
Definition: KernelSpec.h:56
Aws::SageMaker::Model::KernelSpec::WithName
KernelSpec & WithName(Aws::String &&value)
Definition: KernelSpec.h:80
Aws::SageMaker::Model::KernelSpec::WithName
KernelSpec & WithName(const Aws::String &value)
Definition: KernelSpec.h:74
Aws::SageMaker::Model::KernelSpec::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: KernelSpec.h:97
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::KernelSpec::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: KernelSpec.h:102
Aws::SageMaker::Model::KernelSpec::operator=
KernelSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelSpec::SetName
void SetName(Aws::String &&value)
Definition: KernelSpec.h:62
Aws::SageMaker::Model::KernelSpec::NameHasBeenSet
bool NameHasBeenSet() const
Definition: KernelSpec.h:50
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::KernelSpec::KernelSpec
KernelSpec(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelSpec::WithDisplayName
KernelSpec & WithDisplayName(const Aws::String &value)
Definition: KernelSpec.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::KernelSpec::SetDisplayName
void SetDisplayName(const char *value)
Definition: KernelSpec.h:112
Aws::SageMaker::Model::KernelSpec
Definition: KernelSpec.h:32
Aws::SageMaker::Model::KernelSpec::SetName
void SetName(const char *value)
Definition: KernelSpec.h:68