AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttachment(const Attachment& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
47 inline void SetAttachment(Attachment&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
48 inline TransitGatewayRouteTableAttachment& WithAttachment(const Attachment& value) { SetAttachment(value); return *this;}
49 inline TransitGatewayRouteTableAttachment& WithAttachment(Attachment&& value) { SetAttachment(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetPeeringId() const{ return m_peeringId; }
57 inline bool PeeringIdHasBeenSet() const { return m_peeringIdHasBeenSet; }
58 inline void SetPeeringId(const Aws::String& value) { m_peeringIdHasBeenSet = true; m_peeringId = value; }
59 inline void SetPeeringId(Aws::String&& value) { m_peeringIdHasBeenSet = true; m_peeringId = std::move(value); }
60 inline void SetPeeringId(const char* value) { m_peeringIdHasBeenSet = true; m_peeringId.assign(value); }
61 inline TransitGatewayRouteTableAttachment& WithPeeringId(const Aws::String& value) { SetPeeringId(value); return *this;}
62 inline TransitGatewayRouteTableAttachment& WithPeeringId(Aws::String&& value) { SetPeeringId(std::move(value)); return *this;}
63 inline TransitGatewayRouteTableAttachment& WithPeeringId(const char* value) { SetPeeringId(value); return *this;}
65
67
72 inline const Aws::String& GetTransitGatewayRouteTableArn() const{ return m_transitGatewayRouteTableArn; }
73 inline bool TransitGatewayRouteTableArnHasBeenSet() const { return m_transitGatewayRouteTableArnHasBeenSet; }
74 inline void SetTransitGatewayRouteTableArn(const Aws::String& value) { m_transitGatewayRouteTableArnHasBeenSet = true; m_transitGatewayRouteTableArn = value; }
75 inline void SetTransitGatewayRouteTableArn(Aws::String&& value) { m_transitGatewayRouteTableArnHasBeenSet = true; m_transitGatewayRouteTableArn = std::move(value); }
76 inline void SetTransitGatewayRouteTableArn(const char* value) { m_transitGatewayRouteTableArnHasBeenSet = true; m_transitGatewayRouteTableArn.assign(value); }
81 private:
82
83 Attachment m_attachment;
84 bool m_attachmentHasBeenSet = false;
85
86 Aws::String m_peeringId;
87 bool m_peeringIdHasBeenSet = false;
88
89 Aws::String m_transitGatewayRouteTableArn;
90 bool m_transitGatewayRouteTableArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace NetworkManager
95} // namespace Aws
TransitGatewayRouteTableAttachment & WithAttachment(const Attachment &value)
AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayRouteTableAttachment & WithTransitGatewayRouteTableArn(Aws::String &&value)
TransitGatewayRouteTableAttachment & WithTransitGatewayRouteTableArn(const char *value)
TransitGatewayRouteTableAttachment & WithPeeringId(const Aws::String &value)
TransitGatewayRouteTableAttachment & WithTransitGatewayRouteTableArn(const Aws::String &value)
TransitGatewayRouteTableAttachment & WithAttachment(Attachment &&value)
AWS_NETWORKMANAGER_API TransitGatewayRouteTableAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
TransitGatewayRouteTableAttachment & WithPeeringId(Aws::String &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
TransitGatewayRouteTableAttachment & WithPeeringId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue