AWS SDK for C++  1.9.129
AWS SDK for C++
CreateDirectConnectGatewayAssociationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectConnect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const DirectConnectGatewayAssociation& GetDirectConnectGatewayAssociation() const{ return m_directConnectGatewayAssociation; }
39 
43  inline void SetDirectConnectGatewayAssociation(const DirectConnectGatewayAssociation& value) { m_directConnectGatewayAssociation = value; }
44 
48  inline void SetDirectConnectGatewayAssociation(DirectConnectGatewayAssociation&& value) { m_directConnectGatewayAssociation = std::move(value); }
49 
53  inline CreateDirectConnectGatewayAssociationResult& WithDirectConnectGatewayAssociation(const DirectConnectGatewayAssociation& value) { SetDirectConnectGatewayAssociation(value); return *this;}
54 
58  inline CreateDirectConnectGatewayAssociationResult& WithDirectConnectGatewayAssociation(DirectConnectGatewayAssociation&& value) { SetDirectConnectGatewayAssociation(std::move(value)); return *this;}
59 
60  private:
61 
62  DirectConnectGatewayAssociation m_directConnectGatewayAssociation;
63  };
64 
65 } // namespace Model
66 } // namespace DirectConnect
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::operator=
CreateDirectConnectGatewayAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::SetDirectConnectGatewayAssociation
void SetDirectConnectGatewayAssociation(const DirectConnectGatewayAssociation &value)
Definition: CreateDirectConnectGatewayAssociationResult.h:43
DirectConnectGatewayAssociation.h
Aws::DirectConnect::Model::DirectConnectGatewayAssociation
Definition: DirectConnectGatewayAssociation.h:37
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult
Definition: CreateDirectConnectGatewayAssociationResult.h:28
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::WithDirectConnectGatewayAssociation
CreateDirectConnectGatewayAssociationResult & WithDirectConnectGatewayAssociation(DirectConnectGatewayAssociation &&value)
Definition: CreateDirectConnectGatewayAssociationResult.h:58
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::WithDirectConnectGatewayAssociation
CreateDirectConnectGatewayAssociationResult & WithDirectConnectGatewayAssociation(const DirectConnectGatewayAssociation &value)
Definition: CreateDirectConnectGatewayAssociationResult.h:53
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::CreateDirectConnectGatewayAssociationResult
CreateDirectConnectGatewayAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::CreateDirectConnectGatewayAssociationResult
CreateDirectConnectGatewayAssociationResult()
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::SetDirectConnectGatewayAssociation
void SetDirectConnectGatewayAssociation(DirectConnectGatewayAssociation &&value)
Definition: CreateDirectConnectGatewayAssociationResult.h:48
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::CreateDirectConnectGatewayAssociationResult::GetDirectConnectGatewayAssociation
const DirectConnectGatewayAssociation & GetDirectConnectGatewayAssociation() const
Definition: CreateDirectConnectGatewayAssociationResult.h:38