AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TraversedComponent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkflowmonitor/NetworkFlowMonitor_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NetworkFlowMonitor {
20namespace Model {
21
29 public:
30 AWS_NETWORKFLOWMONITOR_API TraversedComponent() = default;
31 AWS_NETWORKFLOWMONITOR_API TraversedComponent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NETWORKFLOWMONITOR_API TraversedComponent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NETWORKFLOWMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetComponentId() const { return m_componentId; }
40 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
41 template <typename ComponentIdT = Aws::String>
42 void SetComponentId(ComponentIdT&& value) {
43 m_componentIdHasBeenSet = true;
44 m_componentId = std::forward<ComponentIdT>(value);
45 }
46 template <typename ComponentIdT = Aws::String>
47 TraversedComponent& WithComponentId(ComponentIdT&& value) {
48 SetComponentId(std::forward<ComponentIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetComponentType() const { return m_componentType; }
58 inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; }
59 template <typename ComponentTypeT = Aws::String>
60 void SetComponentType(ComponentTypeT&& value) {
61 m_componentTypeHasBeenSet = true;
62 m_componentType = std::forward<ComponentTypeT>(value);
63 }
64 template <typename ComponentTypeT = Aws::String>
65 TraversedComponent& WithComponentType(ComponentTypeT&& value) {
66 SetComponentType(std::forward<ComponentTypeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetComponentArn() const { return m_componentArn; }
76 inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; }
77 template <typename ComponentArnT = Aws::String>
78 void SetComponentArn(ComponentArnT&& value) {
79 m_componentArnHasBeenSet = true;
80 m_componentArn = std::forward<ComponentArnT>(value);
81 }
82 template <typename ComponentArnT = Aws::String>
83 TraversedComponent& WithComponentArn(ComponentArnT&& value) {
84 SetComponentArn(std::forward<ComponentArnT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetServiceName() const { return m_serviceName; }
94 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
95 template <typename ServiceNameT = Aws::String>
96 void SetServiceName(ServiceNameT&& value) {
97 m_serviceNameHasBeenSet = true;
98 m_serviceName = std::forward<ServiceNameT>(value);
99 }
100 template <typename ServiceNameT = Aws::String>
101 TraversedComponent& WithServiceName(ServiceNameT&& value) {
102 SetServiceName(std::forward<ServiceNameT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_componentId;
108
109 Aws::String m_componentType;
110
111 Aws::String m_componentArn;
112
113 Aws::String m_serviceName;
114 bool m_componentIdHasBeenSet = false;
115 bool m_componentTypeHasBeenSet = false;
116 bool m_componentArnHasBeenSet = false;
117 bool m_serviceNameHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace NetworkFlowMonitor
122} // namespace Aws
AWS_NETWORKFLOWMONITOR_API TraversedComponent()=default
TraversedComponent & WithComponentArn(ComponentArnT &&value)
AWS_NETWORKFLOWMONITOR_API TraversedComponent(Aws::Utils::Json::JsonView jsonValue)
TraversedComponent & WithComponentType(ComponentTypeT &&value)
AWS_NETWORKFLOWMONITOR_API TraversedComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
TraversedComponent & WithServiceName(ServiceNameT &&value)
AWS_NETWORKFLOWMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
TraversedComponent & WithComponentId(ComponentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue