7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/interconnect/Interconnect_EXPORTS.h>
12#include <aws/interconnect/model/ConnectionSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace Interconnect {
37 template <
typename ConnectionsT = Aws::Vector<ConnectionSummary>>
39 m_connectionsHasBeenSet =
true;
40 m_connections = std::forward<ConnectionsT>(value);
42 template <
typename ConnectionsT = Aws::Vector<ConnectionSummary>>
47 template <
typename ConnectionsT = ConnectionSummary>
49 m_connectionsHasBeenSet =
true;
50 m_connections.emplace_back(std::forward<ConnectionsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_connectionsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
AWS_INTERCONNECT_API ListConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetNextToken(NextTokenT &&value)
ListConnectionsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
void SetConnections(ConnectionsT &&value)
ListConnectionsResult & AddConnections(ConnectionsT &&value)
ListConnectionsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ConnectionSummary > & GetConnections() const
const Aws::String & GetRequestId() const
AWS_INTERCONNECT_API ListConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetNextToken() const
AWS_INTERCONNECT_API ListConnectionsResult()=default
ListConnectionsResult & WithConnections(ConnectionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector