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/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();
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 inline void SetTruststoreUri(const Aws::String& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = value; }
56 inline void SetTruststoreUri(Aws::String&& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = std::move(value); }
57 inline void SetTruststoreUri(const char* value) { m_truststoreUriHasBeenSet = true; m_truststoreUri.assign(value); }
58 inline MutualTlsAuthentication& WithTruststoreUri(const Aws::String& value) { SetTruststoreUri(value); return *this;}
59 inline MutualTlsAuthentication& WithTruststoreUri(Aws::String&& value) { SetTruststoreUri(std::move(value)); return *this;}
60 inline MutualTlsAuthentication& WithTruststoreUri(const char* value) { SetTruststoreUri(value); return *this;}
62
64
68 inline const Aws::String& GetTruststoreVersion() const{ return m_truststoreVersion; }
69 inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; }
70 inline void SetTruststoreVersion(const Aws::String& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = value; }
71 inline void SetTruststoreVersion(Aws::String&& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::move(value); }
72 inline void SetTruststoreVersion(const char* value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion.assign(value); }
74 inline MutualTlsAuthentication& WithTruststoreVersion(Aws::String&& value) { SetTruststoreVersion(std::move(value)); return *this;}
75 inline MutualTlsAuthentication& WithTruststoreVersion(const char* value) { SetTruststoreVersion(value); return *this;}
77
79
85 inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const{ return m_truststoreWarnings; }
86 inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
87 inline void SetTruststoreWarnings(const Aws::Vector<Aws::String>& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = value; }
88 inline void SetTruststoreWarnings(Aws::Vector<Aws::String>&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = std::move(value); }
91 inline MutualTlsAuthentication& AddTruststoreWarnings(const Aws::String& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
92 inline MutualTlsAuthentication& AddTruststoreWarnings(Aws::String&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(std::move(value)); return *this; }
93 inline MutualTlsAuthentication& AddTruststoreWarnings(const char* value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
95 private:
96
97 Aws::String m_truststoreUri;
98 bool m_truststoreUriHasBeenSet = false;
99
100 Aws::String m_truststoreVersion;
101 bool m_truststoreVersionHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_truststoreWarnings;
104 bool m_truststoreWarningsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace APIGateway
109} // namespace Aws
MutualTlsAuthentication & WithTruststoreWarnings(const Aws::Vector< Aws::String > &value)
MutualTlsAuthentication & WithTruststoreUri(const Aws::String &value)
MutualTlsAuthentication & AddTruststoreWarnings(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTruststoreWarnings() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
MutualTlsAuthentication & AddTruststoreWarnings(Aws::String &&value)
void SetTruststoreWarnings(Aws::Vector< Aws::String > &&value)
MutualTlsAuthentication & WithTruststoreVersion(const char *value)
AWS_APIGATEWAY_API MutualTlsAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTruststoreWarnings(const Aws::Vector< Aws::String > &value)
MutualTlsAuthentication & WithTruststoreUri(Aws::String &&value)
AWS_APIGATEWAY_API MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue)
MutualTlsAuthentication & WithTruststoreWarnings(Aws::Vector< Aws::String > &&value)
MutualTlsAuthentication & WithTruststoreVersion(Aws::String &&value)
MutualTlsAuthentication & WithTruststoreVersion(const Aws::String &value)
MutualTlsAuthentication & WithTruststoreUri(const char *value)
MutualTlsAuthentication & AddTruststoreWarnings(const char *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