AWS SDK for C++  1.9.17
AWS SDK for C++
VirtualGatewayClientPolicy.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
44  inline const VirtualGatewayClientPolicyTls& GetTls() const{ return m_tls; }
45 
50  inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
51 
56  inline void SetTls(const VirtualGatewayClientPolicyTls& value) { m_tlsHasBeenSet = true; m_tls = value; }
57 
62  inline void SetTls(VirtualGatewayClientPolicyTls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); }
63 
68  inline VirtualGatewayClientPolicy& WithTls(const VirtualGatewayClientPolicyTls& value) { SetTls(value); return *this;}
69 
74  inline VirtualGatewayClientPolicy& WithTls(VirtualGatewayClientPolicyTls&& value) { SetTls(std::move(value)); return *this;}
75 
76  private:
77 
79  bool m_tlsHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace AppMesh
84 } // namespace Aws
Aws::AppMesh::Model::VirtualGatewayClientPolicy::WithTls
VirtualGatewayClientPolicy & WithTls(VirtualGatewayClientPolicyTls &&value)
Definition: VirtualGatewayClientPolicy.h:74
Aws::AppMesh::Model::VirtualGatewayClientPolicy::WithTls
VirtualGatewayClientPolicy & WithTls(const VirtualGatewayClientPolicyTls &value)
Definition: VirtualGatewayClientPolicy.h:68
Aws::AppMesh::Model::VirtualGatewayClientPolicy::VirtualGatewayClientPolicy
VirtualGatewayClientPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayClientPolicy::VirtualGatewayClientPolicy
VirtualGatewayClientPolicy()
VirtualGatewayClientPolicyTls.h
Aws::AppMesh::Model::VirtualGatewayClientPolicy::SetTls
void SetTls(VirtualGatewayClientPolicyTls &&value)
Definition: VirtualGatewayClientPolicy.h:62
Aws::AppMesh::Model::VirtualGatewayClientPolicy::GetTls
const VirtualGatewayClientPolicyTls & GetTls() const
Definition: VirtualGatewayClientPolicy.h:44
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayClientPolicyTls
Definition: VirtualGatewayClientPolicyTls.h:35
Aws::AppMesh::Model::VirtualGatewayClientPolicy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualGatewayClientPolicy::TlsHasBeenSet
bool TlsHasBeenSet() const
Definition: VirtualGatewayClientPolicy.h:50
Aws::AppMesh::Model::VirtualGatewayClientPolicy::SetTls
void SetTls(const VirtualGatewayClientPolicyTls &value)
Definition: VirtualGatewayClientPolicy.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayClientPolicy
Definition: VirtualGatewayClientPolicy.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualGatewayClientPolicy::operator=
VirtualGatewayClientPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28