AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DirectConnectGatewayAttachment.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/DirectConnectGatewayAttachmentState.h>
10#include <aws/directconnect/model/DirectConnectGatewayAttachmentType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DirectConnect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment();
40 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
48 inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
49 inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
50 inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
51 inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
56
58
61 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
62 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
63 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
64 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
65 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
68 inline DirectConnectGatewayAttachment& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
70
72
75 inline const Aws::String& GetVirtualInterfaceRegion() const{ return m_virtualInterfaceRegion; }
76 inline bool VirtualInterfaceRegionHasBeenSet() const { return m_virtualInterfaceRegionHasBeenSet; }
77 inline void SetVirtualInterfaceRegion(const Aws::String& value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion = value; }
78 inline void SetVirtualInterfaceRegion(Aws::String&& value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion = std::move(value); }
79 inline void SetVirtualInterfaceRegion(const char* value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion.assign(value); }
84
86
90 inline const Aws::String& GetVirtualInterfaceOwnerAccount() const{ return m_virtualInterfaceOwnerAccount; }
91 inline bool VirtualInterfaceOwnerAccountHasBeenSet() const { return m_virtualInterfaceOwnerAccountHasBeenSet; }
92 inline void SetVirtualInterfaceOwnerAccount(const Aws::String& value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount = value; }
93 inline void SetVirtualInterfaceOwnerAccount(Aws::String&& value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount = std::move(value); }
94 inline void SetVirtualInterfaceOwnerAccount(const char* value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount.assign(value); }
99
101
112 inline const DirectConnectGatewayAttachmentState& GetAttachmentState() const{ return m_attachmentState; }
113 inline bool AttachmentStateHasBeenSet() const { return m_attachmentStateHasBeenSet; }
114 inline void SetAttachmentState(const DirectConnectGatewayAttachmentState& value) { m_attachmentStateHasBeenSet = true; m_attachmentState = value; }
115 inline void SetAttachmentState(DirectConnectGatewayAttachmentState&& value) { m_attachmentStateHasBeenSet = true; m_attachmentState = std::move(value); }
119
121
124 inline const DirectConnectGatewayAttachmentType& GetAttachmentType() const{ return m_attachmentType; }
125 inline bool AttachmentTypeHasBeenSet() const { return m_attachmentTypeHasBeenSet; }
126 inline void SetAttachmentType(const DirectConnectGatewayAttachmentType& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = value; }
127 inline void SetAttachmentType(DirectConnectGatewayAttachmentType&& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = std::move(value); }
131
133
136 inline const Aws::String& GetStateChangeError() const{ return m_stateChangeError; }
137 inline bool StateChangeErrorHasBeenSet() const { return m_stateChangeErrorHasBeenSet; }
138 inline void SetStateChangeError(const Aws::String& value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError = value; }
139 inline void SetStateChangeError(Aws::String&& value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError = std::move(value); }
140 inline void SetStateChangeError(const char* value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError.assign(value); }
142 inline DirectConnectGatewayAttachment& WithStateChangeError(Aws::String&& value) { SetStateChangeError(std::move(value)); return *this;}
143 inline DirectConnectGatewayAttachment& WithStateChangeError(const char* value) { SetStateChangeError(value); return *this;}
145 private:
146
147 Aws::String m_directConnectGatewayId;
148 bool m_directConnectGatewayIdHasBeenSet = false;
149
150 Aws::String m_virtualInterfaceId;
151 bool m_virtualInterfaceIdHasBeenSet = false;
152
153 Aws::String m_virtualInterfaceRegion;
154 bool m_virtualInterfaceRegionHasBeenSet = false;
155
156 Aws::String m_virtualInterfaceOwnerAccount;
157 bool m_virtualInterfaceOwnerAccountHasBeenSet = false;
158
159 DirectConnectGatewayAttachmentState m_attachmentState;
160 bool m_attachmentStateHasBeenSet = false;
161
162 DirectConnectGatewayAttachmentType m_attachmentType;
163 bool m_attachmentTypeHasBeenSet = false;
164
165 Aws::String m_stateChangeError;
166 bool m_stateChangeErrorHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace DirectConnect
171} // namespace Aws
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(Aws::String &&value)
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const char *value)
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const Aws::String &value)
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const char *value)
DirectConnectGatewayAttachment & WithAttachmentState(const DirectConnectGatewayAttachmentState &value)
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const char *value)
void SetAttachmentType(const DirectConnectGatewayAttachmentType &value)
DirectConnectGatewayAttachment & WithVirtualInterfaceId(Aws::String &&value)
DirectConnectGatewayAttachment & WithStateChangeError(const Aws::String &value)
DirectConnectGatewayAttachment & WithAttachmentType(const DirectConnectGatewayAttachmentType &value)
DirectConnectGatewayAttachment & WithAttachmentState(DirectConnectGatewayAttachmentState &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const Aws::String &value)
DirectConnectGatewayAttachment & WithStateChangeError(const char *value)
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(Aws::String &&value)
DirectConnectGatewayAttachment & WithAttachmentType(DirectConnectGatewayAttachmentType &&value)
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const char *value)
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(Aws::String &&value)
const DirectConnectGatewayAttachmentState & GetAttachmentState() const
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const Aws::String &value)
DirectConnectGatewayAttachment & WithStateChangeError(Aws::String &&value)
void SetAttachmentState(const DirectConnectGatewayAttachmentState &value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentState(DirectConnectGatewayAttachmentState &&value)
AWS_DIRECTCONNECT_API DirectConnectGatewayAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentType(DirectConnectGatewayAttachmentType &&value)
const DirectConnectGatewayAttachmentType & GetAttachmentType() const
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue