AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApiGatewayV2
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_APIGATEWAYV2_API MutualTlsAuthentication() = default;
31 AWS_APIGATEWAYV2_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
46 inline const Aws::String& GetTruststoreUri() const { return m_truststoreUri; }
47 inline bool TruststoreUriHasBeenSet() const { return m_truststoreUriHasBeenSet; }
48 template<typename TruststoreUriT = Aws::String>
49 void SetTruststoreUri(TruststoreUriT&& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = std::forward<TruststoreUriT>(value); }
50 template<typename TruststoreUriT = Aws::String>
51 MutualTlsAuthentication& WithTruststoreUri(TruststoreUriT&& value) { SetTruststoreUri(std::forward<TruststoreUriT>(value)); return *this;}
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) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::forward<TruststoreVersionT>(value); }
63 template<typename TruststoreVersionT = Aws::String>
64 MutualTlsAuthentication& WithTruststoreVersion(TruststoreVersionT&& value) { SetTruststoreVersion(std::forward<TruststoreVersionT>(value)); return *this;}
66
68
74 inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const { return m_truststoreWarnings; }
75 inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
76 template<typename TruststoreWarningsT = Aws::Vector<Aws::String>>
77 void SetTruststoreWarnings(TruststoreWarningsT&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = std::forward<TruststoreWarningsT>(value); }
78 template<typename TruststoreWarningsT = Aws::Vector<Aws::String>>
79 MutualTlsAuthentication& WithTruststoreWarnings(TruststoreWarningsT&& value) { SetTruststoreWarnings(std::forward<TruststoreWarningsT>(value)); return *this;}
80 template<typename TruststoreWarningsT = Aws::String>
81 MutualTlsAuthentication& AddTruststoreWarnings(TruststoreWarningsT&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.emplace_back(std::forward<TruststoreWarningsT>(value)); return *this; }
83 private:
84
85 Aws::String m_truststoreUri;
86 bool m_truststoreUriHasBeenSet = false;
87
88 Aws::String m_truststoreVersion;
89 bool m_truststoreVersionHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_truststoreWarnings;
92 bool m_truststoreWarningsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ApiGatewayV2
97} // 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