AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
PrivateCaOcspConfiguration.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ACM {
20namespace Model {
21
31 public:
32 AWS_ACM_API PrivateCaOcspConfiguration() = default;
36
38
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
48 SetEnabled(value);
49 return *this;
50 }
52
54
58 inline const Aws::String& GetOcspCustomCname() const { return m_ocspCustomCname; }
59 inline bool OcspCustomCnameHasBeenSet() const { return m_ocspCustomCnameHasBeenSet; }
60 template <typename OcspCustomCnameT = Aws::String>
61 void SetOcspCustomCname(OcspCustomCnameT&& value) {
62 m_ocspCustomCnameHasBeenSet = true;
63 m_ocspCustomCname = std::forward<OcspCustomCnameT>(value);
64 }
65 template <typename OcspCustomCnameT = Aws::String>
67 SetOcspCustomCname(std::forward<OcspCustomCnameT>(value));
68 return *this;
69 }
71 private:
72 bool m_enabled{false};
73
74 Aws::String m_ocspCustomCname;
75 bool m_enabledHasBeenSet = false;
76 bool m_ocspCustomCnameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ACM
81} // namespace Aws
PrivateCaOcspConfiguration & WithEnabled(bool value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACM_API PrivateCaOcspConfiguration()=default
AWS_ACM_API PrivateCaOcspConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API PrivateCaOcspConfiguration(Aws::Utils::Json::JsonView jsonValue)
PrivateCaOcspConfiguration & WithOcspCustomCname(OcspCustomCnameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue