AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
ControlPlanePlacementResponse.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 ControlPlanePlacementResponse() = 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
64 inline SpreadLevel GetSpreadLevel() const { return m_spreadLevel; }
65 inline bool SpreadLevelHasBeenSet() const { return m_spreadLevelHasBeenSet; }
66 inline void SetSpreadLevel(SpreadLevel value) {
67 m_spreadLevelHasBeenSet = true;
68 m_spreadLevel = value;
69 }
71 SetSpreadLevel(value);
72 return *this;
73 }
75 private:
76 Aws::String m_groupName;
77
78 SpreadLevel m_spreadLevel{SpreadLevel::NOT_SET};
79 bool m_groupNameHasBeenSet = false;
80 bool m_spreadLevelHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace EKS
85} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API ControlPlanePlacementResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ControlPlanePlacementResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlPlanePlacementResponse & WithGroupName(GroupNameT &&value)
ControlPlanePlacementResponse & WithSpreadLevel(SpreadLevel value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue