AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
aws-cpp-sdk-ecs
include
aws
ecs
model
RuntimePlatform.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/ecs/ECS_EXPORTS.h
>
8
#include <
aws/ecs/model/CPUArchitecture.h
>
9
#include <
aws/ecs/model/OSFamily.h
>
10
#include <utility>
11
12
namespace
Aws
13
{
14
namespace
Utils
15
{
16
namespace
Json
17
{
18
class
JsonValue;
19
class
JsonView;
20
}
// namespace Json
21
}
// namespace Utils
22
namespace
ECS
23
{
24
namespace
Model
25
{
26
36
class
RuntimePlatform
37
{
38
public
:
39
AWS_ECS_API
RuntimePlatform
();
40
AWS_ECS_API
RuntimePlatform
(
Aws::Utils::Json::JsonView
jsonValue);
41
AWS_ECS_API
RuntimePlatform
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
42
AWS_ECS_API
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
43
44
51
inline
const
CPUArchitecture
&
GetCpuArchitecture
()
const
{
return
m_cpuArchitecture; }
52
59
inline
bool
CpuArchitectureHasBeenSet
()
const
{
return
m_cpuArchitectureHasBeenSet; }
60
67
inline
void
SetCpuArchitecture
(
const
CPUArchitecture
& value) { m_cpuArchitectureHasBeenSet =
true
; m_cpuArchitecture = value; }
68
75
inline
void
SetCpuArchitecture
(
CPUArchitecture
&& value) { m_cpuArchitectureHasBeenSet =
true
; m_cpuArchitecture = std::move(value); }
76
83
inline
RuntimePlatform
&
WithCpuArchitecture
(
const
CPUArchitecture
& value) {
SetCpuArchitecture
(value);
return
*
this
;}
84
91
inline
RuntimePlatform
&
WithCpuArchitecture
(
CPUArchitecture
&& value) {
SetCpuArchitecture
(std::move(value));
return
*
this
;}
92
93
97
inline
const
OSFamily
&
GetOperatingSystemFamily
()
const
{
return
m_operatingSystemFamily; }
98
102
inline
bool
OperatingSystemFamilyHasBeenSet
()
const
{
return
m_operatingSystemFamilyHasBeenSet; }
103
107
inline
void
SetOperatingSystemFamily
(
const
OSFamily
& value) { m_operatingSystemFamilyHasBeenSet =
true
; m_operatingSystemFamily = value; }
108
112
inline
void
SetOperatingSystemFamily
(
OSFamily
&& value) { m_operatingSystemFamilyHasBeenSet =
true
; m_operatingSystemFamily = std::move(value); }
113
117
inline
RuntimePlatform
&
WithOperatingSystemFamily
(
const
OSFamily
& value) {
SetOperatingSystemFamily
(value);
return
*
this
;}
118
122
inline
RuntimePlatform
&
WithOperatingSystemFamily
(
OSFamily
&& value) {
SetOperatingSystemFamily
(std::move(value));
return
*
this
;}
123
124
private
:
125
126
CPUArchitecture
m_cpuArchitecture;
127
bool
m_cpuArchitectureHasBeenSet =
false
;
128
129
OSFamily
m_operatingSystemFamily;
130
bool
m_operatingSystemFamilyHasBeenSet =
false
;
131
};
132
133
}
// namespace Model
134
}
// namespace ECS
135
}
// namespace Aws
CPUArchitecture.h
ECS_EXPORTS.h
AWS_ECS_API
#define AWS_ECS_API
Definition:
ECS_EXPORTS.h:28
OSFamily.h
Aws::ECS::Model::RuntimePlatform
Definition:
RuntimePlatform.h:37
Aws::ECS::Model::RuntimePlatform::OperatingSystemFamilyHasBeenSet
bool OperatingSystemFamilyHasBeenSet() const
Definition:
RuntimePlatform.h:102
Aws::ECS::Model::RuntimePlatform::SetCpuArchitecture
void SetCpuArchitecture(const CPUArchitecture &value)
Definition:
RuntimePlatform.h:67
Aws::ECS::Model::RuntimePlatform::WithCpuArchitecture
RuntimePlatform & WithCpuArchitecture(const CPUArchitecture &value)
Definition:
RuntimePlatform.h:83
Aws::ECS::Model::RuntimePlatform::GetCpuArchitecture
const CPUArchitecture & GetCpuArchitecture() const
Definition:
RuntimePlatform.h:51
Aws::ECS::Model::RuntimePlatform::SetOperatingSystemFamily
void SetOperatingSystemFamily(OSFamily &&value)
Definition:
RuntimePlatform.h:112
Aws::ECS::Model::RuntimePlatform::Jsonize
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::RuntimePlatform::SetCpuArchitecture
void SetCpuArchitecture(CPUArchitecture &&value)
Definition:
RuntimePlatform.h:75
Aws::ECS::Model::RuntimePlatform::operator=
AWS_ECS_API RuntimePlatform & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::RuntimePlatform::WithOperatingSystemFamily
RuntimePlatform & WithOperatingSystemFamily(const OSFamily &value)
Definition:
RuntimePlatform.h:117
Aws::ECS::Model::RuntimePlatform::SetOperatingSystemFamily
void SetOperatingSystemFamily(const OSFamily &value)
Definition:
RuntimePlatform.h:107
Aws::ECS::Model::RuntimePlatform::CpuArchitectureHasBeenSet
bool CpuArchitectureHasBeenSet() const
Definition:
RuntimePlatform.h:59
Aws::ECS::Model::RuntimePlatform::WithCpuArchitecture
RuntimePlatform & WithCpuArchitecture(CPUArchitecture &&value)
Definition:
RuntimePlatform.h:91
Aws::ECS::Model::RuntimePlatform::RuntimePlatform
AWS_ECS_API RuntimePlatform()
Aws::ECS::Model::RuntimePlatform::RuntimePlatform
AWS_ECS_API RuntimePlatform(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::RuntimePlatform::GetOperatingSystemFamily
const OSFamily & GetOperatingSystemFamily() const
Definition:
RuntimePlatform.h:97
Aws::ECS::Model::RuntimePlatform::WithOperatingSystemFamily
RuntimePlatform & WithOperatingSystemFamily(OSFamily &&value)
Definition:
RuntimePlatform.h:122
Aws::Utils::Json::JsonValue
Aws::Utils::Json::JsonView
Aws::ECS::Model::OSFamily
OSFamily
Definition:
OSFamily.h:17
Aws::ECS::Model::CPUArchitecture
CPUArchitecture
Definition:
CPUArchitecture.h:17
Aws::ECS::Model::DeploymentControllerType::ECS
@ ECS
Aws
Generated by
1.9.7
Privacy |
Site terms |
Cookie preferences