7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ram/model/ResourceShareStatus.h>
11#include <aws/ram/model/ResourceOwner.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/ram/model/TagFilter.h>
95 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
128 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
148 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
163 inline void SetPermissionArn(
const char* value) { m_permissionArnHasBeenSet =
true; m_permissionArn.assign(value); }
176 inline void SetPermissionVersion(
int value) { m_permissionVersionHasBeenSet =
true; m_permissionVersion = value; }
182 bool m_resourceShareArnsHasBeenSet =
false;
185 bool m_resourceShareStatusHasBeenSet =
false;
188 bool m_resourceOwnerHasBeenSet =
false;
191 bool m_nameHasBeenSet =
false;
194 bool m_tagFiltersHasBeenSet =
false;
197 bool m_nextTokenHasBeenSet =
false;
200 bool m_maxResultsHasBeenSet =
false;
203 bool m_permissionArnHasBeenSet =
false;
205 int m_permissionVersion;
206 bool m_permissionVersionHasBeenSet =
false;
int GetMaxResults() const
void SetName(const Aws::String &value)
GetResourceSharesRequest & AddResourceShareArns(const char *value)
void SetResourceShareArns(Aws::Vector< Aws::String > &&value)
GetResourceSharesRequest & WithNextToken(Aws::String &&value)
void SetResourceShareArns(const Aws::Vector< Aws::String > &value)
bool NextTokenHasBeenSet() const
void SetMaxResults(int value)
GetResourceSharesRequest & WithPermissionArn(const Aws::String &value)
void SetResourceOwner(ResourceOwner &&value)
GetResourceSharesRequest & AddResourceShareArns(const Aws::String &value)
void SetNextToken(const Aws::String &value)
AWS_RAM_API GetResourceSharesRequest()
GetResourceSharesRequest & AddResourceShareArns(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetResourceSharesRequest & WithMaxResults(int value)
void SetTagFilters(const Aws::Vector< TagFilter > &value)
const Aws::String & GetNextToken() const
GetResourceSharesRequest & WithPermissionArn(Aws::String &&value)
GetResourceSharesRequest & WithResourceOwner(ResourceOwner &&value)
const ResourceShareStatus & GetResourceShareStatus() const
GetResourceSharesRequest & WithName(const char *value)
GetResourceSharesRequest & WithResourceShareStatus(ResourceShareStatus &&value)
void SetPermissionVersion(int value)
void SetResourceShareStatus(ResourceShareStatus &&value)
GetResourceSharesRequest & WithNextToken(const char *value)
GetResourceSharesRequest & WithResourceShareStatus(const ResourceShareStatus &value)
const Aws::Vector< Aws::String > & GetResourceShareArns() const
bool NameHasBeenSet() const
const ResourceOwner & GetResourceOwner() const
GetResourceSharesRequest & WithPermissionArn(const char *value)
GetResourceSharesRequest & WithPermissionVersion(int value)
GetResourceSharesRequest & AddTagFilters(const TagFilter &value)
GetResourceSharesRequest & AddTagFilters(TagFilter &&value)
bool MaxResultsHasBeenSet() const
GetResourceSharesRequest & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetPermissionArn() const
GetResourceSharesRequest & WithNextToken(const Aws::String &value)
GetResourceSharesRequest & WithResourceOwner(const ResourceOwner &value)
bool ResourceOwnerHasBeenSet() const
GetResourceSharesRequest & WithTagFilters(Aws::Vector< TagFilter > &&value)
void SetPermissionArn(Aws::String &&value)
const Aws::String & GetName() const
GetResourceSharesRequest & WithResourceShareArns(const Aws::Vector< Aws::String > &value)
bool PermissionArnHasBeenSet() const
void SetPermissionArn(const Aws::String &value)
int GetPermissionVersion() const
void SetNextToken(Aws::String &&value)
void SetResourceOwner(const ResourceOwner &value)
AWS_RAM_API Aws::String SerializePayload() const override
void SetPermissionArn(const char *value)
GetResourceSharesRequest & WithTagFilters(const Aws::Vector< TagFilter > &value)
bool PermissionVersionHasBeenSet() const
bool ResourceShareArnsHasBeenSet() const
GetResourceSharesRequest & WithName(Aws::String &&value)
void SetResourceShareStatus(const ResourceShareStatus &value)
bool ResourceShareStatusHasBeenSet() const
void SetName(const char *value)
const Aws::Vector< TagFilter > & GetTagFilters() const
GetResourceSharesRequest & WithResourceShareArns(Aws::Vector< Aws::String > &&value)
void SetTagFilters(Aws::Vector< TagFilter > &&value)
void SetNextToken(const char *value)
bool TagFiltersHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector