AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
EtcdPlacementRequest.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/SpreadLevel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
32 public:
33 AWS_EKS_API EtcdPlacementRequest() = default;
37
39
44 inline SpreadLevel GetSpreadLevel() const { return m_spreadLevel; }
45 inline bool SpreadLevelHasBeenSet() const { return m_spreadLevelHasBeenSet; }
46 inline void SetSpreadLevel(SpreadLevel value) {
47 m_spreadLevelHasBeenSet = true;
48 m_spreadLevel = value;
49 }
51 SetSpreadLevel(value);
52 return *this;
53 }
55 private:
56 SpreadLevel m_spreadLevel{SpreadLevel::NOT_SET};
57 bool m_spreadLevelHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace EKS
62} // namespace Aws
EtcdPlacementRequest & WithSpreadLevel(SpreadLevel value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API EtcdPlacementRequest()=default
AWS_EKS_API EtcdPlacementRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API EtcdPlacementRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue