AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; }
49 inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); }
50 inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); }
51 inline NetworkPathComponent& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;}
52 inline NetworkPathComponent& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;}
53 inline NetworkPathComponent& WithComponentId(const char* value) { SetComponentId(value); return *this;}
55
57
61 inline const Aws::String& GetComponentType() const{ return m_componentType; }
62 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
63 inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; }
64 inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); }
65 inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); }
66 inline NetworkPathComponent& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;}
67 inline NetworkPathComponent& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;}
68 inline NetworkPathComponent& WithComponentType(const char* value) { SetComponentType(value); return *this;}
70
72
76 inline const NetworkHeader& GetEgress() const{ return m_egress; }
77 inline bool EgressHasBeenSet() const { return m_egressHasBeenSet; }
78 inline void SetEgress(const NetworkHeader& value) { m_egressHasBeenSet = true; m_egress = value; }
79 inline void SetEgress(NetworkHeader&& value) { m_egressHasBeenSet = true; m_egress = std::move(value); }
80 inline NetworkPathComponent& WithEgress(const NetworkHeader& value) { SetEgress(value); return *this;}
81 inline NetworkPathComponent& WithEgress(NetworkHeader&& value) { SetEgress(std::move(value)); return *this;}
83
85
89 inline const NetworkHeader& GetIngress() const{ return m_ingress; }
90 inline bool IngressHasBeenSet() const { return m_ingressHasBeenSet; }
91 inline void SetIngress(const NetworkHeader& value) { m_ingressHasBeenSet = true; m_ingress = value; }
92 inline void SetIngress(NetworkHeader&& value) { m_ingressHasBeenSet = true; m_ingress = std::move(value); }
93 inline NetworkPathComponent& WithIngress(const NetworkHeader& value) { SetIngress(value); return *this;}
94 inline NetworkPathComponent& WithIngress(NetworkHeader&& value) { SetIngress(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_componentId;
99 bool m_componentIdHasBeenSet = false;
100
101 Aws::String m_componentType;
102 bool m_componentTypeHasBeenSet = false;
103
104 NetworkHeader m_egress;
105 bool m_egressHasBeenSet = false;
106
107 NetworkHeader m_ingress;
108 bool m_ingressHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SecurityHub
113} // namespace Aws
AWS_SECURITYHUB_API NetworkPathComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkPathComponent & WithComponentType(const char *value)
NetworkPathComponent & WithComponentId(const Aws::String &value)
NetworkPathComponent & WithComponentType(Aws::String &&value)
NetworkPathComponent & WithIngress(NetworkHeader &&value)
NetworkPathComponent & WithEgress(const NetworkHeader &value)
NetworkPathComponent & WithComponentType(const Aws::String &value)
NetworkPathComponent & WithIngress(const NetworkHeader &value)
NetworkPathComponent & WithComponentId(const char *value)
NetworkPathComponent & WithEgress(NetworkHeader &&value)
NetworkPathComponent & WithComponentId(Aws::String &&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