660 lines
23 KiB
C
660 lines
23 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/directconnect/DirectConnect_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/directconnect/model/LagState.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/directconnect/model/HasLogicalRedundancy.h>
|
|||
|
|
#include <aws/directconnect/model/Connection.h>
|
|||
|
|
#include <aws/directconnect/model/Tag.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DirectConnect
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a link aggregation group (LAG).</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lag">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DIRECTCONNECT_API CreateLagResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateLagResult();
|
|||
|
|
CreateLagResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateLagResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetConnectionsBandwidth() const{ return m_connectionsBandwidth; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnectionsBandwidth(const Aws::String& value) { m_connectionsBandwidth = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnectionsBandwidth(Aws::String&& value) { m_connectionsBandwidth = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnectionsBandwidth(const char* value) { m_connectionsBandwidth.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithConnectionsBandwidth(const Aws::String& value) { SetConnectionsBandwidth(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithConnectionsBandwidth(Aws::String&& value) { SetConnectionsBandwidth(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The individual bandwidth of the physical connections bundled by the LAG. The
|
|||
|
|
* possible values are 1Gbps and 10Gbps. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithConnectionsBandwidth(const char* value) { SetConnectionsBandwidth(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of physical connections bundled by the LAG, up to a maximum of
|
|||
|
|
* 10.</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetNumberOfConnections() const{ return m_numberOfConnections; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of physical connections bundled by the LAG, up to a maximum of
|
|||
|
|
* 10.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNumberOfConnections(int value) { m_numberOfConnections = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The number of physical connections bundled by the LAG, up to a maximum of
|
|||
|
|
* 10.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithNumberOfConnections(int value) { SetNumberOfConnections(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLagId() const{ return m_lagId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagId(const Aws::String& value) { m_lagId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagId(Aws::String&& value) { m_lagId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagId(const char* value) { m_lagId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagId(const Aws::String& value) { SetLagId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagId(Aws::String&& value) { SetLagId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagId(const char* value) { SetLagId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ID of the AWS account that owns the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLagName() const{ return m_lagName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagName(const Aws::String& value) { m_lagName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagName(Aws::String&& value) { m_lagName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagName(const char* value) { m_lagName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagName(const Aws::String& value) { SetLagName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagName(Aws::String&& value) { SetLagName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagName(const char* value) { SetLagName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The state of the LAG. The following are the possible values:</p> <ul> <li>
|
|||
|
|
* <p> <code>requested</code>: The initial state of a LAG. The LAG stays in the
|
|||
|
|
* requested state until the Letter of Authorization (LOA) is available.</p> </li>
|
|||
|
|
* <li> <p> <code>pending</code>: The LAG has been approved and is being
|
|||
|
|
* initialized.</p> </li> <li> <p> <code>available</code>: The network link is
|
|||
|
|
* established and the LAG is ready for use.</p> </li> <li> <p> <code>down</code>:
|
|||
|
|
* The network link is down.</p> </li> <li> <p> <code>deleting</code>: The LAG is
|
|||
|
|
* being deleted.</p> </li> <li> <p> <code>deleted</code>: The LAG is deleted.</p>
|
|||
|
|
* </li> <li> <p> <code>unknown</code>: The state of the LAG is not available.</p>
|
|||
|
|
* </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline const LagState& GetLagState() const{ return m_lagState; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The state of the LAG. The following are the possible values:</p> <ul> <li>
|
|||
|
|
* <p> <code>requested</code>: The initial state of a LAG. The LAG stays in the
|
|||
|
|
* requested state until the Letter of Authorization (LOA) is available.</p> </li>
|
|||
|
|
* <li> <p> <code>pending</code>: The LAG has been approved and is being
|
|||
|
|
* initialized.</p> </li> <li> <p> <code>available</code>: The network link is
|
|||
|
|
* established and the LAG is ready for use.</p> </li> <li> <p> <code>down</code>:
|
|||
|
|
* The network link is down.</p> </li> <li> <p> <code>deleting</code>: The LAG is
|
|||
|
|
* being deleted.</p> </li> <li> <p> <code>deleted</code>: The LAG is deleted.</p>
|
|||
|
|
* </li> <li> <p> <code>unknown</code>: The state of the LAG is not available.</p>
|
|||
|
|
* </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagState(const LagState& value) { m_lagState = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The state of the LAG. The following are the possible values:</p> <ul> <li>
|
|||
|
|
* <p> <code>requested</code>: The initial state of a LAG. The LAG stays in the
|
|||
|
|
* requested state until the Letter of Authorization (LOA) is available.</p> </li>
|
|||
|
|
* <li> <p> <code>pending</code>: The LAG has been approved and is being
|
|||
|
|
* initialized.</p> </li> <li> <p> <code>available</code>: The network link is
|
|||
|
|
* established and the LAG is ready for use.</p> </li> <li> <p> <code>down</code>:
|
|||
|
|
* The network link is down.</p> </li> <li> <p> <code>deleting</code>: The LAG is
|
|||
|
|
* being deleted.</p> </li> <li> <p> <code>deleted</code>: The LAG is deleted.</p>
|
|||
|
|
* </li> <li> <p> <code>unknown</code>: The state of the LAG is not available.</p>
|
|||
|
|
* </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline void SetLagState(LagState&& value) { m_lagState = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The state of the LAG. The following are the possible values:</p> <ul> <li>
|
|||
|
|
* <p> <code>requested</code>: The initial state of a LAG. The LAG stays in the
|
|||
|
|
* requested state until the Letter of Authorization (LOA) is available.</p> </li>
|
|||
|
|
* <li> <p> <code>pending</code>: The LAG has been approved and is being
|
|||
|
|
* initialized.</p> </li> <li> <p> <code>available</code>: The network link is
|
|||
|
|
* established and the LAG is ready for use.</p> </li> <li> <p> <code>down</code>:
|
|||
|
|
* The network link is down.</p> </li> <li> <p> <code>deleting</code>: The LAG is
|
|||
|
|
* being deleted.</p> </li> <li> <p> <code>deleted</code>: The LAG is deleted.</p>
|
|||
|
|
* </li> <li> <p> <code>unknown</code>: The state of the LAG is not available.</p>
|
|||
|
|
* </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagState(const LagState& value) { SetLagState(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The state of the LAG. The following are the possible values:</p> <ul> <li>
|
|||
|
|
* <p> <code>requested</code>: The initial state of a LAG. The LAG stays in the
|
|||
|
|
* requested state until the Letter of Authorization (LOA) is available.</p> </li>
|
|||
|
|
* <li> <p> <code>pending</code>: The LAG has been approved and is being
|
|||
|
|
* initialized.</p> </li> <li> <p> <code>available</code>: The network link is
|
|||
|
|
* established and the LAG is ready for use.</p> </li> <li> <p> <code>down</code>:
|
|||
|
|
* The network link is down.</p> </li> <li> <p> <code>deleting</code>: The LAG is
|
|||
|
|
* being deleted.</p> </li> <li> <p> <code>deleted</code>: The LAG is deleted.</p>
|
|||
|
|
* </li> <li> <p> <code>unknown</code>: The state of the LAG is not available.</p>
|
|||
|
|
* </li> </ul>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLagState(LagState&& value) { SetLagState(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLocation() const{ return m_location; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(const Aws::String& value) { m_location = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocation(const char* value) { m_location.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The location of the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithLocation(const char* value) { SetLocation(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetRegion() const{ return m_region; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRegion(const Aws::String& value) { m_region = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRegion(const char* value) { m_region.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Region where the connection is located.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithRegion(const char* value) { SetRegion(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The minimum number of physical connections that must be operational for the
|
|||
|
|
* LAG itself to be operational.</p>
|
|||
|
|
*/
|
|||
|
|
inline int GetMinimumLinks() const{ return m_minimumLinks; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The minimum number of physical connections that must be operational for the
|
|||
|
|
* LAG itself to be operational.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMinimumLinks(int value) { m_minimumLinks = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The minimum number of physical connections that must be operational for the
|
|||
|
|
* LAG itself to be operational.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithMinimumLinks(int value) { SetMinimumLinks(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetAwsDevice() const{ return m_awsDevice; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDevice(const Aws::String& value) { m_awsDevice = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDevice(Aws::String&& value) { m_awsDevice = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDevice(const char* value) { m_awsDevice.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDevice(const Aws::String& value) { SetAwsDevice(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDevice(Aws::String&& value) { SetAwsDevice(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDevice(const char* value) { SetAwsDevice(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The AWS Direct Connect endpoint that hosts the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Connection>& GetConnections() const{ return m_connections; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnections(const Aws::Vector<Connection>& value) { m_connections = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnections(Aws::Vector<Connection>&& value) { m_connections = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithConnections(const Aws::Vector<Connection>& value) { SetConnections(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithConnections(Aws::Vector<Connection>&& value) { SetConnections(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& AddConnections(const Connection& value) { m_connections.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The connections bundled by the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& AddConnections(Connection&& value) { m_connections.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG can host other connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GetAllowsHostedConnections() const{ return m_allowsHostedConnections; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG can host other connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAllowsHostedConnections(bool value) { m_allowsHostedConnections = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG can host other connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithAllowsHostedConnections(bool value) { SetAllowsHostedConnections(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether jumbo frames (9001 MTU) are supported.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether jumbo frames (9001 MTU) are supported.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether jumbo frames (9001 MTU) are supported.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG supports a secondary BGP peer in the same address
|
|||
|
|
* family (IPv4/IPv6).</p>
|
|||
|
|
*/
|
|||
|
|
inline const HasLogicalRedundancy& GetHasLogicalRedundancy() const{ return m_hasLogicalRedundancy; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG supports a secondary BGP peer in the same address
|
|||
|
|
* family (IPv4/IPv6).</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetHasLogicalRedundancy(const HasLogicalRedundancy& value) { m_hasLogicalRedundancy = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG supports a secondary BGP peer in the same address
|
|||
|
|
* family (IPv4/IPv6).</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetHasLogicalRedundancy(HasLogicalRedundancy&& value) { m_hasLogicalRedundancy = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG supports a secondary BGP peer in the same address
|
|||
|
|
* family (IPv4/IPv6).</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithHasLogicalRedundancy(const HasLogicalRedundancy& value) { SetHasLogicalRedundancy(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Indicates whether the LAG supports a secondary BGP peer in the same address
|
|||
|
|
* family (IPv4/IPv6).</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithHasLogicalRedundancy(HasLogicalRedundancy&& value) { SetHasLogicalRedundancy(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetProviderName() const{ return m_providerName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(const Aws::String& value) { m_providerName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(Aws::String&& value) { m_providerName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProviderName(const char* value) { m_providerName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the service provider associated with the LAG.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateLagResult& WithProviderName(const char* value) { SetProviderName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_connectionsBandwidth;
|
|||
|
|
|
|||
|
|
int m_numberOfConnections;
|
|||
|
|
|
|||
|
|
Aws::String m_lagId;
|
|||
|
|
|
|||
|
|
Aws::String m_ownerAccount;
|
|||
|
|
|
|||
|
|
Aws::String m_lagName;
|
|||
|
|
|
|||
|
|
LagState m_lagState;
|
|||
|
|
|
|||
|
|
Aws::String m_location;
|
|||
|
|
|
|||
|
|
Aws::String m_region;
|
|||
|
|
|
|||
|
|
int m_minimumLinks;
|
|||
|
|
|
|||
|
|
Aws::String m_awsDevice;
|
|||
|
|
|
|||
|
|
Aws::String m_awsDeviceV2;
|
|||
|
|
|
|||
|
|
Aws::Vector<Connection> m_connections;
|
|||
|
|
|
|||
|
|
bool m_allowsHostedConnections;
|
|||
|
|
|
|||
|
|
bool m_jumboFrameCapable;
|
|||
|
|
|
|||
|
|
HasLogicalRedundancy m_hasLogicalRedundancy;
|
|||
|
|
|
|||
|
|
Aws::Vector<Tag> m_tags;
|
|||
|
|
|
|||
|
|
Aws::String m_providerName;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DirectConnect
|
|||
|
|
} // namespace Aws
|