7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/Connection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CodeStarconnections {
37 template <
typename ConnectionsT = Aws::Vector<Connection>>
39 m_connectionsHasBeenSet =
true;
40 m_connections = std::forward<ConnectionsT>(value);
42 template <
typename ConnectionsT = Aws::Vector<Connection>>
47 template <
typename ConnectionsT = Connection>
49 m_connectionsHasBeenSet =
true;
50 m_connections.emplace_back(std::forward<ConnectionsT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
94 bool m_connectionsHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
void SetConnections(ConnectionsT &&value)
const Aws::Vector< Connection > & GetConnections() const
ListConnectionsResult & AddConnections(ConnectionsT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
ListConnectionsResult & WithNextToken(NextTokenT &&value)
ListConnectionsResult & WithConnections(ConnectionsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CODESTARCONNECTIONS_API ListConnectionsResult()=default
AWS_CODESTARCONNECTIONS_API ListConnectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODESTARCONNECTIONS_API ListConnectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListConnectionsResult & WithRequestId(RequestIdT &&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