AWS SDK for C++  1.9.16
AWS SDK for C++
MutualTlsAuthentication.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace APIGateway
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
51  inline const Aws::String& GetTruststoreUri() const{ return m_truststoreUri; }
52 
61  inline bool TruststoreUriHasBeenSet() const { return m_truststoreUriHasBeenSet; }
62 
71  inline void SetTruststoreUri(const Aws::String& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = value; }
72 
81  inline void SetTruststoreUri(Aws::String&& value) { m_truststoreUriHasBeenSet = true; m_truststoreUri = std::move(value); }
82 
91  inline void SetTruststoreUri(const char* value) { m_truststoreUriHasBeenSet = true; m_truststoreUri.assign(value); }
92 
101  inline MutualTlsAuthentication& WithTruststoreUri(const Aws::String& value) { SetTruststoreUri(value); return *this;}
102 
111  inline MutualTlsAuthentication& WithTruststoreUri(Aws::String&& value) { SetTruststoreUri(std::move(value)); return *this;}
112 
121  inline MutualTlsAuthentication& WithTruststoreUri(const char* value) { SetTruststoreUri(value); return *this;}
122 
123 
128  inline const Aws::String& GetTruststoreVersion() const{ return m_truststoreVersion; }
129 
134  inline bool TruststoreVersionHasBeenSet() const { return m_truststoreVersionHasBeenSet; }
135 
140  inline void SetTruststoreVersion(const Aws::String& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = value; }
141 
146  inline void SetTruststoreVersion(Aws::String&& value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion = std::move(value); }
147 
152  inline void SetTruststoreVersion(const char* value) { m_truststoreVersionHasBeenSet = true; m_truststoreVersion.assign(value); }
153 
158  inline MutualTlsAuthentication& WithTruststoreVersion(const Aws::String& value) { SetTruststoreVersion(value); return *this;}
159 
164  inline MutualTlsAuthentication& WithTruststoreVersion(Aws::String&& value) { SetTruststoreVersion(std::move(value)); return *this;}
165 
170  inline MutualTlsAuthentication& WithTruststoreVersion(const char* value) { SetTruststoreVersion(value); return *this;}
171 
172 
179  inline const Aws::Vector<Aws::String>& GetTruststoreWarnings() const{ return m_truststoreWarnings; }
180 
187  inline bool TruststoreWarningsHasBeenSet() const { return m_truststoreWarningsHasBeenSet; }
188 
195  inline void SetTruststoreWarnings(const Aws::Vector<Aws::String>& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = value; }
196 
203  inline void SetTruststoreWarnings(Aws::Vector<Aws::String>&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings = std::move(value); }
204 
211  inline MutualTlsAuthentication& WithTruststoreWarnings(const Aws::Vector<Aws::String>& value) { SetTruststoreWarnings(value); return *this;}
212 
219  inline MutualTlsAuthentication& WithTruststoreWarnings(Aws::Vector<Aws::String>&& value) { SetTruststoreWarnings(std::move(value)); return *this;}
220 
227  inline MutualTlsAuthentication& AddTruststoreWarnings(const Aws::String& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
228 
235  inline MutualTlsAuthentication& AddTruststoreWarnings(Aws::String&& value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(std::move(value)); return *this; }
236 
243  inline MutualTlsAuthentication& AddTruststoreWarnings(const char* value) { m_truststoreWarningsHasBeenSet = true; m_truststoreWarnings.push_back(value); return *this; }
244 
245  private:
246 
247  Aws::String m_truststoreUri;
248  bool m_truststoreUriHasBeenSet;
249 
250  Aws::String m_truststoreVersion;
251  bool m_truststoreVersionHasBeenSet;
252 
253  Aws::Vector<Aws::String> m_truststoreWarnings;
254  bool m_truststoreWarningsHasBeenSet;
255  };
256 
257 } // namespace Model
258 } // namespace APIGateway
259 } // namespace Aws
Aws::APIGateway::Model::MutualTlsAuthentication::MutualTlsAuthentication
MutualTlsAuthentication()
Aws::APIGateway::Model::MutualTlsAuthentication::GetTruststoreUri
const Aws::String & GetTruststoreUri() const
Definition: MutualTlsAuthentication.h:51
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreWarnings
void SetTruststoreWarnings(Aws::Vector< Aws::String > &&value)
Definition: MutualTlsAuthentication.h:203
Aws::APIGateway::Model::MutualTlsAuthentication
Definition: MutualTlsAuthentication.h:35
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreWarnings
MutualTlsAuthentication & WithTruststoreWarnings(const Aws::Vector< Aws::String > &value)
Definition: MutualTlsAuthentication.h:211
Aws::APIGateway::Model::MutualTlsAuthentication::GetTruststoreVersion
const Aws::String & GetTruststoreVersion() const
Definition: MutualTlsAuthentication.h:128
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreVersion
MutualTlsAuthentication & WithTruststoreVersion(Aws::String &&value)
Definition: MutualTlsAuthentication.h:164
Aws::APIGateway::Model::MutualTlsAuthentication::TruststoreVersionHasBeenSet
bool TruststoreVersionHasBeenSet() const
Definition: MutualTlsAuthentication.h:134
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreUri
MutualTlsAuthentication & WithTruststoreUri(const Aws::String &value)
Definition: MutualTlsAuthentication.h:101
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreWarnings
MutualTlsAuthentication & WithTruststoreWarnings(Aws::Vector< Aws::String > &&value)
Definition: MutualTlsAuthentication.h:219
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreWarnings
void SetTruststoreWarnings(const Aws::Vector< Aws::String > &value)
Definition: MutualTlsAuthentication.h:195
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::MutualTlsAuthentication::TruststoreWarningsHasBeenSet
bool TruststoreWarningsHasBeenSet() const
Definition: MutualTlsAuthentication.h:187
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreUri
void SetTruststoreUri(const Aws::String &value)
Definition: MutualTlsAuthentication.h:71
AWSVector.h
Aws::APIGateway::Model::MutualTlsAuthentication::AddTruststoreWarnings
MutualTlsAuthentication & AddTruststoreWarnings(Aws::String &&value)
Definition: MutualTlsAuthentication.h:235
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreUri
MutualTlsAuthentication & WithTruststoreUri(Aws::String &&value)
Definition: MutualTlsAuthentication.h:111
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::MutualTlsAuthentication::operator=
MutualTlsAuthentication & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreUri
void SetTruststoreUri(const char *value)
Definition: MutualTlsAuthentication.h:91
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreVersion
void SetTruststoreVersion(const Aws::String &value)
Definition: MutualTlsAuthentication.h:140
Aws::APIGateway::Model::MutualTlsAuthentication::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::MutualTlsAuthentication::MutualTlsAuthentication
MutualTlsAuthentication(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::MutualTlsAuthentication::TruststoreUriHasBeenSet
bool TruststoreUriHasBeenSet() const
Definition: MutualTlsAuthentication.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreVersion
void SetTruststoreVersion(const char *value)
Definition: MutualTlsAuthentication.h:152
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreUri
MutualTlsAuthentication & WithTruststoreUri(const char *value)
Definition: MutualTlsAuthentication.h:121
Aws::APIGateway::Model::MutualTlsAuthentication::AddTruststoreWarnings
MutualTlsAuthentication & AddTruststoreWarnings(const Aws::String &value)
Definition: MutualTlsAuthentication.h:227
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreVersion
void SetTruststoreVersion(Aws::String &&value)
Definition: MutualTlsAuthentication.h:146
Aws::APIGateway::Model::MutualTlsAuthentication::GetTruststoreWarnings
const Aws::Vector< Aws::String > & GetTruststoreWarnings() const
Definition: MutualTlsAuthentication.h:179
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreVersion
MutualTlsAuthentication & WithTruststoreVersion(const char *value)
Definition: MutualTlsAuthentication.h:170
Aws::APIGateway::Model::MutualTlsAuthentication::WithTruststoreVersion
MutualTlsAuthentication & WithTruststoreVersion(const Aws::String &value)
Definition: MutualTlsAuthentication.h:158
Aws::APIGateway::Model::MutualTlsAuthentication::AddTruststoreWarnings
MutualTlsAuthentication & AddTruststoreWarnings(const char *value)
Definition: MutualTlsAuthentication.h:243
Aws::APIGateway::Model::MutualTlsAuthentication::SetTruststoreUri
void SetTruststoreUri(Aws::String &&value)
Definition: MutualTlsAuthentication.h:81