AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
FormFactorConfig.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/model/FormFactor.h>
9#include <aws/outposts/model/OutpostGeneration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Outposts {
21namespace Model {
22
30 public:
31 AWS_OUTPOSTS_API FormFactorConfig() = default;
32 AWS_OUTPOSTS_API FormFactorConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline FormFactor GetFormFactor() const { return m_formFactor; }
42 inline bool FormFactorHasBeenSet() const { return m_formFactorHasBeenSet; }
43 inline void SetFormFactor(FormFactor value) {
44 m_formFactorHasBeenSet = true;
45 m_formFactor = value;
46 }
48 SetFormFactor(value);
49 return *this;
50 }
52
54
60 inline OutpostGeneration GetOutpostGeneration() const { return m_outpostGeneration; }
61 inline bool OutpostGenerationHasBeenSet() const { return m_outpostGenerationHasBeenSet; }
63 m_outpostGenerationHasBeenSet = true;
64 m_outpostGeneration = value;
65 }
68 return *this;
69 }
71 private:
72 FormFactor m_formFactor{FormFactor::NOT_SET};
73
75 bool m_formFactorHasBeenSet = false;
76 bool m_outpostGenerationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Outposts
81} // namespace Aws
FormFactorConfig & WithOutpostGeneration(OutpostGeneration value)
AWS_OUTPOSTS_API FormFactorConfig(Aws::Utils::Json::JsonView jsonValue)
OutpostGeneration GetOutpostGeneration() const
FormFactorConfig & WithFormFactor(FormFactor value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OUTPOSTS_API FormFactorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API FormFactorConfig()=default
void SetOutpostGeneration(OutpostGeneration value)
Aws::Utils::Json::JsonValue JsonValue