AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayPeering.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Peering.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_NETWORKMANAGER_API TransitGatewayPeering();
36 AWS_NETWORKMANAGER_API TransitGatewayPeering(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Peering& GetPeering() const{ return m_peering; }
46 inline bool PeeringHasBeenSet() const { return m_peeringHasBeenSet; }
47 inline void SetPeering(const Peering& value) { m_peeringHasBeenSet = true; m_peering = value; }
48 inline void SetPeering(Peering&& value) { m_peeringHasBeenSet = true; m_peering = std::move(value); }
49 inline TransitGatewayPeering& WithPeering(const Peering& value) { SetPeering(value); return *this;}
50 inline TransitGatewayPeering& WithPeering(Peering&& value) { SetPeering(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetTransitGatewayArn() const{ return m_transitGatewayArn; }
58 inline bool TransitGatewayArnHasBeenSet() const { return m_transitGatewayArnHasBeenSet; }
59 inline void SetTransitGatewayArn(const Aws::String& value) { m_transitGatewayArnHasBeenSet = true; m_transitGatewayArn = value; }
60 inline void SetTransitGatewayArn(Aws::String&& value) { m_transitGatewayArnHasBeenSet = true; m_transitGatewayArn = std::move(value); }
61 inline void SetTransitGatewayArn(const char* value) { m_transitGatewayArnHasBeenSet = true; m_transitGatewayArn.assign(value); }
62 inline TransitGatewayPeering& WithTransitGatewayArn(const Aws::String& value) { SetTransitGatewayArn(value); return *this;}
63 inline TransitGatewayPeering& WithTransitGatewayArn(Aws::String&& value) { SetTransitGatewayArn(std::move(value)); return *this;}
64 inline TransitGatewayPeering& WithTransitGatewayArn(const char* value) { SetTransitGatewayArn(value); return *this;}
66
68
71 inline const Aws::String& GetTransitGatewayPeeringAttachmentId() const{ return m_transitGatewayPeeringAttachmentId; }
72 inline bool TransitGatewayPeeringAttachmentIdHasBeenSet() const { return m_transitGatewayPeeringAttachmentIdHasBeenSet; }
73 inline void SetTransitGatewayPeeringAttachmentId(const Aws::String& value) { m_transitGatewayPeeringAttachmentIdHasBeenSet = true; m_transitGatewayPeeringAttachmentId = value; }
74 inline void SetTransitGatewayPeeringAttachmentId(Aws::String&& value) { m_transitGatewayPeeringAttachmentIdHasBeenSet = true; m_transitGatewayPeeringAttachmentId = std::move(value); }
75 inline void SetTransitGatewayPeeringAttachmentId(const char* value) { m_transitGatewayPeeringAttachmentIdHasBeenSet = true; m_transitGatewayPeeringAttachmentId.assign(value); }
80 private:
81
82 Peering m_peering;
83 bool m_peeringHasBeenSet = false;
84
85 Aws::String m_transitGatewayArn;
86 bool m_transitGatewayArnHasBeenSet = false;
87
88 Aws::String m_transitGatewayPeeringAttachmentId;
89 bool m_transitGatewayPeeringAttachmentIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace NetworkManager
94} // namespace Aws
TransitGatewayPeering & WithTransitGatewayArn(const char *value)
TransitGatewayPeering & WithPeering(const Peering &value)
TransitGatewayPeering & WithTransitGatewayPeeringAttachmentId(const char *value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
TransitGatewayPeering & WithTransitGatewayPeeringAttachmentId(Aws::String &&value)
TransitGatewayPeering & WithPeering(Peering &&value)
TransitGatewayPeering & WithTransitGatewayArn(const Aws::String &value)
TransitGatewayPeering & WithTransitGatewayPeeringAttachmentId(const Aws::String &value)
AWS_NETWORKMANAGER_API TransitGatewayPeering(Aws::Utils::Json::JsonView jsonValue)
void SetTransitGatewayPeeringAttachmentId(const Aws::String &value)
TransitGatewayPeering & WithTransitGatewayArn(Aws::String &&value)
AWS_NETWORKMANAGER_API TransitGatewayPeering & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue