AWS SDK for C++  1.9.123
AWS SDK for C++
EgressFilter.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 
48  inline const EgressFilterType& GetType() const{ return m_type; }
49 
57  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 
66  inline void SetType(const EgressFilterType& value) { m_typeHasBeenSet = true; m_type = value; }
67 
75  inline void SetType(EgressFilterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
76 
84  inline EgressFilter& WithType(const EgressFilterType& value) { SetType(value); return *this;}
85 
93  inline EgressFilter& WithType(EgressFilterType&& value) { SetType(std::move(value)); return *this;}
94 
95  private:
96 
97  EgressFilterType m_type;
98  bool m_typeHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace AppMesh
103 } // namespace Aws
Aws::AppMesh::Model::EgressFilter::SetType
void SetType(EgressFilterType &&value)
Definition: EgressFilter.h:75
Aws::AppMesh::Model::EgressFilter::EgressFilter
EgressFilter()
AppMesh_EXPORTS.h
Aws::AppMesh::Model::EgressFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::EgressFilter::EgressFilter
EgressFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::EgressFilter::operator=
EgressFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::EgressFilter::SetType
void SetType(const EgressFilterType &value)
Definition: EgressFilter.h:66
Aws::AppMesh::Model::EgressFilter::WithType
EgressFilter & WithType(EgressFilterType &&value)
Definition: EgressFilter.h:93
Aws::AppMesh::Model::EgressFilter::GetType
const EgressFilterType & GetType() const
Definition: EgressFilter.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::EgressFilterType
EgressFilterType
Definition: EgressFilterType.h:17
EgressFilterType.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::EgressFilter
Definition: EgressFilter.h:33
Aws::AppMesh::Model::EgressFilter::WithType
EgressFilter & WithType(const EgressFilterType &value)
Definition: EgressFilter.h:84
Aws::AppMesh::Model::EgressFilter::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: EgressFilter.h:57
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28