AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeCapabilityRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKSRequest.h>
9#include <aws/eks/EKS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EKS {
15namespace Model {
16
20 public:
21 AWS_EKS_API DescribeCapabilityRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeCapability"; }
28
29 AWS_EKS_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetClusterName() const { return m_clusterName; }
37 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
38 template <typename ClusterNameT = Aws::String>
39 void SetClusterName(ClusterNameT&& value) {
40 m_clusterNameHasBeenSet = true;
41 m_clusterName = std::forward<ClusterNameT>(value);
42 }
43 template <typename ClusterNameT = Aws::String>
45 SetClusterName(std::forward<ClusterNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCapabilityName() const { return m_capabilityName; }
55 inline bool CapabilityNameHasBeenSet() const { return m_capabilityNameHasBeenSet; }
56 template <typename CapabilityNameT = Aws::String>
57 void SetCapabilityName(CapabilityNameT&& value) {
58 m_capabilityNameHasBeenSet = true;
59 m_capabilityName = std::forward<CapabilityNameT>(value);
60 }
61 template <typename CapabilityNameT = Aws::String>
63 SetCapabilityName(std::forward<CapabilityNameT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_clusterName;
69
70 Aws::String m_capabilityName;
71 bool m_clusterNameHasBeenSet = false;
72 bool m_capabilityNameHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace EKS
77} // namespace Aws
DescribeCapabilityRequest & WithClusterName(ClusterNameT &&value)
AWS_EKS_API DescribeCapabilityRequest()=default
DescribeCapabilityRequest & WithCapabilityName(CapabilityNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EKS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String