AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TransitGatewayRouteTableAttachment.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Attachment.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
34 {
35 public:
36 AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment() = default;
39 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Attachment& GetAttachment() const { return m_attachment; }
45 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
46 template<typename AttachmentT = Attachment>
47 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet = true; m_attachment = std::forward<AttachmentT>(value); }
48 template<typename AttachmentT = Attachment>
49 TransitGatewayRouteTableAttachment& WithAttachment(AttachmentT&& value) { SetAttachment(std::forward<AttachmentT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPeeringId() const { return m_peeringId; }
57 inline bool PeeringIdHasBeenSet() const { return m_peeringIdHasBeenSet; }
58 template<typename PeeringIdT = Aws::String>
59 void SetPeeringId(PeeringIdT&& value) { m_peeringIdHasBeenSet = true; m_peeringId = std::forward<PeeringIdT>(value); }
60 template<typename PeeringIdT = Aws::String>
61 TransitGatewayRouteTableAttachment& WithPeeringId(PeeringIdT&& value) { SetPeeringId(std::forward<PeeringIdT>(value)); return *this;}
63
65
70 inline const Aws::String& GetTransitGatewayRouteTableArn() const { return m_transitGatewayRouteTableArn; }
71 inline bool TransitGatewayRouteTableArnHasBeenSet() const { return m_transitGatewayRouteTableArnHasBeenSet; }
72 template<typename TransitGatewayRouteTableArnT = Aws::String>
73 void SetTransitGatewayRouteTableArn(TransitGatewayRouteTableArnT&& value) { m_transitGatewayRouteTableArnHasBeenSet = true; m_transitGatewayRouteTableArn = std::forward<TransitGatewayRouteTableArnT>(value); }
74 template<typename TransitGatewayRouteTableArnT = Aws::String>
75 TransitGatewayRouteTableAttachment& WithTransitGatewayRouteTableArn(TransitGatewayRouteTableArnT&& value) { SetTransitGatewayRouteTableArn(std::forward<TransitGatewayRouteTableArnT>(value)); return *this;}
77 private:
78
79 Attachment m_attachment;
80 bool m_attachmentHasBeenSet = false;
81
82 Aws::String m_peeringId;
83 bool m_peeringIdHasBeenSet = false;
84
85 Aws::String m_transitGatewayRouteTableArn;
86 bool m_transitGatewayRouteTableArnHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace NetworkManager
91} // namespace Aws
TransitGatewayRouteTableAttachment & WithTransitGatewayRouteTableArn(TransitGatewayRouteTableArnT &&value)
AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayRouteTableAttachment & WithPeeringId(PeeringIdT &&value)
TransitGatewayRouteTableAttachment & WithAttachment(AttachmentT &&value)
AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment()=default
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue