AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
49 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
50 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
51 inline LinkAssociation& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
52 inline LinkAssociation& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
53 inline LinkAssociation& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
55
57
60 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
61 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
62 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
63 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
64 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
65 inline LinkAssociation& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
66 inline LinkAssociation& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
67 inline LinkAssociation& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
69
71
74 inline const Aws::String& GetLinkId() const{ return m_linkId; }
75 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
76 inline void SetLinkId(const Aws::String& value) { m_linkIdHasBeenSet = true; m_linkId = value; }
77 inline void SetLinkId(Aws::String&& value) { m_linkIdHasBeenSet = true; m_linkId = std::move(value); }
78 inline void SetLinkId(const char* value) { m_linkIdHasBeenSet = true; m_linkId.assign(value); }
79 inline LinkAssociation& WithLinkId(const Aws::String& value) { SetLinkId(value); return *this;}
80 inline LinkAssociation& WithLinkId(Aws::String&& value) { SetLinkId(std::move(value)); return *this;}
81 inline LinkAssociation& WithLinkId(const char* value) { SetLinkId(value); return *this;}
83
85
88 inline const LinkAssociationState& GetLinkAssociationState() const{ return m_linkAssociationState; }
89 inline bool LinkAssociationStateHasBeenSet() const { return m_linkAssociationStateHasBeenSet; }
90 inline void SetLinkAssociationState(const LinkAssociationState& value) { m_linkAssociationStateHasBeenSet = true; m_linkAssociationState = value; }
91 inline void SetLinkAssociationState(LinkAssociationState&& value) { m_linkAssociationStateHasBeenSet = true; m_linkAssociationState = std::move(value); }
93 inline LinkAssociation& WithLinkAssociationState(LinkAssociationState&& value) { SetLinkAssociationState(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_globalNetworkId;
98 bool m_globalNetworkIdHasBeenSet = false;
99
100 Aws::String m_deviceId;
101 bool m_deviceIdHasBeenSet = false;
102
103 Aws::String m_linkId;
104 bool m_linkIdHasBeenSet = false;
105
106 LinkAssociationState m_linkAssociationState;
107 bool m_linkAssociationStateHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace NetworkManager
112} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue