AWS SDK for C++  1.9.156
AWS SDK for C++
DirectConnectGatewayAttachment.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectConnect
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
47 
51  inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
52 
56  inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
57 
61  inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
62 
66  inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
67 
71  inline DirectConnectGatewayAttachment& WithDirectConnectGatewayId(const Aws::String& value) { SetDirectConnectGatewayId(value); return *this;}
72 
76  inline DirectConnectGatewayAttachment& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;}
77 
81  inline DirectConnectGatewayAttachment& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;}
82 
83 
87  inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
88 
92  inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
93 
97  inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
98 
102  inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
103 
107  inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
108 
112  inline DirectConnectGatewayAttachment& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;}
113 
117  inline DirectConnectGatewayAttachment& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
118 
122  inline DirectConnectGatewayAttachment& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
123 
124 
128  inline const Aws::String& GetVirtualInterfaceRegion() const{ return m_virtualInterfaceRegion; }
129 
133  inline bool VirtualInterfaceRegionHasBeenSet() const { return m_virtualInterfaceRegionHasBeenSet; }
134 
138  inline void SetVirtualInterfaceRegion(const Aws::String& value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion = value; }
139 
143  inline void SetVirtualInterfaceRegion(Aws::String&& value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion = std::move(value); }
144 
148  inline void SetVirtualInterfaceRegion(const char* value) { m_virtualInterfaceRegionHasBeenSet = true; m_virtualInterfaceRegion.assign(value); }
149 
153  inline DirectConnectGatewayAttachment& WithVirtualInterfaceRegion(const Aws::String& value) { SetVirtualInterfaceRegion(value); return *this;}
154 
158  inline DirectConnectGatewayAttachment& WithVirtualInterfaceRegion(Aws::String&& value) { SetVirtualInterfaceRegion(std::move(value)); return *this;}
159 
163  inline DirectConnectGatewayAttachment& WithVirtualInterfaceRegion(const char* value) { SetVirtualInterfaceRegion(value); return *this;}
164 
165 
170  inline const Aws::String& GetVirtualInterfaceOwnerAccount() const{ return m_virtualInterfaceOwnerAccount; }
171 
176  inline bool VirtualInterfaceOwnerAccountHasBeenSet() const { return m_virtualInterfaceOwnerAccountHasBeenSet; }
177 
182  inline void SetVirtualInterfaceOwnerAccount(const Aws::String& value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount = value; }
183 
188  inline void SetVirtualInterfaceOwnerAccount(Aws::String&& value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount = std::move(value); }
189 
194  inline void SetVirtualInterfaceOwnerAccount(const char* value) { m_virtualInterfaceOwnerAccountHasBeenSet = true; m_virtualInterfaceOwnerAccount.assign(value); }
195 
200  inline DirectConnectGatewayAttachment& WithVirtualInterfaceOwnerAccount(const Aws::String& value) { SetVirtualInterfaceOwnerAccount(value); return *this;}
201 
206  inline DirectConnectGatewayAttachment& WithVirtualInterfaceOwnerAccount(Aws::String&& value) { SetVirtualInterfaceOwnerAccount(std::move(value)); return *this;}
207 
212  inline DirectConnectGatewayAttachment& WithVirtualInterfaceOwnerAccount(const char* value) { SetVirtualInterfaceOwnerAccount(value); return *this;}
213 
214 
226  inline const DirectConnectGatewayAttachmentState& GetAttachmentState() const{ return m_attachmentState; }
227 
239  inline bool AttachmentStateHasBeenSet() const { return m_attachmentStateHasBeenSet; }
240 
252  inline void SetAttachmentState(const DirectConnectGatewayAttachmentState& value) { m_attachmentStateHasBeenSet = true; m_attachmentState = value; }
253 
265  inline void SetAttachmentState(DirectConnectGatewayAttachmentState&& value) { m_attachmentStateHasBeenSet = true; m_attachmentState = std::move(value); }
266 
278  inline DirectConnectGatewayAttachment& WithAttachmentState(const DirectConnectGatewayAttachmentState& value) { SetAttachmentState(value); return *this;}
279 
291  inline DirectConnectGatewayAttachment& WithAttachmentState(DirectConnectGatewayAttachmentState&& value) { SetAttachmentState(std::move(value)); return *this;}
292 
293 
297  inline const DirectConnectGatewayAttachmentType& GetAttachmentType() const{ return m_attachmentType; }
298 
302  inline bool AttachmentTypeHasBeenSet() const { return m_attachmentTypeHasBeenSet; }
303 
307  inline void SetAttachmentType(const DirectConnectGatewayAttachmentType& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = value; }
308 
312  inline void SetAttachmentType(DirectConnectGatewayAttachmentType&& value) { m_attachmentTypeHasBeenSet = true; m_attachmentType = std::move(value); }
313 
317  inline DirectConnectGatewayAttachment& WithAttachmentType(const DirectConnectGatewayAttachmentType& value) { SetAttachmentType(value); return *this;}
318 
322  inline DirectConnectGatewayAttachment& WithAttachmentType(DirectConnectGatewayAttachmentType&& value) { SetAttachmentType(std::move(value)); return *this;}
323 
324 
328  inline const Aws::String& GetStateChangeError() const{ return m_stateChangeError; }
329 
333  inline bool StateChangeErrorHasBeenSet() const { return m_stateChangeErrorHasBeenSet; }
334 
338  inline void SetStateChangeError(const Aws::String& value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError = value; }
339 
343  inline void SetStateChangeError(Aws::String&& value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError = std::move(value); }
344 
348  inline void SetStateChangeError(const char* value) { m_stateChangeErrorHasBeenSet = true; m_stateChangeError.assign(value); }
349 
353  inline DirectConnectGatewayAttachment& WithStateChangeError(const Aws::String& value) { SetStateChangeError(value); return *this;}
354 
358  inline DirectConnectGatewayAttachment& WithStateChangeError(Aws::String&& value) { SetStateChangeError(std::move(value)); return *this;}
359 
363  inline DirectConnectGatewayAttachment& WithStateChangeError(const char* value) { SetStateChangeError(value); return *this;}
364 
365  private:
366 
367  Aws::String m_directConnectGatewayId;
368  bool m_directConnectGatewayIdHasBeenSet;
369 
370  Aws::String m_virtualInterfaceId;
371  bool m_virtualInterfaceIdHasBeenSet;
372 
373  Aws::String m_virtualInterfaceRegion;
374  bool m_virtualInterfaceRegionHasBeenSet;
375 
376  Aws::String m_virtualInterfaceOwnerAccount;
377  bool m_virtualInterfaceOwnerAccountHasBeenSet;
378 
379  DirectConnectGatewayAttachmentState m_attachmentState;
380  bool m_attachmentStateHasBeenSet;
381 
382  DirectConnectGatewayAttachmentType m_attachmentType;
383  bool m_attachmentTypeHasBeenSet;
384 
385  Aws::String m_stateChangeError;
386  bool m_stateChangeErrorHasBeenSet;
387  };
388 
389 } // namespace Model
390 } // namespace DirectConnect
391 } // namespace Aws
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:56
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::DirectConnectGatewayAttachment
DirectConnectGatewayAttachment(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceId
void SetVirtualInterfaceId(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:102
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetVirtualInterfaceId
const Aws::String & GetVirtualInterfaceId() const
Definition: DirectConnectGatewayAttachment.h:87
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetAttachmentState
void SetAttachmentState(DirectConnectGatewayAttachmentState &&value)
Definition: DirectConnectGatewayAttachment.h:265
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceId
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:112
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceRegion
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:153
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithStateChangeError
DirectConnectGatewayAttachment & WithStateChangeError(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:358
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceOwnerAccount
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const char *value)
Definition: DirectConnectGatewayAttachment.h:212
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceRegion
void SetVirtualInterfaceRegion(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:143
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceOwnerAccount
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:200
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetAttachmentType
const DirectConnectGatewayAttachmentType & GetAttachmentType() const
Definition: DirectConnectGatewayAttachment.h:297
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::VirtualInterfaceIdHasBeenSet
bool VirtualInterfaceIdHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:92
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithStateChangeError
DirectConnectGatewayAttachment & WithStateChangeError(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:353
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceRegion
void SetVirtualInterfaceRegion(const char *value)
Definition: DirectConnectGatewayAttachment.h:148
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::AttachmentTypeHasBeenSet
bool AttachmentTypeHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:302
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetAttachmentState
void SetAttachmentState(const DirectConnectGatewayAttachmentState &value)
Definition: DirectConnectGatewayAttachment.h:252
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetStateChangeError
void SetStateChangeError(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:338
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceRegion
void SetVirtualInterfaceRegion(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:138
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceOwnerAccount
void SetVirtualInterfaceOwnerAccount(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:188
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::AttachmentStateHasBeenSet
bool AttachmentStateHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:239
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const char *value)
Definition: DirectConnectGatewayAttachment.h:66
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithStateChangeError
DirectConnectGatewayAttachment & WithStateChangeError(const char *value)
Definition: DirectConnectGatewayAttachment.h:363
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::StateChangeErrorHasBeenSet
bool StateChangeErrorHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:333
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::DirectConnectGatewayAttachment
DirectConnectGatewayAttachment()
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceRegion
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(const char *value)
Definition: DirectConnectGatewayAttachment.h:163
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithAttachmentState
DirectConnectGatewayAttachment & WithAttachmentState(const DirectConnectGatewayAttachmentState &value)
Definition: DirectConnectGatewayAttachment.h:278
Aws::DirectConnect::Model::DirectConnectGatewayAttachmentType
DirectConnectGatewayAttachmentType
Definition: DirectConnectGatewayAttachmentType.h:17
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithDirectConnectGatewayId
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const char *value)
Definition: DirectConnectGatewayAttachment.h:81
DirectConnectGatewayAttachmentType.h
Aws::DirectConnect::Model::DirectConnectGatewayAttachmentState
DirectConnectGatewayAttachmentState
Definition: DirectConnectGatewayAttachmentState.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceId
DirectConnectGatewayAttachment & WithVirtualInterfaceId(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:117
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::operator=
DirectConnectGatewayAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectConnect::Model::DirectConnectGatewayAttachment
Definition: DirectConnectGatewayAttachment.h:35
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceOwnerAccount
void SetVirtualInterfaceOwnerAccount(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:182
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithDirectConnectGatewayId
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:76
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetAttachmentType
void SetAttachmentType(const DirectConnectGatewayAttachmentType &value)
Definition: DirectConnectGatewayAttachment.h:307
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetStateChangeError
const Aws::String & GetStateChangeError() const
Definition: DirectConnectGatewayAttachment.h:328
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:61
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceOwnerAccount
DirectConnectGatewayAttachment & WithVirtualInterfaceOwnerAccount(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:206
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetAttachmentType
void SetAttachmentType(DirectConnectGatewayAttachmentType &&value)
Definition: DirectConnectGatewayAttachment.h:312
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceId
void SetVirtualInterfaceId(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:97
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceOwnerAccount
void SetVirtualInterfaceOwnerAccount(const char *value)
Definition: DirectConnectGatewayAttachment.h:194
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithAttachmentState
DirectConnectGatewayAttachment & WithAttachmentState(DirectConnectGatewayAttachmentState &&value)
Definition: DirectConnectGatewayAttachment.h:291
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetStateChangeError
void SetStateChangeError(const char *value)
Definition: DirectConnectGatewayAttachment.h:348
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::VirtualInterfaceRegionHasBeenSet
bool VirtualInterfaceRegionHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:133
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetVirtualInterfaceRegion
const Aws::String & GetVirtualInterfaceRegion() const
Definition: DirectConnectGatewayAttachment.h:128
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::VirtualInterfaceOwnerAccountHasBeenSet
bool VirtualInterfaceOwnerAccountHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:176
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DirectConnectGatewayAttachmentState.h
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetAttachmentState
const DirectConnectGatewayAttachmentState & GetAttachmentState() const
Definition: DirectConnectGatewayAttachment.h:226
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetVirtualInterfaceOwnerAccount
const Aws::String & GetVirtualInterfaceOwnerAccount() const
Definition: DirectConnectGatewayAttachment.h:170
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceId
DirectConnectGatewayAttachment & WithVirtualInterfaceId(const char *value)
Definition: DirectConnectGatewayAttachment.h:122
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetStateChangeError
void SetStateChangeError(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:343
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::SetVirtualInterfaceId
void SetVirtualInterfaceId(const char *value)
Definition: DirectConnectGatewayAttachment.h:107
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithAttachmentType
DirectConnectGatewayAttachment & WithAttachmentType(DirectConnectGatewayAttachmentType &&value)
Definition: DirectConnectGatewayAttachment.h:322
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::DirectConnectGatewayIdHasBeenSet
bool DirectConnectGatewayIdHasBeenSet() const
Definition: DirectConnectGatewayAttachment.h:51
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithVirtualInterfaceRegion
DirectConnectGatewayAttachment & WithVirtualInterfaceRegion(Aws::String &&value)
Definition: DirectConnectGatewayAttachment.h:158
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithAttachmentType
DirectConnectGatewayAttachment & WithAttachmentType(const DirectConnectGatewayAttachmentType &value)
Definition: DirectConnectGatewayAttachment.h:317
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::GetDirectConnectGatewayId
const Aws::String & GetDirectConnectGatewayId() const
Definition: DirectConnectGatewayAttachment.h:46
Aws::DirectConnect::Model::DirectConnectGatewayAttachment::WithDirectConnectGatewayId
DirectConnectGatewayAttachment & WithDirectConnectGatewayId(const Aws::String &value)
Definition: DirectConnectGatewayAttachment.h:71