/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class CreateNetworkInterfaceResponse { public: AWS_EC2_API CreateNetworkInterfaceResponse(); AWS_EC2_API CreateNetworkInterfaceResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API CreateNetworkInterfaceResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the network interface.

*/ inline const NetworkInterface& GetNetworkInterface() const{ return m_networkInterface; } /** *

Information about the network interface.

*/ inline void SetNetworkInterface(const NetworkInterface& value) { m_networkInterface = value; } /** *

Information about the network interface.

*/ inline void SetNetworkInterface(NetworkInterface&& value) { m_networkInterface = std::move(value); } /** *

Information about the network interface.

*/ inline CreateNetworkInterfaceResponse& WithNetworkInterface(const NetworkInterface& value) { SetNetworkInterface(value); return *this;} /** *

Information about the network interface.

*/ inline CreateNetworkInterfaceResponse& WithNetworkInterface(NetworkInterface&& value) { SetNetworkInterface(std::move(value)); return *this;} /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline void SetClientToken(const Aws::String& value) { m_clientToken = value; } /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); } /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline CreateNetworkInterfaceResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline CreateNetworkInterfaceResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The token to use to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline CreateNetworkInterfaceResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline CreateNetworkInterfaceResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateNetworkInterfaceResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: NetworkInterface m_networkInterface; Aws::String m_clientToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws