7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fms/model/PolicySummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename PolicyListT = Aws::Vector<PolicySummary>>
43 void SetPolicyList(PolicyListT&& value) { m_policyListHasBeenSet =
true; m_policyList = std::forward<PolicyListT>(value); }
44 template<
typename PolicyListT = Aws::Vector<PolicySummary>>
46 template<
typename PolicyListT = PolicySummary>
47 ListPoliciesResult&
AddPolicyList(PolicyListT&& value) { m_policyListHasBeenSet =
true; m_policyList.emplace_back(std::forward<PolicyListT>(value));
return *
this; }
60 template<
typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<
typename NextTokenT = Aws::String>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_policyListHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< PolicySummary > & GetPolicyList() const
ListPoliciesResult & WithNextToken(NextTokenT &&value)
ListPoliciesResult & WithRequestId(RequestIdT &&value)
ListPoliciesResult & WithPolicyList(PolicyListT &&value)
void SetRequestId(RequestIdT &&value)
AWS_FMS_API ListPoliciesResult()=default
AWS_FMS_API ListPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicyList(PolicyListT &&value)
void SetNextToken(NextTokenT &&value)
AWS_FMS_API ListPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListPoliciesResult & AddPolicyList(PolicyListT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue