AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
ControlPlanePlacementRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/SpreadLevel.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
34 public:
35 AWS_EKS_API ControlPlanePlacementRequest() = default;
39
41
45 inline const Aws::String& GetGroupName() const { return m_groupName; }
46 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 template <typename GroupNameT = Aws::String>
48 void SetGroupName(GroupNameT&& value) {
49 m_groupNameHasBeenSet = true;
50 m_groupName = std::forward<GroupNameT>(value);
51 }
52 template <typename GroupNameT = Aws::String>
54 SetGroupName(std::forward<GroupNameT>(value));
55 return *this;
56 }
58
60
65 inline SpreadLevel GetSpreadLevel() const { return m_spreadLevel; }
66 inline bool SpreadLevelHasBeenSet() const { return m_spreadLevelHasBeenSet; }
67 inline void SetSpreadLevel(SpreadLevel value) {
68 m_spreadLevelHasBeenSet = true;
69 m_spreadLevel = value;
70 }
72 SetSpreadLevel(value);
73 return *this;
74 }
76 private:
77 Aws::String m_groupName;
78
79 SpreadLevel m_spreadLevel{SpreadLevel::NOT_SET};
80 bool m_groupNameHasBeenSet = false;
81 bool m_spreadLevelHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace EKS
86} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API ControlPlanePlacementRequest()=default
ControlPlanePlacementRequest & WithSpreadLevel(SpreadLevel value)
ControlPlanePlacementRequest & WithGroupName(GroupNameT &&value)
AWS_EKS_API ControlPlanePlacementRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ControlPlanePlacementRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue