/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a core network Connect peer.See Also:
AWS
* API Reference
The ID of a core network.
*/ inline const Aws::String& GetCoreNetworkId() const{ return m_coreNetworkId; } /** *The ID of a core network.
*/ inline bool CoreNetworkIdHasBeenSet() const { return m_coreNetworkIdHasBeenSet; } /** *The ID of a core network.
*/ inline void SetCoreNetworkId(const Aws::String& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = value; } /** *The ID of a core network.
*/ inline void SetCoreNetworkId(Aws::String&& value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId = std::move(value); } /** *The ID of a core network.
*/ inline void SetCoreNetworkId(const char* value) { m_coreNetworkIdHasBeenSet = true; m_coreNetworkId.assign(value); } /** *The ID of a core network.
*/ inline ConnectPeer& WithCoreNetworkId(const Aws::String& value) { SetCoreNetworkId(value); return *this;} /** *The ID of a core network.
*/ inline ConnectPeer& WithCoreNetworkId(Aws::String&& value) { SetCoreNetworkId(std::move(value)); return *this;} /** *The ID of a core network.
*/ inline ConnectPeer& WithCoreNetworkId(const char* value) { SetCoreNetworkId(value); return *this;} /** *The ID of the attachment to connect.
*/ inline const Aws::String& GetConnectAttachmentId() const{ return m_connectAttachmentId; } /** *The ID of the attachment to connect.
*/ inline bool ConnectAttachmentIdHasBeenSet() const { return m_connectAttachmentIdHasBeenSet; } /** *The ID of the attachment to connect.
*/ inline void SetConnectAttachmentId(const Aws::String& value) { m_connectAttachmentIdHasBeenSet = true; m_connectAttachmentId = value; } /** *The ID of the attachment to connect.
*/ inline void SetConnectAttachmentId(Aws::String&& value) { m_connectAttachmentIdHasBeenSet = true; m_connectAttachmentId = std::move(value); } /** *The ID of the attachment to connect.
*/ inline void SetConnectAttachmentId(const char* value) { m_connectAttachmentIdHasBeenSet = true; m_connectAttachmentId.assign(value); } /** *The ID of the attachment to connect.
*/ inline ConnectPeer& WithConnectAttachmentId(const Aws::String& value) { SetConnectAttachmentId(value); return *this;} /** *The ID of the attachment to connect.
*/ inline ConnectPeer& WithConnectAttachmentId(Aws::String&& value) { SetConnectAttachmentId(std::move(value)); return *this;} /** *The ID of the attachment to connect.
*/ inline ConnectPeer& WithConnectAttachmentId(const char* value) { SetConnectAttachmentId(value); return *this;} /** *The ID of the Connect peer.
*/ inline const Aws::String& GetConnectPeerId() const{ return m_connectPeerId; } /** *The ID of the Connect peer.
*/ inline bool ConnectPeerIdHasBeenSet() const { return m_connectPeerIdHasBeenSet; } /** *The ID of the Connect peer.
*/ inline void SetConnectPeerId(const Aws::String& value) { m_connectPeerIdHasBeenSet = true; m_connectPeerId = value; } /** *The ID of the Connect peer.
*/ inline void SetConnectPeerId(Aws::String&& value) { m_connectPeerIdHasBeenSet = true; m_connectPeerId = std::move(value); } /** *The ID of the Connect peer.
*/ inline void SetConnectPeerId(const char* value) { m_connectPeerIdHasBeenSet = true; m_connectPeerId.assign(value); } /** *The ID of the Connect peer.
*/ inline ConnectPeer& WithConnectPeerId(const Aws::String& value) { SetConnectPeerId(value); return *this;} /** *The ID of the Connect peer.
*/ inline ConnectPeer& WithConnectPeerId(Aws::String&& value) { SetConnectPeerId(std::move(value)); return *this;} /** *The ID of the Connect peer.
*/ inline ConnectPeer& WithConnectPeerId(const char* value) { SetConnectPeerId(value); return *this;} /** *The Connect peer Regions where edges are located.
*/ inline const Aws::String& GetEdgeLocation() const{ return m_edgeLocation; } /** *The Connect peer Regions where edges are located.
*/ inline bool EdgeLocationHasBeenSet() const { return m_edgeLocationHasBeenSet; } /** *The Connect peer Regions where edges are located.
*/ inline void SetEdgeLocation(const Aws::String& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = value; } /** *The Connect peer Regions where edges are located.
*/ inline void SetEdgeLocation(Aws::String&& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = std::move(value); } /** *The Connect peer Regions where edges are located.
*/ inline void SetEdgeLocation(const char* value) { m_edgeLocationHasBeenSet = true; m_edgeLocation.assign(value); } /** *The Connect peer Regions where edges are located.
*/ inline ConnectPeer& WithEdgeLocation(const Aws::String& value) { SetEdgeLocation(value); return *this;} /** *The Connect peer Regions where edges are located.
*/ inline ConnectPeer& WithEdgeLocation(Aws::String&& value) { SetEdgeLocation(std::move(value)); return *this;} /** *The Connect peer Regions where edges are located.
*/ inline ConnectPeer& WithEdgeLocation(const char* value) { SetEdgeLocation(value); return *this;} /** *The state of the Connect peer.
*/ inline const ConnectPeerState& GetState() const{ return m_state; } /** *The state of the Connect peer.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the Connect peer.
*/ inline void SetState(const ConnectPeerState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the Connect peer.
*/ inline void SetState(ConnectPeerState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the Connect peer.
*/ inline ConnectPeer& WithState(const ConnectPeerState& value) { SetState(value); return *this;} /** *The state of the Connect peer.
*/ inline ConnectPeer& WithState(ConnectPeerState&& value) { SetState(std::move(value)); return *this;} /** *The timestamp when the Connect peer was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The timestamp when the Connect peer was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The timestamp when the Connect peer was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The timestamp when the Connect peer was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The timestamp when the Connect peer was created.
*/ inline ConnectPeer& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The timestamp when the Connect peer was created.
*/ inline ConnectPeer& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The configuration of the Connect peer.
*/ inline const ConnectPeerConfiguration& GetConfiguration() const{ return m_configuration; } /** *The configuration of the Connect peer.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *The configuration of the Connect peer.
*/ inline void SetConfiguration(const ConnectPeerConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *The configuration of the Connect peer.
*/ inline void SetConfiguration(ConnectPeerConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *The configuration of the Connect peer.
*/ inline ConnectPeer& WithConfiguration(const ConnectPeerConfiguration& value) { SetConfiguration(value); return *this;} /** *The configuration of the Connect peer.
*/ inline ConnectPeer& WithConfiguration(ConnectPeerConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *The list of key-value tags associated with the Connect peer.
*/ inline const Aws::VectorThe list of key-value tags associated with the Connect peer.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of key-value tags associated with the Connect peer.
*/ inline void SetTags(const Aws::VectorThe list of key-value tags associated with the Connect peer.
*/ inline void SetTags(Aws::VectorThe list of key-value tags associated with the Connect peer.
*/ inline ConnectPeer& WithTags(const Aws::VectorThe list of key-value tags associated with the Connect peer.
*/ inline ConnectPeer& WithTags(Aws::VectorThe list of key-value tags associated with the Connect peer.
*/ inline ConnectPeer& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of key-value tags associated with the Connect peer.
*/ inline ConnectPeer& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_coreNetworkId; bool m_coreNetworkIdHasBeenSet = false; Aws::String m_connectAttachmentId; bool m_connectAttachmentIdHasBeenSet = false; Aws::String m_connectPeerId; bool m_connectPeerIdHasBeenSet = false; Aws::String m_edgeLocation; bool m_edgeLocationHasBeenSet = false; ConnectPeerState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; ConnectPeerConfiguration m_configuration; bool m_configurationHasBeenSet = false; Aws::Vector