7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/model/PolicyScopeType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iam/model/PolicyUsageType.h>
66 inline void SetOnlyAttached(
bool value) { m_onlyAttachedHasBeenSet =
true; m_onlyAttached = value; }
83 template<
typename PathPrefixT = Aws::String>
84 void SetPathPrefix(PathPrefixT&& value) { m_pathPrefixHasBeenSet =
true; m_pathPrefix = std::forward<PathPrefixT>(value); }
85 template<
typename PathPrefixT = Aws::String>
113 template<
typename MarkerT = Aws::String>
114 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
115 template<
typename MarkerT = Aws::String>
132 inline void SetMaxItems(
int value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
138 bool m_scopeHasBeenSet =
false;
140 bool m_onlyAttached{
false};
141 bool m_onlyAttachedHasBeenSet =
false;
144 bool m_pathPrefixHasBeenSet =
false;
147 bool m_policyUsageFilterHasBeenSet =
false;
150 bool m_markerHasBeenSet =
false;
153 bool m_maxItemsHasBeenSet =
false;
void SetPolicyUsageFilter(PolicyUsageType value)
bool PathPrefixHasBeenSet() const
void SetScope(PolicyScopeType value)
void SetOnlyAttached(bool value)
ListPoliciesRequest & WithOnlyAttached(bool value)
bool MaxItemsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ListPoliciesRequest & WithScope(PolicyScopeType value)
PolicyUsageType GetPolicyUsageFilter() const
void SetMarker(MarkerT &&value)
AWS_IAM_API ListPoliciesRequest()=default
AWS_IAM_API Aws::String SerializePayload() const override
const Aws::String & GetPathPrefix() const
bool ScopeHasBeenSet() const
ListPoliciesRequest & WithMaxItems(int value)
PolicyScopeType GetScope() const
bool PolicyUsageFilterHasBeenSet() const
ListPoliciesRequest & WithPolicyUsageFilter(PolicyUsageType value)
bool GetOnlyAttached() const
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ListPoliciesRequest & WithMarker(MarkerT &&value)
void SetPathPrefix(PathPrefixT &&value)
bool MarkerHasBeenSet() const
bool OnlyAttachedHasBeenSet() const
void SetMaxItems(int value)
ListPoliciesRequest & WithPathPrefix(PathPrefixT &&value)
const Aws::String & GetMarker() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String