7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/Host.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 HostsT = Aws::Vector<Host>>
39 m_hostsHasBeenSet =
true;
40 m_hosts = std::forward<HostsT>(value);
42 template <
typename HostsT = Aws::Vector<Host>>
44 SetHosts(std::forward<HostsT>(value));
47 template <
typename HostsT = Host>
49 m_hostsHasBeenSet =
true;
50 m_hosts.emplace_back(std::forward<HostsT>(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_hostsHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
AWS_CODESTARCONNECTIONS_API ListHostsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostsResult & WithHosts(HostsT &&value)
void SetHosts(HostsT &&value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Host > & GetHosts() const
AWS_CODESTARCONNECTIONS_API ListHostsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostsResult & AddHosts(HostsT &&value)
ListHostsResult & WithNextToken(NextTokenT &&value)
AWS_CODESTARCONNECTIONS_API ListHostsResult()=default
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
ListHostsResult & 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