AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServerException.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EKS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EKS_API ServerException() = default;
39
40
42
45 inline const Aws::String& GetClusterName() const { return m_clusterName; }
46 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
47 template<typename ClusterNameT = Aws::String>
48 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
49 template<typename ClusterNameT = Aws::String>
50 ServerException& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
58 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
59 template<typename NodegroupNameT = Aws::String>
60 void SetNodegroupName(NodegroupNameT&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::forward<NodegroupNameT>(value); }
61 template<typename NodegroupNameT = Aws::String>
62 ServerException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetAddonName() const { return m_addonName; }
70 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
71 template<typename AddonNameT = Aws::String>
72 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet = true; m_addonName = std::forward<AddonNameT>(value); }
73 template<typename AddonNameT = Aws::String>
74 ServerException& WithAddonName(AddonNameT&& value) { SetAddonName(std::forward<AddonNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
82 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
83 template<typename SubscriptionIdT = Aws::String>
84 void SetSubscriptionId(SubscriptionIdT&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::forward<SubscriptionIdT>(value); }
85 template<typename SubscriptionIdT = Aws::String>
86 ServerException& WithSubscriptionId(SubscriptionIdT&& value) { SetSubscriptionId(std::forward<SubscriptionIdT>(value)); return *this;}
88
90
93 inline const Aws::String& GetMessage() const { return m_message; }
94 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
95 template<typename MessageT = Aws::String>
96 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
97 template<typename MessageT = Aws::String>
98 ServerException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
100 private:
101
102 Aws::String m_clusterName;
103 bool m_clusterNameHasBeenSet = false;
104
105 Aws::String m_nodegroupName;
106 bool m_nodegroupNameHasBeenSet = false;
107
108 Aws::String m_addonName;
109 bool m_addonNameHasBeenSet = false;
110
111 Aws::String m_subscriptionId;
112 bool m_subscriptionIdHasBeenSet = false;
113
114 Aws::String m_message;
115 bool m_messageHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace EKS
120} // namespace Aws
ServerException & WithSubscriptionId(SubscriptionIdT &&value)
const Aws::String & GetAddonName() const
void SetClusterName(ClusterNameT &&value)
const Aws::String & GetSubscriptionId() const
AWS_EKS_API ServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerException & WithNodegroupName(NodegroupNameT &&value)
const Aws::String & GetMessage() const
void SetNodegroupName(NodegroupNameT &&value)
ServerException & WithMessage(MessageT &&value)
void SetSubscriptionId(SubscriptionIdT &&value)
const Aws::String & GetNodegroupName() const
void SetMessage(MessageT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetClusterName() const
AWS_EKS_API ServerException()=default
AWS_EKS_API ServerException(Aws::Utils::Json::JsonView jsonValue)
void SetAddonName(AddonNameT &&value)
ServerException & WithClusterName(ClusterNameT &&value)
ServerException & WithAddonName(AddonNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue