AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
DeleteCertificateAuthorityRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/EKSRequest.h>
10#include <aws/eks/EKS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace EKS {
19namespace Model {
20
24 public:
25 AWS_EKS_API DeleteCertificateAuthorityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteCertificateAuthority"; }
32
33 AWS_EKS_API Aws::String SerializePayload() const override;
34
35 AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetClusterName() const { return m_clusterName; }
42 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
43 template <typename ClusterNameT = Aws::String>
44 void SetClusterName(ClusterNameT&& value) {
45 m_clusterNameHasBeenSet = true;
46 m_clusterName = std::forward<ClusterNameT>(value);
47 }
48 template <typename ClusterNameT = Aws::String>
50 SetClusterName(std::forward<ClusterNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetCertificateAuthorityId() const { return m_certificateAuthorityId; }
61 inline bool CertificateAuthorityIdHasBeenSet() const { return m_certificateAuthorityIdHasBeenSet; }
62 template <typename CertificateAuthorityIdT = Aws::String>
63 void SetCertificateAuthorityId(CertificateAuthorityIdT&& value) {
64 m_certificateAuthorityIdHasBeenSet = true;
65 m_certificateAuthorityId = std::forward<CertificateAuthorityIdT>(value);
66 }
67 template <typename CertificateAuthorityIdT = Aws::String>
69 SetCertificateAuthorityId(std::forward<CertificateAuthorityIdT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
80 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
81 template <typename ClientRequestTokenT = Aws::String>
82 void SetClientRequestToken(ClientRequestTokenT&& value) {
83 m_clientRequestTokenHasBeenSet = true;
84 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
85 }
86 template <typename ClientRequestTokenT = Aws::String>
88 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_clusterName;
94
95 Aws::String m_certificateAuthorityId;
96
97 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
98 bool m_clusterNameHasBeenSet = false;
99 bool m_certificateAuthorityIdHasBeenSet = false;
100 bool m_clientRequestTokenHasBeenSet = true;
101};
102
103} // namespace Model
104} // namespace EKS
105} // namespace Aws
DeleteCertificateAuthorityRequest & WithClientRequestToken(ClientRequestTokenT &&value)
DeleteCertificateAuthorityRequest & WithCertificateAuthorityId(CertificateAuthorityIdT &&value)
AWS_EKS_API Aws::String SerializePayload() const override
DeleteCertificateAuthorityRequest & WithClusterName(ClusterNameT &&value)
AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String