AWS SDK for C++  1.9.126
AWS SDK for C++
MeshSpec.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 
33  {
34  public:
39 
40 
44  inline const EgressFilter& GetEgressFilter() const{ return m_egressFilter; }
45 
49  inline bool EgressFilterHasBeenSet() const { return m_egressFilterHasBeenSet; }
50 
54  inline void SetEgressFilter(const EgressFilter& value) { m_egressFilterHasBeenSet = true; m_egressFilter = value; }
55 
59  inline void SetEgressFilter(EgressFilter&& value) { m_egressFilterHasBeenSet = true; m_egressFilter = std::move(value); }
60 
64  inline MeshSpec& WithEgressFilter(const EgressFilter& value) { SetEgressFilter(value); return *this;}
65 
69  inline MeshSpec& WithEgressFilter(EgressFilter&& value) { SetEgressFilter(std::move(value)); return *this;}
70 
71  private:
72 
73  EgressFilter m_egressFilter;
74  bool m_egressFilterHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace AppMesh
79 } // namespace Aws
Aws::AppMesh::Model::MeshSpec::WithEgressFilter
MeshSpec & WithEgressFilter(EgressFilter &&value)
Definition: MeshSpec.h:69
Aws::AppMesh::Model::MeshSpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::MeshSpec::SetEgressFilter
void SetEgressFilter(const EgressFilter &value)
Definition: MeshSpec.h:54
Aws::AppMesh::Model::MeshSpec::operator=
MeshSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::MeshSpec::WithEgressFilter
MeshSpec & WithEgressFilter(const EgressFilter &value)
Definition: MeshSpec.h:64
AppMesh_EXPORTS.h
Aws::AppMesh::Model::MeshSpec::MeshSpec
MeshSpec()
Aws::AppMesh::Model::MeshSpec::GetEgressFilter
const EgressFilter & GetEgressFilter() const
Definition: MeshSpec.h:44
Aws::AppMesh::Model::MeshSpec::SetEgressFilter
void SetEgressFilter(EgressFilter &&value)
Definition: MeshSpec.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::MeshSpec::EgressFilterHasBeenSet
bool EgressFilterHasBeenSet() const
Definition: MeshSpec.h:49
EgressFilter.h
Aws::AppMesh::Model::MeshSpec
Definition: MeshSpec.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::EgressFilter
Definition: EgressFilter.h:33
Aws::AppMesh::Model::MeshSpec::MeshSpec
MeshSpec(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28