AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
35
40 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
41 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
42 template <typename CertificateArnT = Aws::String>
43 void SetCertificateArn(CertificateArnT&& value) {
44 m_certificateArnHasBeenSet = true;
45 m_certificateArn = std::forward<CertificateArnT>(value);
46 }
47 template <typename CertificateArnT = Aws::String>
49 SetCertificateArn(std::forward<CertificateArnT>(value));
50 return *this;
51 }
53
55
62 inline const CertificateOptions& GetOptions() const { return m_options; }
63 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
64 template <typename OptionsT = CertificateOptions>
65 void SetOptions(OptionsT&& value) {
66 m_optionsHasBeenSet = true;
67 m_options = std::forward<OptionsT>(value);
68 }
69 template <typename OptionsT = CertificateOptions>
71 SetOptions(std::forward<OptionsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_certificateArn;
77
78 CertificateOptions m_options;
79 bool m_certificateArnHasBeenSet = false;
80 bool m_optionsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ACM
85} // namespace Aws
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