AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NetworkPathComponent.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/NetworkHeader.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 SecurityHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYHUB_API NetworkPathComponent() = default;
36 AWS_SECURITYHUB_API NetworkPathComponent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetComponentId() const { return m_componentId; }
47 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
48 template<typename ComponentIdT = Aws::String>
49 void SetComponentId(ComponentIdT&& value) { m_componentIdHasBeenSet = true; m_componentId = std::forward<ComponentIdT>(value); }
50 template<typename ComponentIdT = Aws::String>
51 NetworkPathComponent& WithComponentId(ComponentIdT&& value) { SetComponentId(std::forward<ComponentIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetComponentType() const { return m_componentType; }
60 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
61 template<typename ComponentTypeT = Aws::String>
62 void SetComponentType(ComponentTypeT&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::forward<ComponentTypeT>(value); }
63 template<typename ComponentTypeT = Aws::String>
64 NetworkPathComponent& WithComponentType(ComponentTypeT&& value) { SetComponentType(std::forward<ComponentTypeT>(value)); return *this;}
66
68
72 inline const NetworkHeader& GetEgress() const { return m_egress; }
73 inline bool EgressHasBeenSet() const { return m_egressHasBeenSet; }
74 template<typename EgressT = NetworkHeader>
75 void SetEgress(EgressT&& value) { m_egressHasBeenSet = true; m_egress = std::forward<EgressT>(value); }
76 template<typename EgressT = NetworkHeader>
77 NetworkPathComponent& WithEgress(EgressT&& value) { SetEgress(std::forward<EgressT>(value)); return *this;}
79
81
85 inline const NetworkHeader& GetIngress() const { return m_ingress; }
86 inline bool IngressHasBeenSet() const { return m_ingressHasBeenSet; }
87 template<typename IngressT = NetworkHeader>
88 void SetIngress(IngressT&& value) { m_ingressHasBeenSet = true; m_ingress = std::forward<IngressT>(value); }
89 template<typename IngressT = NetworkHeader>
90 NetworkPathComponent& WithIngress(IngressT&& value) { SetIngress(std::forward<IngressT>(value)); return *this;}
92 private:
93
94 Aws::String m_componentId;
95 bool m_componentIdHasBeenSet = false;
96
97 Aws::String m_componentType;
98 bool m_componentTypeHasBeenSet = false;
99
100 NetworkHeader m_egress;
101 bool m_egressHasBeenSet = false;
102
103 NetworkHeader m_ingress;
104 bool m_ingressHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SecurityHub
109} // namespace Aws
AWS_SECURITYHUB_API NetworkPathComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkPathComponent & WithEgress(EgressT &&value)
NetworkPathComponent & WithComponentType(ComponentTypeT &&value)
AWS_SECURITYHUB_API NetworkPathComponent()=default
NetworkPathComponent & WithComponentId(ComponentIdT &&value)
NetworkPathComponent & WithIngress(IngressT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API NetworkPathComponent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue