AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
RuntimePlatformOverride.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS {
20namespace Model {
21
30 public:
31 AWS_ECS_API RuntimePlatformOverride() = default;
35
37
46 inline const Aws::String& GetCpuArchitecture() const { return m_cpuArchitecture; }
47 inline bool CpuArchitectureHasBeenSet() const { return m_cpuArchitectureHasBeenSet; }
48 template <typename CpuArchitectureT = Aws::String>
49 void SetCpuArchitecture(CpuArchitectureT&& value) {
50 m_cpuArchitectureHasBeenSet = true;
51 m_cpuArchitecture = std::forward<CpuArchitectureT>(value);
52 }
53 template <typename CpuArchitectureT = Aws::String>
54 RuntimePlatformOverride& WithCpuArchitecture(CpuArchitectureT&& value) {
55 SetCpuArchitecture(std::forward<CpuArchitectureT>(value));
56 return *this;
57 }
59 private:
60 Aws::String m_cpuArchitecture;
61 bool m_cpuArchitectureHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace ECS
66} // namespace Aws
AWS_ECS_API RuntimePlatformOverride(Aws::Utils::Json::JsonView jsonValue)
RuntimePlatformOverride & WithCpuArchitecture(CpuArchitectureT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCpuArchitecture(CpuArchitectureT &&value)
AWS_ECS_API RuntimePlatformOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API RuntimePlatformOverride()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue