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/crt/cbor/Cbor.h>
11#include <aws/interconnect/Interconnect_EXPORTS.h>
12#include <aws/interconnect/model/Environment.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace Interconnect {
37 template <
typename EnvironmentsT = Aws::Vector<Environment>>
39 m_environmentsHasBeenSet =
true;
40 m_environments = std::forward<EnvironmentsT>(value);
42 template <
typename EnvironmentsT = Aws::Vector<Environment>>
47 template <
typename EnvironmentsT = Environment>
49 m_environmentsHasBeenSet =
true;
50 m_environments.emplace_back(std::forward<EnvironmentsT>(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_environmentsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Environment > & GetEnvironments() const
AWS_INTERCONNECT_API ListEnvironmentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
ListEnvironmentsResult & AddEnvironments(EnvironmentsT &&value)
void SetNextToken(NextTokenT &&value)
void SetEnvironments(EnvironmentsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_INTERCONNECT_API ListEnvironmentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
AWS_INTERCONNECT_API ListEnvironmentsResult()=default
ListEnvironmentsResult & WithEnvironments(EnvironmentsT &&value)
ListEnvironmentsResult & WithRequestId(RequestIdT &&value)
ListEnvironmentsResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector