AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TlsValidationContextTrust.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/TlsValidationContextAcmTrust.h>
9#include <aws/appmesh/model/TlsValidationContextFileTrust.h>
10#include <aws/appmesh/model/TlsValidationContextSdsTrust.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppMesh
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPMESH_API TlsValidationContextTrust();
40 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const TlsValidationContextAcmTrust& GetAcm() const{ return m_acm; }
49 inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; }
50 inline void SetAcm(const TlsValidationContextAcmTrust& value) { m_acmHasBeenSet = true; m_acm = value; }
51 inline void SetAcm(TlsValidationContextAcmTrust&& value) { m_acmHasBeenSet = true; m_acm = std::move(value); }
52 inline TlsValidationContextTrust& WithAcm(const TlsValidationContextAcmTrust& value) { SetAcm(value); return *this;}
53 inline TlsValidationContextTrust& WithAcm(TlsValidationContextAcmTrust&& value) { SetAcm(std::move(value)); return *this;}
55
57
61 inline const TlsValidationContextFileTrust& GetFile() const{ return m_file; }
62 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
63 inline void SetFile(const TlsValidationContextFileTrust& value) { m_fileHasBeenSet = true; m_file = value; }
64 inline void SetFile(TlsValidationContextFileTrust&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
65 inline TlsValidationContextTrust& WithFile(const TlsValidationContextFileTrust& value) { SetFile(value); return *this;}
66 inline TlsValidationContextTrust& WithFile(TlsValidationContextFileTrust&& value) { SetFile(std::move(value)); return *this;}
68
70
74 inline const TlsValidationContextSdsTrust& GetSds() const{ return m_sds; }
75 inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
76 inline void SetSds(const TlsValidationContextSdsTrust& value) { m_sdsHasBeenSet = true; m_sds = value; }
77 inline void SetSds(TlsValidationContextSdsTrust&& value) { m_sdsHasBeenSet = true; m_sds = std::move(value); }
78 inline TlsValidationContextTrust& WithSds(const TlsValidationContextSdsTrust& value) { SetSds(value); return *this;}
79 inline TlsValidationContextTrust& WithSds(TlsValidationContextSdsTrust&& value) { SetSds(std::move(value)); return *this;}
81 private:
82
84 bool m_acmHasBeenSet = false;
85
87 bool m_fileHasBeenSet = false;
88
90 bool m_sdsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AppMesh
95} // namespace Aws
TlsValidationContextTrust & WithFile(const TlsValidationContextFileTrust &value)
const TlsValidationContextFileTrust & GetFile() const
void SetFile(const TlsValidationContextFileTrust &value)
AWS_APPMESH_API TlsValidationContextTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
TlsValidationContextTrust & WithSds(const TlsValidationContextSdsTrust &value)
void SetAcm(TlsValidationContextAcmTrust &&value)
TlsValidationContextTrust & WithSds(TlsValidationContextSdsTrust &&value)
void SetAcm(const TlsValidationContextAcmTrust &value)
void SetSds(const TlsValidationContextSdsTrust &value)
TlsValidationContextTrust & WithAcm(const TlsValidationContextAcmTrust &value)
TlsValidationContextTrust & WithFile(TlsValidationContextFileTrust &&value)
AWS_APPMESH_API TlsValidationContextTrust(Aws::Utils::Json::JsonView jsonValue)
void SetSds(TlsValidationContextSdsTrust &&value)
const TlsValidationContextSdsTrust & GetSds() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
TlsValidationContextTrust & WithAcm(TlsValidationContextAcmTrust &&value)
void SetFile(TlsValidationContextFileTrust &&value)
const TlsValidationContextAcmTrust & GetAcm() const
Aws::Utils::Json::JsonValue JsonValue