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>
64 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
111 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
147 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
167 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
173 bool m_resourceOwnerHasBeenSet =
false;
176 bool m_resourceArnHasBeenSet =
false;
179 bool m_principalsHasBeenSet =
false;
182 bool m_resourceTypeHasBeenSet =
false;
185 bool m_resourceShareArnsHasBeenSet =
false;
188 bool m_nextTokenHasBeenSet =
false;
191 bool m_maxResultsHasBeenSet =
false;
bool ResourceTypeHasBeenSet() const
ListPrincipalsRequest & WithResourceArn(const char *value)
ListPrincipalsRequest & AddPrincipals(const char *value)
ListPrincipalsRequest & AddResourceShareArns(Aws::String &&value)
ListPrincipalsRequest & AddResourceShareArns(const char *value)
ListPrincipalsRequest & WithResourceArn(const Aws::String &value)
void SetResourceOwner(ResourceOwner &&value)
void SetResourceShareArns(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetPrincipals() const
ListPrincipalsRequest & AddPrincipals(Aws::String &&value)
bool ResourceArnHasBeenSet() const
ListPrincipalsRequest & WithNextToken(const char *value)
void SetResourceShareArns(const Aws::Vector< Aws::String > &value)
ListPrincipalsRequest & AddResourceShareArns(const Aws::String &value)
const ResourceOwner & GetResourceOwner() const
void SetResourceType(const char *value)
void SetNextToken(Aws::String &&value)
ListPrincipalsRequest & WithResourceOwner(const ResourceOwner &value)
void SetResourceArn(const char *value)
void SetMaxResults(int value)
ListPrincipalsRequest & WithMaxResults(int value)
void SetResourceType(Aws::String &&value)
AWS_RAM_API ListPrincipalsRequest()
bool ResourceOwnerHasBeenSet() const
const Aws::String & GetResourceType() const
ListPrincipalsRequest & WithNextToken(const Aws::String &value)
ListPrincipalsRequest & WithResourceType(const char *value)
const Aws::Vector< Aws::String > & GetResourceShareArns() const
const Aws::String & GetNextToken() const
void SetPrincipals(Aws::Vector< Aws::String > &&value)
ListPrincipalsRequest & WithResourceShareArns(Aws::Vector< Aws::String > &&value)
const Aws::String & GetResourceArn() const
ListPrincipalsRequest & WithResourceType(const Aws::String &value)
void SetPrincipals(const Aws::Vector< Aws::String > &value)
int GetMaxResults() const
void SetResourceOwner(const ResourceOwner &value)
void SetResourceArn(Aws::String &&value)
ListPrincipalsRequest & WithResourceOwner(ResourceOwner &&value)
void SetResourceArn(const Aws::String &value)
ListPrincipalsRequest & WithNextToken(Aws::String &&value)
void SetNextToken(const char *value)
void SetNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
ListPrincipalsRequest & WithResourceShareArns(const Aws::Vector< Aws::String > &value)
ListPrincipalsRequest & WithResourceType(Aws::String &&value)
ListPrincipalsRequest & AddPrincipals(const Aws::String &value)
void SetResourceType(const Aws::String &value)
bool MaxResultsHasBeenSet() const
bool PrincipalsHasBeenSet() const
ListPrincipalsRequest & WithPrincipals(const Aws::Vector< Aws::String > &value)
ListPrincipalsRequest & WithResourceArn(Aws::String &&value)
AWS_RAM_API Aws::String SerializePayload() const override
ListPrincipalsRequest & WithPrincipals(Aws::Vector< Aws::String > &&value)
bool ResourceShareArnsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector