/** * 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 Kafka { namespace Model { class ListVpcConnectionsResult { public: AWS_KAFKA_API ListVpcConnectionsResult(); AWS_KAFKA_API ListVpcConnectionsResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKA_API ListVpcConnectionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of VPC connections.

*/ inline const Aws::Vector& GetVpcConnections() const{ return m_vpcConnections; } /** *

List of VPC connections.

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

List of VPC connections.

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

List of VPC connections.

*/ inline ListVpcConnectionsResult& WithVpcConnections(const Aws::Vector& value) { SetVpcConnections(value); return *this;} /** *

List of VPC connections.

*/ inline ListVpcConnectionsResult& WithVpcConnections(Aws::Vector&& value) { SetVpcConnections(std::move(value)); return *this;} /** *

List of VPC connections.

*/ inline ListVpcConnectionsResult& AddVpcConnections(const VpcConnection& value) { m_vpcConnections.push_back(value); return *this; } /** *

List of VPC connections.

*/ inline ListVpcConnectionsResult& AddVpcConnections(VpcConnection&& value) { m_vpcConnections.push_back(std::move(value)); return *this; } /** *

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

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

The paginated results marker. When the result of a * ListClientVpcConnections operation is truncated, the call returns NextToken in * the response. To get another batch of configurations, provide * this token in your next request.

*/ inline ListVpcConnectionsResult& 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 ListVpcConnectionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListVpcConnectionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListVpcConnectionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_vpcConnections; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws