/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace NetworkManager { namespace Model { class DescribeGlobalNetworksResult { public: AWS_NETWORKMANAGER_API DescribeGlobalNetworksResult(); AWS_NETWORKMANAGER_API DescribeGlobalNetworksResult(const Aws::AmazonWebServiceResult& result); AWS_NETWORKMANAGER_API DescribeGlobalNetworksResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the global networks.

*/ inline const Aws::Vector& GetGlobalNetworks() const{ return m_globalNetworks; } /** *

Information about the global networks.

*/ inline void SetGlobalNetworks(const Aws::Vector& value) { m_globalNetworks = value; } /** *

Information about the global networks.

*/ inline void SetGlobalNetworks(Aws::Vector&& value) { m_globalNetworks = std::move(value); } /** *

Information about the global networks.

*/ inline DescribeGlobalNetworksResult& WithGlobalNetworks(const Aws::Vector& value) { SetGlobalNetworks(value); return *this;} /** *

Information about the global networks.

*/ inline DescribeGlobalNetworksResult& WithGlobalNetworks(Aws::Vector&& value) { SetGlobalNetworks(std::move(value)); return *this;} /** *

Information about the global networks.

*/ inline DescribeGlobalNetworksResult& AddGlobalNetworks(const GlobalNetwork& value) { m_globalNetworks.push_back(value); return *this; } /** *

Information about the global networks.

*/ inline DescribeGlobalNetworksResult& AddGlobalNetworks(GlobalNetwork&& value) { m_globalNetworks.push_back(std::move(value)); return *this; } /** *

The token for the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next page of results.

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

The token for the next page of results.

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

The token for the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token for the next page of results.

*/ inline DescribeGlobalNetworksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next page of results.

*/ inline DescribeGlobalNetworksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next page of results.

*/ inline DescribeGlobalNetworksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeGlobalNetworksResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeGlobalNetworksResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeGlobalNetworksResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_globalNetworks; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace NetworkManager } // namespace Aws