AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
PrivateCaRevocationConfiguration.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/PrivateCaCrlConfiguration.h>
9#include <aws/acm/model/PrivateCaOcspConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ACM {
21namespace Model {
22
32 public:
33 AWS_ACM_API PrivateCaRevocationConfiguration() = default;
37
39
43 inline const PrivateCaCrlConfiguration& GetCrlConfiguration() const { return m_crlConfiguration; }
44 inline bool CrlConfigurationHasBeenSet() const { return m_crlConfigurationHasBeenSet; }
45 template <typename CrlConfigurationT = PrivateCaCrlConfiguration>
46 void SetCrlConfiguration(CrlConfigurationT&& value) {
47 m_crlConfigurationHasBeenSet = true;
48 m_crlConfiguration = std::forward<CrlConfigurationT>(value);
49 }
50 template <typename CrlConfigurationT = PrivateCaCrlConfiguration>
52 SetCrlConfiguration(std::forward<CrlConfigurationT>(value));
53 return *this;
54 }
56
58
62 inline const PrivateCaOcspConfiguration& GetOcspConfiguration() const { return m_ocspConfiguration; }
63 inline bool OcspConfigurationHasBeenSet() const { return m_ocspConfigurationHasBeenSet; }
64 template <typename OcspConfigurationT = PrivateCaOcspConfiguration>
65 void SetOcspConfiguration(OcspConfigurationT&& value) {
66 m_ocspConfigurationHasBeenSet = true;
67 m_ocspConfiguration = std::forward<OcspConfigurationT>(value);
68 }
69 template <typename OcspConfigurationT = PrivateCaOcspConfiguration>
71 SetOcspConfiguration(std::forward<OcspConfigurationT>(value));
72 return *this;
73 }
75 private:
76 PrivateCaCrlConfiguration m_crlConfiguration;
77
78 PrivateCaOcspConfiguration m_ocspConfiguration;
79 bool m_crlConfigurationHasBeenSet = false;
80 bool m_ocspConfigurationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ACM
85} // namespace Aws
const PrivateCaCrlConfiguration & GetCrlConfiguration() const
const PrivateCaOcspConfiguration & GetOcspConfiguration() const
AWS_ACM_API PrivateCaRevocationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
PrivateCaRevocationConfiguration & WithCrlConfiguration(CrlConfigurationT &&value)
AWS_ACM_API PrivateCaRevocationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivateCaRevocationConfiguration & WithOcspConfiguration(OcspConfigurationT &&value)
Aws::Utils::Json::JsonValue JsonValue