AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntryDescription.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/NetworkAclEntry.h>
9#include <aws/fms/model/EntryType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FMS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FMS_API EntryDescription();
39
40
42
54 inline const NetworkAclEntry& GetEntryDetail() const{ return m_entryDetail; }
55 inline bool EntryDetailHasBeenSet() const { return m_entryDetailHasBeenSet; }
56 inline void SetEntryDetail(const NetworkAclEntry& value) { m_entryDetailHasBeenSet = true; m_entryDetail = value; }
57 inline void SetEntryDetail(NetworkAclEntry&& value) { m_entryDetailHasBeenSet = true; m_entryDetail = std::move(value); }
58 inline EntryDescription& WithEntryDetail(const NetworkAclEntry& value) { SetEntryDetail(value); return *this;}
59 inline EntryDescription& WithEntryDetail(NetworkAclEntry&& value) { SetEntryDetail(std::move(value)); return *this;}
61
63
68 inline int GetEntryRuleNumber() const{ return m_entryRuleNumber; }
69 inline bool EntryRuleNumberHasBeenSet() const { return m_entryRuleNumberHasBeenSet; }
70 inline void SetEntryRuleNumber(int value) { m_entryRuleNumberHasBeenSet = true; m_entryRuleNumber = value; }
71 inline EntryDescription& WithEntryRuleNumber(int value) { SetEntryRuleNumber(value); return *this;}
73
75
80 inline const EntryType& GetEntryType() const{ return m_entryType; }
81 inline bool EntryTypeHasBeenSet() const { return m_entryTypeHasBeenSet; }
82 inline void SetEntryType(const EntryType& value) { m_entryTypeHasBeenSet = true; m_entryType = value; }
83 inline void SetEntryType(EntryType&& value) { m_entryTypeHasBeenSet = true; m_entryType = std::move(value); }
84 inline EntryDescription& WithEntryType(const EntryType& value) { SetEntryType(value); return *this;}
85 inline EntryDescription& WithEntryType(EntryType&& value) { SetEntryType(std::move(value)); return *this;}
87 private:
88
89 NetworkAclEntry m_entryDetail;
90 bool m_entryDetailHasBeenSet = false;
91
92 int m_entryRuleNumber;
93 bool m_entryRuleNumberHasBeenSet = false;
94
95 EntryType m_entryType;
96 bool m_entryTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace FMS
101} // namespace Aws
EntryDescription & WithEntryDetail(const NetworkAclEntry &value)
void SetEntryType(const EntryType &value)
void SetEntryDetail(const NetworkAclEntry &value)
AWS_FMS_API EntryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
EntryDescription & WithEntryRuleNumber(int value)
EntryDescription & WithEntryType(const EntryType &value)
const EntryType & GetEntryType() const
bool EntryTypeHasBeenSet() const
void SetEntryType(EntryType &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const NetworkAclEntry & GetEntryDetail() const
int GetEntryRuleNumber() const
bool EntryRuleNumberHasBeenSet() const
void SetEntryDetail(NetworkAclEntry &&value)
AWS_FMS_API EntryDescription()
EntryDescription & WithEntryType(EntryType &&value)
void SetEntryRuleNumber(int value)
EntryDescription & WithEntryDetail(NetworkAclEntry &&value)
bool EntryDetailHasBeenSet() const
AWS_FMS_API EntryDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue