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>
68 inline void SetOnlyAttached(
bool value) { m_onlyAttachedHasBeenSet =
true; m_onlyAttached = value; }
87 inline void SetPathPrefix(
const char* value) { m_pathPrefixHasBeenSet =
true; m_pathPrefix.assign(value); }
121 inline void SetMarker(
const char* value) { m_markerHasBeenSet =
true; m_marker.assign(value); }
140 inline void SetMaxItems(
int value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
146 bool m_scopeHasBeenSet =
false;
149 bool m_onlyAttachedHasBeenSet =
false;
152 bool m_pathPrefixHasBeenSet =
false;
155 bool m_policyUsageFilterHasBeenSet =
false;
158 bool m_markerHasBeenSet =
false;
161 bool m_maxItemsHasBeenSet =
false;
ListPoliciesRequest & WithScope(const PolicyScopeType &value)
void SetScope(const PolicyScopeType &value)
bool PathPrefixHasBeenSet() const
AWS_IAM_API ListPoliciesRequest()
void SetOnlyAttached(bool value)
ListPoliciesRequest & WithOnlyAttached(bool value)
void SetPolicyUsageFilter(PolicyUsageType &&value)
void SetMarker(Aws::String &&value)
bool MaxItemsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPathPrefix(const char *value)
AWS_IAM_API Aws::String SerializePayload() const override
ListPoliciesRequest & WithPathPrefix(Aws::String &&value)
void SetMarker(const Aws::String &value)
const Aws::String & GetPathPrefix() const
bool ScopeHasBeenSet() const
void SetMarker(const char *value)
ListPoliciesRequest & WithMarker(const Aws::String &value)
void SetPathPrefix(Aws::String &&value)
ListPoliciesRequest & WithPolicyUsageFilter(PolicyUsageType &&value)
ListPoliciesRequest & WithPolicyUsageFilter(const PolicyUsageType &value)
void SetScope(PolicyScopeType &&value)
ListPoliciesRequest & WithMaxItems(int value)
const PolicyUsageType & GetPolicyUsageFilter() const
ListPoliciesRequest & WithPathPrefix(const char *value)
bool PolicyUsageFilterHasBeenSet() const
bool GetOnlyAttached() const
ListPoliciesRequest & WithScope(PolicyScopeType &&value)
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPolicyUsageFilter(const PolicyUsageType &value)
ListPoliciesRequest & WithPathPrefix(const Aws::String &value)
void SetPathPrefix(const Aws::String &value)
bool MarkerHasBeenSet() const
const PolicyScopeType & GetScope() const
bool OnlyAttachedHasBeenSet() const
ListPoliciesRequest & WithMarker(const char *value)
void SetMaxItems(int value)
ListPoliciesRequest & WithMarker(Aws::String &&value)
const Aws::String & GetMarker() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String