AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
UpdateCertificateOptionsRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/acm/model/CertificateOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ACM {
16namespace Model {
17
21 public:
22 AWS_ACM_API UpdateCertificateOptionsRequest() = 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 "UpdateCertificateOptions"; }
29
30 AWS_ACM_API Aws::String SerializePayload() const override;
31
33
37 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
38
40
45 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 template <typename CertificateArnT = Aws::String>
48 void SetCertificateArn(CertificateArnT&& value) {
49 m_certificateArnHasBeenSet = true;
50 m_certificateArn = std::forward<CertificateArnT>(value);
51 }
52 template <typename CertificateArnT = Aws::String>
54 SetCertificateArn(std::forward<CertificateArnT>(value));
55 return *this;
56 }
58
60
68 inline const CertificateOptions& GetOptions() const { return m_options; }
69 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
70 template <typename OptionsT = CertificateOptions>
71 void SetOptions(OptionsT&& value) {
72 m_optionsHasBeenSet = true;
73 m_options = std::forward<OptionsT>(value);
74 }
75 template <typename OptionsT = CertificateOptions>
77 SetOptions(std::forward<OptionsT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_certificateArn;
83
84 CertificateOptions m_options;
85 bool m_certificateArnHasBeenSet = false;
86 bool m_optionsHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ACM
91} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
UpdateCertificateOptionsRequest & WithCertificateArn(CertificateArnT &&value)
UpdateCertificateOptionsRequest & WithOptions(OptionsT &&value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ACM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String