AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayConnectPeerAssociation.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/TransitGatewayConnectPeerAssociationState.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 TransitGatewayConnectPeerAssociation();
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTransitGatewayConnectPeerArn() const{ return m_transitGatewayConnectPeerArn; }
47 inline bool TransitGatewayConnectPeerArnHasBeenSet() const { return m_transitGatewayConnectPeerArnHasBeenSet; }
48 inline void SetTransitGatewayConnectPeerArn(const Aws::String& value) { m_transitGatewayConnectPeerArnHasBeenSet = true; m_transitGatewayConnectPeerArn = value; }
49 inline void SetTransitGatewayConnectPeerArn(Aws::String&& value) { m_transitGatewayConnectPeerArnHasBeenSet = true; m_transitGatewayConnectPeerArn = std::move(value); }
50 inline void SetTransitGatewayConnectPeerArn(const char* value) { m_transitGatewayConnectPeerArnHasBeenSet = true; m_transitGatewayConnectPeerArn.assign(value); }
55
57
60 inline const Aws::String& GetGlobalNetworkId() const{ return m_globalNetworkId; }
61 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
62 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
63 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
64 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
67 inline TransitGatewayConnectPeerAssociation& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
69
71
74 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
75 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
76 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
77 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
78 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
79 inline TransitGatewayConnectPeerAssociation& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
80 inline TransitGatewayConnectPeerAssociation& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
81 inline TransitGatewayConnectPeerAssociation& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
83
85
88 inline const Aws::String& GetLinkId() const{ return m_linkId; }
89 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
90 inline void SetLinkId(const Aws::String& value) { m_linkIdHasBeenSet = true; m_linkId = value; }
91 inline void SetLinkId(Aws::String&& value) { m_linkIdHasBeenSet = true; m_linkId = std::move(value); }
92 inline void SetLinkId(const char* value) { m_linkIdHasBeenSet = true; m_linkId.assign(value); }
93 inline TransitGatewayConnectPeerAssociation& WithLinkId(const Aws::String& value) { SetLinkId(value); return *this;}
94 inline TransitGatewayConnectPeerAssociation& WithLinkId(Aws::String&& value) { SetLinkId(std::move(value)); return *this;}
95 inline TransitGatewayConnectPeerAssociation& WithLinkId(const char* value) { SetLinkId(value); return *this;}
97
99
102 inline const TransitGatewayConnectPeerAssociationState& GetState() const{ return m_state; }
103 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
104 inline void SetState(const TransitGatewayConnectPeerAssociationState& value) { m_stateHasBeenSet = true; m_state = value; }
105 inline void SetState(TransitGatewayConnectPeerAssociationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
109 private:
110
111 Aws::String m_transitGatewayConnectPeerArn;
112 bool m_transitGatewayConnectPeerArnHasBeenSet = false;
113
114 Aws::String m_globalNetworkId;
115 bool m_globalNetworkIdHasBeenSet = false;
116
117 Aws::String m_deviceId;
118 bool m_deviceIdHasBeenSet = false;
119
120 Aws::String m_linkId;
121 bool m_linkIdHasBeenSet = false;
122
124 bool m_stateHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace NetworkManager
129} // namespace Aws
TransitGatewayConnectPeerAssociation & WithGlobalNetworkId(const char *value)
TransitGatewayConnectPeerAssociation & WithLinkId(const char *value)
TransitGatewayConnectPeerAssociation & WithDeviceId(const char *value)
TransitGatewayConnectPeerAssociation & WithGlobalNetworkId(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
TransitGatewayConnectPeerAssociation & WithDeviceId(Aws::String &&value)
AWS_NETWORKMANAGER_API TransitGatewayConnectPeerAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayConnectPeerAssociation & WithTransitGatewayConnectPeerArn(const Aws::String &value)
TransitGatewayConnectPeerAssociation & WithLinkId(Aws::String &&value)
TransitGatewayConnectPeerAssociation & WithGlobalNetworkId(Aws::String &&value)
TransitGatewayConnectPeerAssociation & WithState(TransitGatewayConnectPeerAssociationState &&value)
TransitGatewayConnectPeerAssociation & WithState(const TransitGatewayConnectPeerAssociationState &value)
TransitGatewayConnectPeerAssociation & WithLinkId(const Aws::String &value)
TransitGatewayConnectPeerAssociation & WithTransitGatewayConnectPeerArn(Aws::String &&value)
void SetState(const TransitGatewayConnectPeerAssociationState &value)
TransitGatewayConnectPeerAssociation & WithTransitGatewayConnectPeerArn(const char *value)
AWS_NETWORKMANAGER_API TransitGatewayConnectPeerAssociation(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayConnectPeerAssociation & WithDeviceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue