AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RenewCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ACM {
15namespace Model {
16
20 public:
21 AWS_ACM_API RenewCertificateRequest() = 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 "RenewCertificate"; }
28
29 AWS_ACM_API Aws::String SerializePayload() const override;
30
32
34
42 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
43 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
44 template <typename CertificateArnT = Aws::String>
45 void SetCertificateArn(CertificateArnT&& value) {
46 m_certificateArnHasBeenSet = true;
47 m_certificateArn = std::forward<CertificateArnT>(value);
48 }
49 template <typename CertificateArnT = Aws::String>
50 RenewCertificateRequest& WithCertificateArn(CertificateArnT&& value) {
51 SetCertificateArn(std::forward<CertificateArnT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_certificateArn;
57 bool m_certificateArnHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace ACM
62} // namespace Aws
AWS_ACM_API RenewCertificateRequest()=default
void SetCertificateArn(CertificateArnT &&value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ACM_API Aws::String SerializePayload() const override
RenewCertificateRequest & WithCertificateArn(CertificateArnT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String