AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UnsupportedAvailabilityZoneException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eks/EKS_EXPORTS.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
32 public:
33 AWS_EKS_API UnsupportedAvailabilityZoneException() = default;
37
39
45 inline const Aws::String& GetMessage() const { return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 template <typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) {
49 m_messageHasBeenSet = true;
50 m_message = std::forward<MessageT>(value);
51 }
52 template <typename MessageT = Aws::String>
54 SetMessage(std::forward<MessageT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetClusterName() const { return m_clusterName; }
64 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
65 template <typename ClusterNameT = Aws::String>
66 void SetClusterName(ClusterNameT&& value) {
67 m_clusterNameHasBeenSet = true;
68 m_clusterName = std::forward<ClusterNameT>(value);
69 }
70 template <typename ClusterNameT = Aws::String>
72 SetClusterName(std::forward<ClusterNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
82 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
83 template <typename NodegroupNameT = Aws::String>
84 void SetNodegroupName(NodegroupNameT&& value) {
85 m_nodegroupNameHasBeenSet = true;
86 m_nodegroupName = std::forward<NodegroupNameT>(value);
87 }
88 template <typename NodegroupNameT = Aws::String>
90 SetNodegroupName(std::forward<NodegroupNameT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::Vector<Aws::String>& GetValidZones() const { return m_validZones; }
101 inline bool ValidZonesHasBeenSet() const { return m_validZonesHasBeenSet; }
102 template <typename ValidZonesT = Aws::Vector<Aws::String>>
103 void SetValidZones(ValidZonesT&& value) {
104 m_validZonesHasBeenSet = true;
105 m_validZones = std::forward<ValidZonesT>(value);
106 }
107 template <typename ValidZonesT = Aws::Vector<Aws::String>>
109 SetValidZones(std::forward<ValidZonesT>(value));
110 return *this;
111 }
112 template <typename ValidZonesT = Aws::String>
114 m_validZonesHasBeenSet = true;
115 m_validZones.emplace_back(std::forward<ValidZonesT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_message;
121
122 Aws::String m_clusterName;
123
124 Aws::String m_nodegroupName;
125
126 Aws::Vector<Aws::String> m_validZones;
127 bool m_messageHasBeenSet = false;
128 bool m_clusterNameHasBeenSet = false;
129 bool m_nodegroupNameHasBeenSet = false;
130 bool m_validZonesHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace EKS
135} // namespace Aws
UnsupportedAvailabilityZoneException & WithValidZones(ValidZonesT &&value)
UnsupportedAvailabilityZoneException & AddValidZones(ValidZonesT &&value)
AWS_EKS_API UnsupportedAvailabilityZoneException(Aws::Utils::Json::JsonView jsonValue)
UnsupportedAvailabilityZoneException & WithClusterName(ClusterNameT &&value)
AWS_EKS_API UnsupportedAvailabilityZoneException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
UnsupportedAvailabilityZoneException & WithMessage(MessageT &&value)
UnsupportedAvailabilityZoneException & WithNodegroupName(NodegroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue