AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VirtualGatewayTlsValidationContextTrust.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualGatewayTlsValidationContextAcmTrust.h>
9#include <aws/appmesh/model/VirtualGatewayTlsValidationContextFileTrust.h>
10#include <aws/appmesh/model/VirtualGatewayTlsValidationContextSdsTrust.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 VirtualGatewayTlsValidationContextTrust() = default;
40 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const VirtualGatewayTlsValidationContextAcmTrust& GetAcm() const { return m_acm; }
49 inline bool AcmHasBeenSet() const { return m_acmHasBeenSet; }
50 template<typename AcmT = VirtualGatewayTlsValidationContextAcmTrust>
51 void SetAcm(AcmT&& value) { m_acmHasBeenSet = true; m_acm = std::forward<AcmT>(value); }
52 template<typename AcmT = VirtualGatewayTlsValidationContextAcmTrust>
53 VirtualGatewayTlsValidationContextTrust& WithAcm(AcmT&& value) { SetAcm(std::forward<AcmT>(value)); return *this;}
55
57
61 inline const VirtualGatewayTlsValidationContextFileTrust& GetFile() const { return m_file; }
62 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
63 template<typename FileT = VirtualGatewayTlsValidationContextFileTrust>
64 void SetFile(FileT&& value) { m_fileHasBeenSet = true; m_file = std::forward<FileT>(value); }
65 template<typename FileT = VirtualGatewayTlsValidationContextFileTrust>
66 VirtualGatewayTlsValidationContextTrust& WithFile(FileT&& value) { SetFile(std::forward<FileT>(value)); return *this;}
68
70
74 inline const VirtualGatewayTlsValidationContextSdsTrust& GetSds() const { return m_sds; }
75 inline bool SdsHasBeenSet() const { return m_sdsHasBeenSet; }
76 template<typename SdsT = VirtualGatewayTlsValidationContextSdsTrust>
77 void SetSds(SdsT&& value) { m_sdsHasBeenSet = true; m_sds = std::forward<SdsT>(value); }
78 template<typename SdsT = VirtualGatewayTlsValidationContextSdsTrust>
79 VirtualGatewayTlsValidationContextTrust& WithSds(SdsT&& value) { SetSds(std::forward<SdsT>(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
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API VirtualGatewayTlsValidationContextTrust(Aws::Utils::Json::JsonView jsonValue)
const VirtualGatewayTlsValidationContextFileTrust & GetFile() const
const VirtualGatewayTlsValidationContextSdsTrust & GetSds() const
VirtualGatewayTlsValidationContextTrust & WithFile(FileT &&value)
const VirtualGatewayTlsValidationContextAcmTrust & GetAcm() const
AWS_APPMESH_API VirtualGatewayTlsValidationContextTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue