AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceNotFoundException.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
35 {
36 public:
37 AWS_EKS_API ResourceNotFoundException() = default;
41
42
44
47 inline const Aws::String& GetClusterName() const { return m_clusterName; }
48 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
49 template<typename ClusterNameT = Aws::String>
50 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
51 template<typename ClusterNameT = Aws::String>
52 ResourceNotFoundException& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetNodegroupName() const { return m_nodegroupName; }
60 inline bool NodegroupNameHasBeenSet() const { return m_nodegroupNameHasBeenSet; }
61 template<typename NodegroupNameT = Aws::String>
62 void SetNodegroupName(NodegroupNameT&& value) { m_nodegroupNameHasBeenSet = true; m_nodegroupName = std::forward<NodegroupNameT>(value); }
63 template<typename NodegroupNameT = Aws::String>
64 ResourceNotFoundException& WithNodegroupName(NodegroupNameT&& value) { SetNodegroupName(std::forward<NodegroupNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFargateProfileName() const { return m_fargateProfileName; }
72 inline bool FargateProfileNameHasBeenSet() const { return m_fargateProfileNameHasBeenSet; }
73 template<typename FargateProfileNameT = Aws::String>
74 void SetFargateProfileName(FargateProfileNameT&& value) { m_fargateProfileNameHasBeenSet = true; m_fargateProfileName = std::forward<FargateProfileNameT>(value); }
75 template<typename FargateProfileNameT = Aws::String>
76 ResourceNotFoundException& WithFargateProfileName(FargateProfileNameT&& value) { SetFargateProfileName(std::forward<FargateProfileNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetAddonName() const { return m_addonName; }
84 inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; }
85 template<typename AddonNameT = Aws::String>
86 void SetAddonName(AddonNameT&& value) { m_addonNameHasBeenSet = true; m_addonName = std::forward<AddonNameT>(value); }
87 template<typename AddonNameT = Aws::String>
88 ResourceNotFoundException& WithAddonName(AddonNameT&& value) { SetAddonName(std::forward<AddonNameT>(value)); return *this;}
90
92
95 inline const Aws::String& GetSubscriptionId() const { return m_subscriptionId; }
96 inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; }
97 template<typename SubscriptionIdT = Aws::String>
98 void SetSubscriptionId(SubscriptionIdT&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::forward<SubscriptionIdT>(value); }
99 template<typename SubscriptionIdT = Aws::String>
100 ResourceNotFoundException& WithSubscriptionId(SubscriptionIdT&& value) { SetSubscriptionId(std::forward<SubscriptionIdT>(value)); return *this;}
102
104
107 inline const Aws::String& GetMessage() const { return m_message; }
108 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
109 template<typename MessageT = Aws::String>
110 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
111 template<typename MessageT = Aws::String>
112 ResourceNotFoundException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
114 private:
115
116 Aws::String m_clusterName;
117 bool m_clusterNameHasBeenSet = false;
118
119 Aws::String m_nodegroupName;
120 bool m_nodegroupNameHasBeenSet = false;
121
122 Aws::String m_fargateProfileName;
123 bool m_fargateProfileNameHasBeenSet = false;
124
125 Aws::String m_addonName;
126 bool m_addonNameHasBeenSet = false;
127
128 Aws::String m_subscriptionId;
129 bool m_subscriptionIdHasBeenSet = false;
130
131 Aws::String m_message;
132 bool m_messageHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace EKS
137} // namespace Aws
AWS_EKS_API ResourceNotFoundException()=default
ResourceNotFoundException & WithClusterName(ClusterNameT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceNotFoundException & WithFargateProfileName(FargateProfileNameT &&value)
ResourceNotFoundException & WithSubscriptionId(SubscriptionIdT &&value)
ResourceNotFoundException & WithMessage(MessageT &&value)
AWS_EKS_API ResourceNotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithAddonName(AddonNameT &&value)
void SetFargateProfileName(FargateProfileNameT &&value)
AWS_EKS_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue)
ResourceNotFoundException & WithNodegroupName(NodegroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue