AWS SDK for C++  1.9.16
AWS SDK for C++
ClientPolicy.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 ClientPolicyTls& GetTls() const{ return m_tls; }
45 
50  inline bool TlsHasBeenSet() const { return m_tlsHasBeenSet; }
51 
56  inline void SetTls(const ClientPolicyTls& value) { m_tlsHasBeenSet = true; m_tls = value; }
57 
62  inline void SetTls(ClientPolicyTls&& value) { m_tlsHasBeenSet = true; m_tls = std::move(value); }
63 
68  inline ClientPolicy& WithTls(const ClientPolicyTls& value) { SetTls(value); return *this;}
69 
74  inline ClientPolicy& WithTls(ClientPolicyTls&& value) { SetTls(std::move(value)); return *this;}
75 
76  private:
77 
78  ClientPolicyTls m_tls;
79  bool m_tlsHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace AppMesh
84 } // namespace Aws
ClientPolicyTls.h
Aws::AppMesh::Model::ClientPolicy
Definition: ClientPolicy.h:32
Aws::AppMesh::Model::ClientPolicy::ClientPolicy
ClientPolicy()
Aws::AppMesh::Model::ClientPolicy::WithTls
ClientPolicy & WithTls(ClientPolicyTls &&value)
Definition: ClientPolicy.h:74
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ClientPolicy::ClientPolicy
ClientPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::ClientPolicy::operator=
ClientPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ClientPolicy::TlsHasBeenSet
bool TlsHasBeenSet() const
Definition: ClientPolicy.h:50
Aws::AppMesh::Model::ClientPolicy::GetTls
const ClientPolicyTls & GetTls() const
Definition: ClientPolicy.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ClientPolicy::SetTls
void SetTls(const ClientPolicyTls &value)
Definition: ClientPolicy.h:56
Aws::AppMesh::Model::ClientPolicyTls
Definition: ClientPolicyTls.h:35
Aws::AppMesh::Model::ClientPolicy::WithTls
ClientPolicy & WithTls(const ClientPolicyTls &value)
Definition: ClientPolicy.h:68
Aws::AppMesh::Model::ClientPolicy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::ClientPolicy::SetTls
void SetTls(ClientPolicyTls &&value)
Definition: ClientPolicy.h:62
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28