AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTruststoreUri(const Aws::String& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = value; }
49 inline void SetTruststoreUri(Aws::String&& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = std::move(value); }
50 inline void SetTruststoreUri(const char* value) { m_truststoreUriHasBeenSet = true; m_truststoreUri.assign(value); }
51 inline MutualTlsAuthentication& WithTruststoreUri(const Aws::String& value) { SetTruststoreUri(value); return *this;}
52 inline MutualTlsAuthentication& WithTruststoreUri(Aws::String&& value) { SetTruststoreUri(std::move(value)); return *this;}
53 inline MutualTlsAuthentication& WithTruststoreUri(const char* value) { SetTruststoreUri(value); return *this;}
55
57
61 inline const Aws::String& GetTruststoreVersion() const{ return m_truststoreVersion; }
62 inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; }
63 inline void SetTruststoreVersion(const Aws::String& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = value; }
64 inline void SetTruststoreVersion(Aws::String&& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::move(value); }
65 inline void SetTruststoreVersion(const char* value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion.assign(value); }
67 inline MutualTlsAuthentication& WithTruststoreVersion(Aws::String&& value) { SetTruststoreVersion(std::move(value)); return *this;}
68 inline MutualTlsAuthentication& WithTruststoreVersion(const char* value) { SetTruststoreVersion(value); return *this;}
70
72
78 inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const{ return m_truststoreWarnings; }
79 inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
80 inline void SetTruststoreWarnings(const Aws::Vector<Aws::String>& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = value; }
81 inline void SetTruststoreWarnings(Aws::Vector<Aws::String>&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = std::move(value); }
84 inline MutualTlsAuthentication& AddTruststoreWarnings(const Aws::String& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
85 inline MutualTlsAuthentication& AddTruststoreWarnings(Aws::String&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(std::move(value)); return *this; }
86 inline MutualTlsAuthentication& AddTruststoreWarnings(const char* value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
88 private:
89
90 Aws::String m_truststoreUri;
91 bool m_truststoreUriHasBeenSet = false;
92
93 Aws::String m_truststoreVersion;
94 bool m_truststoreVersionHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_truststoreWarnings;
97 bool m_truststoreWarningsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ApiGatewayV2
102} // namespace Aws
MutualTlsAuthentication & WithTruststoreUri(const char *value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
MutualTlsAuthentication & WithTruststoreUri(const Aws::String &value)
AWS_APIGATEWAYV2_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTruststoreWarnings() const
MutualTlsAuthentication & WithTruststoreVersion(Aws::String &&value)
void SetTruststoreWarnings(Aws::Vector< Aws::String > &&value)
MutualTlsAuthentication & AddTruststoreWarnings(const char *value)
void SetTruststoreWarnings(const Aws::Vector< Aws::String > &value)
MutualTlsAuthentication & AddTruststoreWarnings(Aws::String &&value)
MutualTlsAuthentication & WithTruststoreVersion(const Aws::String &value)
MutualTlsAuthentication & WithTruststoreWarnings(const Aws::Vector< Aws::String > &value)
AWS_APIGATEWAYV2_API MutualTlsAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
MutualTlsAuthentication & WithTruststoreVersion(const char *value)
MutualTlsAuthentication & AddTruststoreWarnings(const Aws::String &value)
MutualTlsAuthentication & WithTruststoreUri(Aws::String &&value)
MutualTlsAuthentication & WithTruststoreWarnings(Aws::Vector< Aws::String > &&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