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/apigateway/APIGateway_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 APIGateway
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_APIGATEWAY_API MutualTlsAuthentication() = default;
41 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
53 inline const Aws::String& GetTruststoreUri() const { return m_truststoreUri; }
54 inline bool TruststoreUriHasBeenSet() const { return m_truststoreUriHasBeenSet; }
55 template<typename TruststoreUriT = Aws::String>
56 void SetTruststoreUri(TruststoreUriT&& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = std::forward<TruststoreUriT>(value); }
57 template<typename TruststoreUriT = Aws::String>
58 MutualTlsAuthentication& WithTruststoreUri(TruststoreUriT&& value) { SetTruststoreUri(std::forward<TruststoreUriT>(value)); return *this;}
60
62
66 inline const Aws::String& GetTruststoreVersion() const { return m_truststoreVersion; }
67 inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; }
68 template<typename TruststoreVersionT = Aws::String>
69 void SetTruststoreVersion(TruststoreVersionT&& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::forward<TruststoreVersionT>(value); }
70 template<typename TruststoreVersionT = Aws::String>
71 MutualTlsAuthentication& WithTruststoreVersion(TruststoreVersionT&& value) { SetTruststoreVersion(std::forward<TruststoreVersionT>(value)); return *this;}
73
75
81 inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const { return m_truststoreWarnings; }
82 inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
83 template<typename TruststoreWarningsT = Aws::Vector<Aws::String>>
84 void SetTruststoreWarnings(TruststoreWarningsT&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = std::forward<TruststoreWarningsT>(value); }
85 template<typename TruststoreWarningsT = Aws::Vector<Aws::String>>
86 MutualTlsAuthentication& WithTruststoreWarnings(TruststoreWarningsT&& value) { SetTruststoreWarnings(std::forward<TruststoreWarningsT>(value)); return *this;}
87 template<typename TruststoreWarningsT = Aws::String>
88 MutualTlsAuthentication& AddTruststoreWarnings(TruststoreWarningsT&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.emplace_back(std::forward<TruststoreWarningsT>(value)); return *this; }
90 private:
91
92 Aws::String m_truststoreUri;
93 bool m_truststoreUriHasBeenSet = false;
94
95 Aws::String m_truststoreVersion;
96 bool m_truststoreVersionHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_truststoreWarnings;
99 bool m_truststoreWarningsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
AWS_APIGATEWAY_API MutualTlsAuthentication()=default
const Aws::Vector< Aws::String > & GetTruststoreWarnings() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
MutualTlsAuthentication & AddTruststoreWarnings(TruststoreWarningsT &&value)
void SetTruststoreWarnings(TruststoreWarningsT &&value)
MutualTlsAuthentication & WithTruststoreVersion(TruststoreVersionT &&value)
AWS_APIGATEWAY_API MutualTlsAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue)
MutualTlsAuthentication & WithTruststoreUri(TruststoreUriT &&value)
MutualTlsAuthentication & WithTruststoreWarnings(TruststoreWarningsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue