AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
KubeApiServerConfigResponse.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/ServiceNodePortRange.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
30 public:
31 AWS_EKS_API KubeApiServerConfigResponse() = default;
35
37
40 inline const Aws::String& GetEventTtl() const { return m_eventTtl; }
41 inline bool EventTtlHasBeenSet() const { return m_eventTtlHasBeenSet; }
42 template <typename EventTtlT = Aws::String>
43 void SetEventTtl(EventTtlT&& value) {
44 m_eventTtlHasBeenSet = true;
45 m_eventTtl = std::forward<EventTtlT>(value);
46 }
47 template <typename EventTtlT = Aws::String>
49 SetEventTtl(std::forward<EventTtlT>(value));
50 return *this;
51 }
53
55
58 inline const ServiceNodePortRange& GetServiceNodePortRange() const { return m_serviceNodePortRange; }
59 inline bool ServiceNodePortRangeHasBeenSet() const { return m_serviceNodePortRangeHasBeenSet; }
60 template <typename ServiceNodePortRangeT = ServiceNodePortRange>
61 void SetServiceNodePortRange(ServiceNodePortRangeT&& value) {
62 m_serviceNodePortRangeHasBeenSet = true;
63 m_serviceNodePortRange = std::forward<ServiceNodePortRangeT>(value);
64 }
65 template <typename ServiceNodePortRangeT = ServiceNodePortRange>
66 KubeApiServerConfigResponse& WithServiceNodePortRange(ServiceNodePortRangeT&& value) {
67 SetServiceNodePortRange(std::forward<ServiceNodePortRangeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_eventTtl;
73
74 ServiceNodePortRange m_serviceNodePortRange;
75 bool m_eventTtlHasBeenSet = false;
76 bool m_serviceNodePortRangeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EKS
81} // namespace Aws
AWS_EKS_API KubeApiServerConfigResponse()=default
AWS_EKS_API KubeApiServerConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
KubeApiServerConfigResponse & WithServiceNodePortRange(ServiceNodePortRangeT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
KubeApiServerConfigResponse & WithEventTtl(EventTtlT &&value)
AWS_EKS_API KubeApiServerConfigResponse(Aws::Utils::Json::JsonView jsonValue)
const ServiceNodePortRange & GetServiceNodePortRange() const
void SetServiceNodePortRange(ServiceNodePortRangeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue