AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LinkAssociation.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/LinkAssociationState.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 NetworkManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_NETWORKMANAGER_API LinkAssociation() = default;
37 AWS_NETWORKMANAGER_API LinkAssociation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API LinkAssociation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
47 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
48 template<typename GlobalNetworkIdT = Aws::String>
49 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
50 template<typename GlobalNetworkIdT = Aws::String>
51 LinkAssociation& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
59 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
60 template<typename DeviceIdT = Aws::String>
61 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
62 template<typename DeviceIdT = Aws::String>
63 LinkAssociation& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetLinkId() const { return m_linkId; }
71 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
72 template<typename LinkIdT = Aws::String>
73 void SetLinkId(LinkIdT&& value) { m_linkIdHasBeenSet = true; m_linkId = std::forward<LinkIdT>(value); }
74 template<typename LinkIdT = Aws::String>
75 LinkAssociation& WithLinkId(LinkIdT&& value) { SetLinkId(std::forward<LinkIdT>(value)); return *this;}
77
79
82 inline LinkAssociationState GetLinkAssociationState() const { return m_linkAssociationState; }
83 inline bool LinkAssociationStateHasBeenSet() const { return m_linkAssociationStateHasBeenSet; }
84 inline void SetLinkAssociationState(LinkAssociationState value) { m_linkAssociationStateHasBeenSet = true; m_linkAssociationState = value; }
87 private:
88
89 Aws::String m_globalNetworkId;
90 bool m_globalNetworkIdHasBeenSet = false;
91
92 Aws::String m_deviceId;
93 bool m_deviceIdHasBeenSet = false;
94
95 Aws::String m_linkId;
96 bool m_linkIdHasBeenSet = false;
97
99 bool m_linkAssociationStateHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace NetworkManager
104} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue