7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/ControlSummary.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>
12#include <aws/crt/cbor/Cbor.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename ControlsT = Aws::Vector<ControlSummary>>
40 m_controlsHasBeenSet =
true;
41 m_controls = std::forward<ControlsT>(value);
43 template <
typename ControlsT = Aws::Vector<ControlSummary>>
48 template <
typename ControlsT = ControlSummary>
50 m_controlsHasBeenSet =
true;
51 m_controls.emplace_back(std::forward<ControlsT>(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_controlsHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
ListControlsResult & WithControls(ControlsT &&value)
void SetControls(ControlsT &&value)
const Aws::Vector< ControlSummary > & GetControls() const
const Aws::String & GetNextToken() const
ListControlsResult & WithRequestId(RequestIdT &&value)
AWS_ASSURANCE_API ListControlsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_ASSURANCE_API ListControlsResult()=default
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListControlsResult & AddControls(ControlsT &&value)
ListControlsResult & WithNextToken(NextTokenT &&value)
AWS_ASSURANCE_API ListControlsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector