/** * 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 CreateNetworkInsightsAccessScopeResponse { public: AWS_EC2_API CreateNetworkInsightsAccessScopeResponse(); AWS_EC2_API CreateNetworkInsightsAccessScopeResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API CreateNetworkInsightsAccessScopeResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Network Access Scope.

*/ inline const NetworkInsightsAccessScope& GetNetworkInsightsAccessScope() const{ return m_networkInsightsAccessScope; } /** *

The Network Access Scope.

*/ inline void SetNetworkInsightsAccessScope(const NetworkInsightsAccessScope& value) { m_networkInsightsAccessScope = value; } /** *

The Network Access Scope.

*/ inline void SetNetworkInsightsAccessScope(NetworkInsightsAccessScope&& value) { m_networkInsightsAccessScope = std::move(value); } /** *

The Network Access Scope.

*/ inline CreateNetworkInsightsAccessScopeResponse& WithNetworkInsightsAccessScope(const NetworkInsightsAccessScope& value) { SetNetworkInsightsAccessScope(value); return *this;} /** *

The Network Access Scope.

*/ inline CreateNetworkInsightsAccessScopeResponse& WithNetworkInsightsAccessScope(NetworkInsightsAccessScope&& value) { SetNetworkInsightsAccessScope(std::move(value)); return *this;} /** *

The Network Access Scope content.

*/ inline const NetworkInsightsAccessScopeContent& GetNetworkInsightsAccessScopeContent() const{ return m_networkInsightsAccessScopeContent; } /** *

The Network Access Scope content.

*/ inline void SetNetworkInsightsAccessScopeContent(const NetworkInsightsAccessScopeContent& value) { m_networkInsightsAccessScopeContent = value; } /** *

The Network Access Scope content.

*/ inline void SetNetworkInsightsAccessScopeContent(NetworkInsightsAccessScopeContent&& value) { m_networkInsightsAccessScopeContent = std::move(value); } /** *

The Network Access Scope content.

*/ inline CreateNetworkInsightsAccessScopeResponse& WithNetworkInsightsAccessScopeContent(const NetworkInsightsAccessScopeContent& value) { SetNetworkInsightsAccessScopeContent(value); return *this;} /** *

The Network Access Scope content.

*/ inline CreateNetworkInsightsAccessScopeResponse& WithNetworkInsightsAccessScopeContent(NetworkInsightsAccessScopeContent&& value) { SetNetworkInsightsAccessScopeContent(std::move(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 CreateNetworkInsightsAccessScopeResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateNetworkInsightsAccessScopeResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: NetworkInsightsAccessScope m_networkInsightsAccessScope; NetworkInsightsAccessScopeContent m_networkInsightsAccessScopeContent; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws