AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
ActivateCertificateAuthorityRequest.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 EKS {
16namespace Model {
17
21 public:
22 AWS_EKS_API ActivateCertificateAuthorityRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ActivateCertificateAuthority"; }
29
30 AWS_EKS_API Aws::String SerializePayload() const override;
31
33
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
56 inline const Aws::String& GetCertificateAuthorityId() const { return m_certificateAuthorityId; }
57 inline bool CertificateAuthorityIdHasBeenSet() const { return m_certificateAuthorityIdHasBeenSet; }
58 template <typename CertificateAuthorityIdT = Aws::String>
59 void SetCertificateAuthorityId(CertificateAuthorityIdT&& value) {
60 m_certificateAuthorityIdHasBeenSet = true;
61 m_certificateAuthorityId = std::forward<CertificateAuthorityIdT>(value);
62 }
63 template <typename CertificateAuthorityIdT = Aws::String>
65 SetCertificateAuthorityId(std::forward<CertificateAuthorityIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
76 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
77 template <typename ClientRequestTokenT = Aws::String>
78 void SetClientRequestToken(ClientRequestTokenT&& value) {
79 m_clientRequestTokenHasBeenSet = true;
80 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
81 }
82 template <typename ClientRequestTokenT = Aws::String>
84 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_clusterName;
90
91 Aws::String m_certificateAuthorityId;
92
93 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
94 bool m_clusterNameHasBeenSet = false;
95 bool m_certificateAuthorityIdHasBeenSet = false;
96 bool m_clientRequestTokenHasBeenSet = true;
97};
98
99} // namespace Model
100} // namespace EKS
101} // namespace Aws
ActivateCertificateAuthorityRequest & WithCertificateAuthorityId(CertificateAuthorityIdT &&value)
ActivateCertificateAuthorityRequest & WithClusterName(ClusterNameT &&value)
AWS_EKS_API Aws::String SerializePayload() const override
ActivateCertificateAuthorityRequest & WithClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String