AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClientException.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
36 {
37 public:
38 AWS_EKS_API ClientException() = default;
42
43
45
48 inline const Aws::String& GetClusterName() const { return m_clusterName; }
49 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
50 template<typename ClusterNameT = Aws::String>
51 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
52 template<typename ClusterNameT = Aws::String>
53 ClientException& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
61 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
62 template<typename NodegroupNameT = Aws::String>
63 void SetNodegroupName(NodegroupNameT&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::forward<NodegroupNameT>(value); }
64 template<typename NodegroupNameT = Aws::String>
65 ClientException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetAddonName() const { return m_addonName; }
73 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
74 template<typename AddonNameT = Aws::String>
75 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet = true; m_addonName = std::forward<AddonNameT>(value); }
76 template<typename AddonNameT = Aws::String>
77 ClientException& WithAddonName(AddonNameT&& value) { SetAddonName(std::forward<AddonNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
85 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
86 template<typename SubscriptionIdT = Aws::String>
87 void SetSubscriptionId(SubscriptionIdT&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::forward<SubscriptionIdT>(value); }
88 template<typename SubscriptionIdT = Aws::String>
89 ClientException& WithSubscriptionId(SubscriptionIdT&& value) { SetSubscriptionId(std::forward<SubscriptionIdT>(value)); return *this;}
91
93
100 inline const Aws::String& GetMessage() const { return m_message; }
101 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
102 template<typename MessageT = Aws::String>
103 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
104 template<typename MessageT = Aws::String>
105 ClientException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
107 private:
108
109 Aws::String m_clusterName;
110 bool m_clusterNameHasBeenSet = false;
111
112 Aws::String m_nodegroupName;
113 bool m_nodegroupNameHasBeenSet = false;
114
115 Aws::String m_addonName;
116 bool m_addonNameHasBeenSet = false;
117
118 Aws::String m_subscriptionId;
119 bool m_subscriptionIdHasBeenSet = false;
120
121 Aws::String m_message;
122 bool m_messageHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace EKS
127} // namespace Aws
AWS_EKS_API ClientException()=default
ClientException & WithClusterName(ClusterNameT &&value)
void SetNodegroupName(NodegroupNameT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetAddonName() const
AWS_EKS_API ClientException(Aws::Utils::Json::JsonView jsonValue)
ClientException & WithAddonName(AddonNameT &&value)
const Aws::String & GetSubscriptionId() const
void SetSubscriptionId(SubscriptionIdT &&value)
const Aws::String & GetNodegroupName() const
void SetClusterName(ClusterNameT &&value)
void SetMessage(MessageT &&value)
void SetAddonName(AddonNameT &&value)
AWS_EKS_API ClientException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClusterName() const
ClientException & WithSubscriptionId(SubscriptionIdT &&value)
ClientException & WithNodegroupName(NodegroupNameT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ClientException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue