7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ram/model/ResourceShareAssociationStatus.h>
11#include <aws/ram/model/PermissionFeatureSet.h>
47 inline void SetPermissionArn(
const char* value) { m_permissionArnHasBeenSet =
true; m_permissionArn.assign(value); }
62 inline void SetPermissionVersion(
int value) { m_permissionVersionHasBeenSet =
true; m_permissionVersion = value; }
88 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
117 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = 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; }
159 bool m_permissionArnHasBeenSet =
false;
161 int m_permissionVersion;
162 bool m_permissionVersionHasBeenSet =
false;
165 bool m_associationStatusHasBeenSet =
false;
168 bool m_resourceTypeHasBeenSet =
false;
171 bool m_featureSetHasBeenSet =
false;
173 bool m_defaultVersion;
174 bool m_defaultVersionHasBeenSet =
false;
177 bool m_nextTokenHasBeenSet =
false;
180 bool m_maxResultsHasBeenSet =
false;
void SetResourceType(const char *value)
void SetNextToken(Aws::String &&value)
void SetPermissionArn(const Aws::String &value)
ListPermissionAssociationsRequest & WithPermissionVersion(int value)
const Aws::String & GetNextToken() const
ListPermissionAssociationsRequest & WithResourceType(const Aws::String &value)
void SetNextToken(const char *value)
bool ResourceTypeHasBeenSet() const
ListPermissionAssociationsRequest & WithFeatureSet(PermissionFeatureSet &&value)
const Aws::String & GetResourceType() const
const ResourceShareAssociationStatus & GetAssociationStatus() const
ListPermissionAssociationsRequest & WithPermissionArn(const Aws::String &value)
ListPermissionAssociationsRequest & WithDefaultVersion(bool value)
void SetFeatureSet(PermissionFeatureSet &&value)
ListPermissionAssociationsRequest & WithResourceType(Aws::String &&value)
bool AssociationStatusHasBeenSet() const
ListPermissionAssociationsRequest & WithNextToken(const char *value)
AWS_RAM_API Aws::String SerializePayload() const override
bool NextTokenHasBeenSet() const
int GetMaxResults() const
bool DefaultVersionHasBeenSet() const
void SetResourceType(const Aws::String &value)
void SetResourceType(Aws::String &&value)
bool MaxResultsHasBeenSet() const
ListPermissionAssociationsRequest & WithMaxResults(int value)
void SetFeatureSet(const PermissionFeatureSet &value)
ListPermissionAssociationsRequest & WithPermissionArn(const char *value)
const Aws::String & GetPermissionArn() const
void SetMaxResults(int value)
AWS_RAM_API ListPermissionAssociationsRequest()
virtual const char * GetServiceRequestName() const override
const PermissionFeatureSet & GetFeatureSet() const
ListPermissionAssociationsRequest & WithAssociationStatus(const ResourceShareAssociationStatus &value)
ListPermissionAssociationsRequest & WithResourceType(const char *value)
void SetDefaultVersion(bool value)
bool GetDefaultVersion() const
ListPermissionAssociationsRequest & WithAssociationStatus(ResourceShareAssociationStatus &&value)
ListPermissionAssociationsRequest & WithPermissionArn(Aws::String &&value)
ListPermissionAssociationsRequest & WithFeatureSet(const PermissionFeatureSet &value)
bool FeatureSetHasBeenSet() const
ListPermissionAssociationsRequest & WithNextToken(const Aws::String &value)
void SetPermissionVersion(int value)
ListPermissionAssociationsRequest & WithNextToken(Aws::String &&value)
void SetAssociationStatus(ResourceShareAssociationStatus &&value)
bool PermissionVersionHasBeenSet() const
void SetPermissionArn(const char *value)
int GetPermissionVersion() const
bool PermissionArnHasBeenSet() const
void SetNextToken(const Aws::String &value)
void SetAssociationStatus(const ResourceShareAssociationStatus &value)
void SetPermissionArn(Aws::String &&value)
ResourceShareAssociationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String