AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkAclPortRange.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FMS
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_FMS_API NetworkAclPortRange();
37
38
40
43 inline int GetFrom() const{ return m_from; }
44 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
45 inline void SetFrom(int value) { m_fromHasBeenSet = true; m_from = value; }
46 inline NetworkAclPortRange& WithFrom(int value) { SetFrom(value); return *this;}
48
50
53 inline int GetTo() const{ return m_to; }
54 inline bool ToHasBeenSet() const { return m_toHasBeenSet; }
55 inline void SetTo(int value) { m_toHasBeenSet = true; m_to = value; }
56 inline NetworkAclPortRange& WithTo(int value) { SetTo(value); return *this;}
58 private:
59
60 int m_from;
61 bool m_fromHasBeenSet = false;
62
63 int m_to;
64 bool m_toHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace FMS
69} // namespace Aws
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkAclPortRange & WithTo(int value)
NetworkAclPortRange & WithFrom(int value)
AWS_FMS_API NetworkAclPortRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API NetworkAclPortRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue