AWS SDK for C++  1.9.153
AWS SDK for C++
TargetPlatform.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
51  inline const TargetPlatformOs& GetOs() const{ return m_os; }
52 
60  inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
61 
69  inline void SetOs(const TargetPlatformOs& value) { m_osHasBeenSet = true; m_os = value; }
70 
78  inline void SetOs(TargetPlatformOs&& value) { m_osHasBeenSet = true; m_os = std::move(value); }
79 
87  inline TargetPlatform& WithOs(const TargetPlatformOs& value) { SetOs(value); return *this;}
88 
96  inline TargetPlatform& WithOs(TargetPlatformOs&& value) { SetOs(std::move(value)); return *this;}
97 
98 
108  inline const TargetPlatformArch& GetArch() const{ return m_arch; }
109 
119  inline bool ArchHasBeenSet() const { return m_archHasBeenSet; }
120 
130  inline void SetArch(const TargetPlatformArch& value) { m_archHasBeenSet = true; m_arch = value; }
131 
141  inline void SetArch(TargetPlatformArch&& value) { m_archHasBeenSet = true; m_arch = std::move(value); }
142 
152  inline TargetPlatform& WithArch(const TargetPlatformArch& value) { SetArch(value); return *this;}
153 
163  inline TargetPlatform& WithArch(TargetPlatformArch&& value) { SetArch(std::move(value)); return *this;}
164 
165 
174  inline const TargetPlatformAccelerator& GetAccelerator() const{ return m_accelerator; }
175 
184  inline bool AcceleratorHasBeenSet() const { return m_acceleratorHasBeenSet; }
185 
194  inline void SetAccelerator(const TargetPlatformAccelerator& value) { m_acceleratorHasBeenSet = true; m_accelerator = value; }
195 
204  inline void SetAccelerator(TargetPlatformAccelerator&& value) { m_acceleratorHasBeenSet = true; m_accelerator = std::move(value); }
205 
214  inline TargetPlatform& WithAccelerator(const TargetPlatformAccelerator& value) { SetAccelerator(value); return *this;}
215 
224  inline TargetPlatform& WithAccelerator(TargetPlatformAccelerator&& value) { SetAccelerator(std::move(value)); return *this;}
225 
226  private:
227 
228  TargetPlatformOs m_os;
229  bool m_osHasBeenSet;
230 
231  TargetPlatformArch m_arch;
232  bool m_archHasBeenSet;
233 
234  TargetPlatformAccelerator m_accelerator;
235  bool m_acceleratorHasBeenSet;
236  };
237 
238 } // namespace Model
239 } // namespace SageMaker
240 } // namespace Aws
Aws::SageMaker::Model::TargetPlatformArch
TargetPlatformArch
Definition: TargetPlatformArch.h:17
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TargetPlatform::TargetPlatform
TargetPlatform()
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TargetPlatform::WithOs
TargetPlatform & WithOs(const TargetPlatformOs &value)
Definition: TargetPlatform.h:87
TargetPlatformAccelerator.h
Aws::SageMaker::Model::TargetPlatform::WithOs
TargetPlatform & WithOs(TargetPlatformOs &&value)
Definition: TargetPlatform.h:96
Aws::SageMaker::Model::TargetPlatform
Definition: TargetPlatform.h:36
Aws::SageMaker::Model::TargetPlatform::GetAccelerator
const TargetPlatformAccelerator & GetAccelerator() const
Definition: TargetPlatform.h:174
Aws::SageMaker::Model::TargetPlatform::WithArch
TargetPlatform & WithArch(TargetPlatformArch &&value)
Definition: TargetPlatform.h:163
Aws::SageMaker::Model::TargetPlatform::OsHasBeenSet
bool OsHasBeenSet() const
Definition: TargetPlatform.h:60
Aws::SageMaker::Model::TargetPlatformAccelerator
TargetPlatformAccelerator
Definition: TargetPlatformAccelerator.h:17
Aws::SageMaker::Model::TargetPlatform::operator=
TargetPlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TargetPlatform::SetArch
void SetArch(const TargetPlatformArch &value)
Definition: TargetPlatform.h:130
Aws::SageMaker::Model::TargetPlatform::GetOs
const TargetPlatformOs & GetOs() const
Definition: TargetPlatform.h:51
Aws::SageMaker::Model::TargetPlatform::SetAccelerator
void SetAccelerator(const TargetPlatformAccelerator &value)
Definition: TargetPlatform.h:194
Aws::SageMaker::Model::TargetPlatform::WithAccelerator
TargetPlatform & WithAccelerator(TargetPlatformAccelerator &&value)
Definition: TargetPlatform.h:224
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TargetPlatform::ArchHasBeenSet
bool ArchHasBeenSet() const
Definition: TargetPlatform.h:119
Aws::SageMaker::Model::TargetPlatform::TargetPlatform
TargetPlatform(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TargetPlatform::AcceleratorHasBeenSet
bool AcceleratorHasBeenSet() const
Definition: TargetPlatform.h:184
Aws::SageMaker::Model::TargetPlatform::WithArch
TargetPlatform & WithArch(const TargetPlatformArch &value)
Definition: TargetPlatform.h:152
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TargetPlatform::SetArch
void SetArch(TargetPlatformArch &&value)
Definition: TargetPlatform.h:141
Aws::SageMaker::Model::TargetPlatform::SetOs
void SetOs(TargetPlatformOs &&value)
Definition: TargetPlatform.h:78
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
TargetPlatformArch.h
TargetPlatformOs.h
Aws::SageMaker::Model::TargetPlatform::SetAccelerator
void SetAccelerator(TargetPlatformAccelerator &&value)
Definition: TargetPlatform.h:204
Aws::SageMaker::Model::TargetPlatform::SetOs
void SetOs(const TargetPlatformOs &value)
Definition: TargetPlatform.h:69
Aws::SageMaker::Model::TargetPlatform::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TargetPlatform::GetArch
const TargetPlatformArch & GetArch() const
Definition: TargetPlatform.h:108
Aws::SageMaker::Model::TargetPlatform::WithAccelerator
TargetPlatform & WithAccelerator(const TargetPlatformAccelerator &value)
Definition: TargetPlatform.h:214
Aws::SageMaker::Model::TargetPlatformOs
TargetPlatformOs
Definition: TargetPlatformOs.h:17