7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/Host.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CodeConnections {
38 template <
typename HostsT = Aws::Vector<Host>>
40 m_hostsHasBeenSet =
true;
41 m_hosts = std::forward<HostsT>(value);
43 template <
typename HostsT = Aws::Vector<Host>>
45 SetHosts(std::forward<HostsT>(value));
48 template <
typename HostsT = Host>
50 m_hostsHasBeenSet =
true;
51 m_hosts.emplace_back(std::forward<HostsT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_hostsHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
void SetHosts(HostsT &&value)
AWS_CODECONNECTIONS_API ListHostsResult()=default
AWS_CODECONNECTIONS_API ListHostsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostsResult & WithNextToken(NextTokenT &&value)
AWS_CODECONNECTIONS_API ListHostsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListHostsResult & AddHosts(HostsT &&value)
const Aws::Vector< Host > & GetHosts() const
const Aws::String & GetNextToken() const
ListHostsResult & WithRequestId(RequestIdT &&value)
ListHostsResult & WithHosts(HostsT &&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