AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
MutualTlsAuthentication.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ApiGatewayV2 {
21namespace Model {
22
24 public:
25 AWS_APIGATEWAYV2_API MutualTlsAuthentication() = default;
26 AWS_APIGATEWAYV2_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue);
28 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
29
31
40 inline const Aws::String& GetTruststoreUri() const { return m_truststoreUri; }
41 inline bool TruststoreUriHasBeenSet() const { return m_truststoreUriHasBeenSet; }
42 template <typename TruststoreUriT = Aws::String>
43 void SetTruststoreUri(TruststoreUriT&& value) {
44 m_truststoreUriHasBeenSet = true;
45 m_truststoreUri = std::forward<TruststoreUriT>(value);
46 }
47 template <typename TruststoreUriT = Aws::String>
48 MutualTlsAuthentication& WithTruststoreUri(TruststoreUriT&& value) {
49 SetTruststoreUri(std::forward<TruststoreUriT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetTruststoreVersion() const { return m_truststoreVersion; }
60 inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; }
61 template <typename TruststoreVersionT = Aws::String>
62 void SetTruststoreVersion(TruststoreVersionT&& value) {
63 m_truststoreVersionHasBeenSet = true;
64 m_truststoreVersion = std::forward<TruststoreVersionT>(value);
65 }
66 template <typename TruststoreVersionT = Aws::String>
67 MutualTlsAuthentication& WithTruststoreVersion(TruststoreVersionT&& value) {
68 SetTruststoreVersion(std::forward<TruststoreVersionT>(value));
69 return *this;
70 }
72
74
80 inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const { return m_truststoreWarnings; }
81 inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
82 template <typename TruststoreWarningsT = Aws::Vector<Aws::String>>
83 void SetTruststoreWarnings(TruststoreWarningsT&& value) {
84 m_truststoreWarningsHasBeenSet = true;
85 m_truststoreWarnings = std::forward<TruststoreWarningsT>(value);
86 }
87 template <typename TruststoreWarningsT = Aws::Vector<Aws::String>>
88 MutualTlsAuthentication& WithTruststoreWarnings(TruststoreWarningsT&& value) {
89 SetTruststoreWarnings(std::forward<TruststoreWarningsT>(value));
90 return *this;
91 }
92 template <typename TruststoreWarningsT = Aws::String>
93 MutualTlsAuthentication& AddTruststoreWarnings(TruststoreWarningsT&& value) {
94 m_truststoreWarningsHasBeenSet = true;
95 m_truststoreWarnings.emplace_back(std::forward<TruststoreWarningsT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_truststoreUri;
101
102 Aws::String m_truststoreVersion;
103
104 Aws::Vector<Aws::String> m_truststoreWarnings;
105 bool m_truststoreUriHasBeenSet = false;
106 bool m_truststoreVersionHasBeenSet = false;
107 bool m_truststoreWarningsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ApiGatewayV2
112} // namespace Aws
MutualTlsAuthentication & WithTruststoreVersion(TruststoreVersionT &&value)
MutualTlsAuthentication & AddTruststoreWarnings(TruststoreWarningsT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTruststoreWarnings() const
MutualTlsAuthentication & WithTruststoreWarnings(TruststoreWarningsT &&value)
MutualTlsAuthentication & WithTruststoreUri(TruststoreUriT &&value)
AWS_APIGATEWAYV2_API MutualTlsAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API MutualTlsAuthentication()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue