AWS SDK for C++

AWS SDK for C++ Version 1.11.898

Loading...
Searching...
No Matches
PodGcControllerVersionConfig.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/IntegerParameterConfig.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
29 public:
30 AWS_EKS_API PodGcControllerVersionConfig() = default;
34
36
40 inline const IntegerParameterConfig& GetTerminatedPodGcThreshold() const { return m_terminatedPodGcThreshold; }
41 inline bool TerminatedPodGcThresholdHasBeenSet() const { return m_terminatedPodGcThresholdHasBeenSet; }
42 template <typename TerminatedPodGcThresholdT = IntegerParameterConfig>
43 void SetTerminatedPodGcThreshold(TerminatedPodGcThresholdT&& value) {
44 m_terminatedPodGcThresholdHasBeenSet = true;
45 m_terminatedPodGcThreshold = std::forward<TerminatedPodGcThresholdT>(value);
46 }
47 template <typename TerminatedPodGcThresholdT = IntegerParameterConfig>
48 PodGcControllerVersionConfig& WithTerminatedPodGcThreshold(TerminatedPodGcThresholdT&& value) {
49 SetTerminatedPodGcThreshold(std::forward<TerminatedPodGcThresholdT>(value));
50 return *this;
51 }
53 private:
54 IntegerParameterConfig m_terminatedPodGcThreshold;
55 bool m_terminatedPodGcThresholdHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace EKS
60} // namespace Aws
const IntegerParameterConfig & GetTerminatedPodGcThreshold() const
void SetTerminatedPodGcThreshold(TerminatedPodGcThresholdT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
PodGcControllerVersionConfig & WithTerminatedPodGcThreshold(TerminatedPodGcThresholdT &&value)
AWS_EKS_API PodGcControllerVersionConfig()=default
AWS_EKS_API PodGcControllerVersionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API PodGcControllerVersionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue