7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/ram/model/ResourceOwner.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ram/model/ResourceRegionScopeFilter.h>
63 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
79 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
133 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
153 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
177 bool m_resourceOwnerHasBeenSet =
false;
180 bool m_principalHasBeenSet =
false;
183 bool m_resourceTypeHasBeenSet =
false;
186 bool m_resourceArnsHasBeenSet =
false;
189 bool m_resourceShareArnsHasBeenSet =
false;
192 bool m_nextTokenHasBeenSet =
false;
195 bool m_maxResultsHasBeenSet =
false;
198 bool m_resourceRegionScopeHasBeenSet =
false;
ListResourcesRequest & WithResourceType(const Aws::String &value)
ListResourcesRequest & WithResourceShareArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetResourceShareArns() const
void SetResourceOwner(ResourceOwner &&value)
bool ResourceTypeHasBeenSet() const
ListResourcesRequest & WithResourceShareArns(Aws::Vector< Aws::String > &&value)
ListResourcesRequest & AddResourceShareArns(const Aws::String &value)
int GetMaxResults() const
ListResourcesRequest & WithMaxResults(int value)
AWS_RAM_API Aws::String SerializePayload() const override
ListResourcesRequest & WithResourceRegionScope(const ResourceRegionScopeFilter &value)
void SetResourceShareArns(Aws::Vector< Aws::String > &&value)
void SetResourceRegionScope(ResourceRegionScopeFilter &&value)
void SetResourceShareArns(const Aws::Vector< Aws::String > &value)
bool MaxResultsHasBeenSet() const
const ResourceRegionScopeFilter & GetResourceRegionScope() const
void SetNextToken(Aws::String &&value)
AWS_RAM_API ListResourcesRequest()
ListResourcesRequest & WithNextToken(Aws::String &&value)
ListResourcesRequest & WithResourceRegionScope(ResourceRegionScopeFilter &&value)
bool ResourceOwnerHasBeenSet() const
const Aws::String & GetNextToken() const
ListResourcesRequest & WithResourceType(const char *value)
void SetResourceRegionScope(const ResourceRegionScopeFilter &value)
ListResourcesRequest & WithPrincipal(Aws::String &&value)
const Aws::String & GetResourceType() const
bool PrincipalHasBeenSet() const
ListResourcesRequest & WithResourceArns(Aws::Vector< Aws::String > &&value)
ListResourcesRequest & WithNextToken(const char *value)
void SetPrincipal(Aws::String &&value)
ListResourcesRequest & WithResourceArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetResourceArns() const
ListResourcesRequest & WithResourceOwner(const ResourceOwner &value)
void SetResourceType(const Aws::String &value)
void SetMaxResults(int value)
void SetResourceOwner(const ResourceOwner &value)
ListResourcesRequest & WithPrincipal(const char *value)
void SetPrincipal(const char *value)
ListResourcesRequest & AddResourceArns(const Aws::String &value)
void SetResourceArns(Aws::Vector< Aws::String > &&value)
ListResourcesRequest & WithNextToken(const Aws::String &value)
ListResourcesRequest & AddResourceArns(Aws::String &&value)
bool ResourceArnsHasBeenSet() const
bool NextTokenHasBeenSet() const
void SetResourceArns(const Aws::Vector< Aws::String > &value)
ListResourcesRequest & AddResourceShareArns(Aws::String &&value)
const ResourceOwner & GetResourceOwner() const
ListResourcesRequest & WithResourceOwner(ResourceOwner &&value)
void SetNextToken(const Aws::String &value)
void SetPrincipal(const Aws::String &value)
const Aws::String & GetPrincipal() const
bool ResourceShareArnsHasBeenSet() const
ListResourcesRequest & AddResourceArns(const char *value)
void SetResourceType(Aws::String &&value)
void SetResourceType(const char *value)
ListResourcesRequest & WithResourceType(Aws::String &&value)
void SetNextToken(const char *value)
bool ResourceRegionScopeHasBeenSet() const
ListResourcesRequest & WithPrincipal(const Aws::String &value)
ListResourcesRequest & AddResourceShareArns(const char *value)
virtual const char * GetServiceRequestName() const override
ResourceRegionScopeFilter
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector