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/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/ConnectionSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace PartnerCentralAccount {
37 template <
typename ConnectionSummariesT = Aws::Vector<ConnectionSummary>>
39 m_connectionSummariesHasBeenSet =
true;
40 m_connectionSummaries = std::forward<ConnectionSummariesT>(value);
42 template <
typename ConnectionSummariesT = Aws::Vector<ConnectionSummary>>
47 template <
typename ConnectionSummariesT = ConnectionSummary>
49 m_connectionSummariesHasBeenSet =
true;
50 m_connectionSummaries.emplace_back(std::forward<ConnectionSummariesT>(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_connectionSummariesHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
ListConnectionsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ConnectionSummary > & GetConnectionSummaries() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListConnectionsResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API ListConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALACCOUNT_API ListConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConnectionsResult & WithConnectionSummaries(ConnectionSummariesT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetConnectionSummaries(ConnectionSummariesT &&value)
AWS_PARTNERCENTRALACCOUNT_API ListConnectionsResult()=default
ListConnectionsResult & AddConnectionSummaries(ConnectionSummariesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue