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/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/Lag.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DirectConnect {
37 template <
typename LagsT = Aws::Vector<Lag>>
39 m_lagsHasBeenSet =
true;
40 m_lags = std::forward<LagsT>(value);
42 template <
typename LagsT = Aws::Vector<Lag>>
44 SetLags(std::forward<LagsT>(value));
47 template <
typename LagsT = Lag>
49 m_lagsHasBeenSet =
true;
50 m_lags.emplace_back(std::forward<LagsT>(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_lagsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_DIRECTCONNECT_API DescribeLagsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DIRECTCONNECT_API DescribeLagsResult()=default
const Aws::String & GetNextToken() const
DescribeLagsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
DescribeLagsResult & AddLags(LagsT &&value)
const Aws::Vector< Lag > & GetLags() const
void SetLags(LagsT &&value)
const Aws::String & GetRequestId() const
DescribeLagsResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DIRECTCONNECT_API DescribeLagsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLagsResult & WithLags(LagsT &&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