AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
CpuConfiguration.h
1
6#pragma once
7#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
8#include <aws/lambda-microvms/model/Architecture.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LambdaMicrovms {
20namespace Model {
21
29 public:
30 AWS_LAMBDAMICROVMS_API CpuConfiguration() = default;
31 AWS_LAMBDAMICROVMS_API CpuConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LAMBDAMICROVMS_API CpuConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline Architecture GetArchitecture() const { return m_architecture; }
40 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
41 inline void SetArchitecture(Architecture value) {
42 m_architectureHasBeenSet = true;
43 m_architecture = value;
44 }
46 SetArchitecture(value);
47 return *this;
48 }
50 private:
51 Architecture m_architecture{Architecture::NOT_SET};
52 bool m_architectureHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace LambdaMicrovms
57} // namespace Aws
AWS_LAMBDAMICROVMS_API CpuConfiguration(Aws::Utils::Json::JsonView jsonValue)
CpuConfiguration & WithArchitecture(Architecture value)
AWS_LAMBDAMICROVMS_API CpuConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAMICROVMS_API CpuConfiguration()=default
AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue