7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/ConnectionSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace PartnerCentralAccount {
36 template <
typename ConnectionSummariesT = Aws::Vector<ConnectionSummary>>
38 m_connectionSummariesHasBeenSet =
true;
39 m_connectionSummaries = std::forward<ConnectionSummariesT>(value);
41 template <
typename ConnectionSummariesT = Aws::Vector<ConnectionSummary>>
46 template <
typename ConnectionSummariesT = ConnectionSummary>
48 m_connectionSummariesHasBeenSet =
true;
49 m_connectionSummaries.emplace_back(std::forward<ConnectionSummariesT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
92 bool m_connectionSummariesHasBeenSet =
false;
93 bool m_nextTokenHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
ListConnectionsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ConnectionSummary > & GetConnectionSummaries() 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