AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
ServerCertificateConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API ServerCertificateConfig() = default;
33
35
43 inline bool GetEnableOCSPCheck() const { return m_enableOCSPCheck; }
44 inline bool EnableOCSPCheckHasBeenSet() const { return m_enableOCSPCheckHasBeenSet; }
45 inline void SetEnableOCSPCheck(bool value) {
46 m_enableOCSPCheckHasBeenSet = true;
47 m_enableOCSPCheck = value;
48 }
50 SetEnableOCSPCheck(value);
51 return *this;
52 }
54
56
69 inline const Aws::String& GetOcspLambdaArn() const { return m_ocspLambdaArn; }
70 inline bool OcspLambdaArnHasBeenSet() const { return m_ocspLambdaArnHasBeenSet; }
71 template <typename OcspLambdaArnT = Aws::String>
72 void SetOcspLambdaArn(OcspLambdaArnT&& value) {
73 m_ocspLambdaArnHasBeenSet = true;
74 m_ocspLambdaArn = std::forward<OcspLambdaArnT>(value);
75 }
76 template <typename OcspLambdaArnT = Aws::String>
77 ServerCertificateConfig& WithOcspLambdaArn(OcspLambdaArnT&& value) {
78 SetOcspLambdaArn(std::forward<OcspLambdaArnT>(value));
79 return *this;
80 }
82
84
93 inline const Aws::String& GetOcspAuthorizedResponderArn() const { return m_ocspAuthorizedResponderArn; }
94 inline bool OcspAuthorizedResponderArnHasBeenSet() const { return m_ocspAuthorizedResponderArnHasBeenSet; }
95 template <typename OcspAuthorizedResponderArnT = Aws::String>
96 void SetOcspAuthorizedResponderArn(OcspAuthorizedResponderArnT&& value) {
97 m_ocspAuthorizedResponderArnHasBeenSet = true;
98 m_ocspAuthorizedResponderArn = std::forward<OcspAuthorizedResponderArnT>(value);
99 }
100 template <typename OcspAuthorizedResponderArnT = Aws::String>
101 ServerCertificateConfig& WithOcspAuthorizedResponderArn(OcspAuthorizedResponderArnT&& value) {
102 SetOcspAuthorizedResponderArn(std::forward<OcspAuthorizedResponderArnT>(value));
103 return *this;
104 }
106 private:
107 bool m_enableOCSPCheck{false};
108 bool m_enableOCSPCheckHasBeenSet = false;
109
110 Aws::String m_ocspLambdaArn;
111 bool m_ocspLambdaArnHasBeenSet = false;
112
113 Aws::String m_ocspAuthorizedResponderArn;
114 bool m_ocspAuthorizedResponderArnHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace IoT
119} // namespace Aws
ServerCertificateConfig & WithOcspLambdaArn(OcspLambdaArnT &&value)
const Aws::String & GetOcspAuthorizedResponderArn() const
AWS_IOT_API ServerCertificateConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerCertificateConfig & WithEnableOCSPCheck(bool value)
AWS_IOT_API ServerCertificateConfig()=default
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOcspAuthorizedResponderArn(OcspAuthorizedResponderArnT &&value)
AWS_IOT_API ServerCertificateConfig(Aws::Utils::Json::JsonView jsonValue)
ServerCertificateConfig & WithOcspAuthorizedResponderArn(OcspAuthorizedResponderArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue