AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
DurationConstraints.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.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
28 public:
29 AWS_EKS_API DurationConstraints() = default;
33
35
38 inline const Aws::String& GetMin() const { return m_min; }
39 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
40 template <typename MinT = Aws::String>
41 void SetMin(MinT&& value) {
42 m_minHasBeenSet = true;
43 m_min = std::forward<MinT>(value);
44 }
45 template <typename MinT = Aws::String>
47 SetMin(std::forward<MinT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetMax() const { return m_max; }
57 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
58 template <typename MaxT = Aws::String>
59 void SetMax(MaxT&& value) {
60 m_maxHasBeenSet = true;
61 m_max = std::forward<MaxT>(value);
62 }
63 template <typename MaxT = Aws::String>
65 SetMax(std::forward<MaxT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_min;
71
72 Aws::String m_max;
73 bool m_minHasBeenSet = false;
74 bool m_maxHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace EKS
79} // namespace Aws
AWS_EKS_API DurationConstraints()=default
AWS_EKS_API DurationConstraints & operator=(Aws::Utils::Json::JsonView jsonValue)
DurationConstraints & WithMin(MinT &&value)
DurationConstraints & WithMax(MaxT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API DurationConstraints(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue