AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
AssociateCertificateRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rtbfabric/RTBFabricRequest.h>
10#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace RTBFabric {
16namespace Model {
17
21 public:
22 AWS_RTBFABRIC_API AssociateCertificateRequest() = 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 "AssociateCertificate"; }
29
30 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
37 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
38 template <typename GatewayIdT = Aws::String>
39 void SetGatewayId(GatewayIdT&& value) {
40 m_gatewayIdHasBeenSet = true;
41 m_gatewayId = std::forward<GatewayIdT>(value);
42 }
43 template <typename GatewayIdT = Aws::String>
45 SetGatewayId(std::forward<GatewayIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetAcmCertificateArn() const { return m_acmCertificateArn; }
55 inline bool AcmCertificateArnHasBeenSet() const { return m_acmCertificateArnHasBeenSet; }
56 template <typename AcmCertificateArnT = Aws::String>
57 void SetAcmCertificateArn(AcmCertificateArnT&& value) {
58 m_acmCertificateArnHasBeenSet = true;
59 m_acmCertificateArn = std::forward<AcmCertificateArnT>(value);
60 }
61 template <typename AcmCertificateArnT = Aws::String>
63 SetAcmCertificateArn(std::forward<AcmCertificateArnT>(value));
64 return *this;
65 }
67
69
81 inline const Aws::String& GetClientToken() const { return m_clientToken; }
82 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
83 template <typename ClientTokenT = Aws::String>
84 void SetClientToken(ClientTokenT&& value) {
85 m_clientTokenHasBeenSet = true;
86 m_clientToken = std::forward<ClientTokenT>(value);
87 }
88 template <typename ClientTokenT = Aws::String>
90 SetClientToken(std::forward<ClientTokenT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_gatewayId;
96
97 Aws::String m_acmCertificateArn;
98
100 bool m_gatewayIdHasBeenSet = false;
101 bool m_acmCertificateArnHasBeenSet = false;
102 bool m_clientTokenHasBeenSet = true;
103};
104
105} // namespace Model
106} // namespace RTBFabric
107} // namespace Aws
virtual const char * GetServiceRequestName() const override
AssociateCertificateRequest & WithAcmCertificateArn(AcmCertificateArnT &&value)
AssociateCertificateRequest & WithGatewayId(GatewayIdT &&value)
AWS_RTBFABRIC_API AssociateCertificateRequest()=default
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
AssociateCertificateRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String