7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/SsmSapRequest.h>
9#include <aws/ssm-sap/model/PermissionActionType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
56 inline void SetSourceResourceArn(
const char* value) { m_sourceResourceArnHasBeenSet =
true; m_sourceResourceArn.assign(value); }
70 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
78 bool m_actionTypeHasBeenSet =
false;
81 bool m_sourceResourceArnHasBeenSet =
false;
84 bool m_resourceArnHasBeenSet =
false;
bool SourceResourceArnHasBeenSet() const
void SetResourceArn(const char *value)
DeleteResourcePermissionRequest & WithResourceArn(const Aws::String &value)
void SetSourceResourceArn(const char *value)
DeleteResourcePermissionRequest & WithActionType(const PermissionActionType &value)
const Aws::String & GetSourceResourceArn() const
void SetActionType(const PermissionActionType &value)
AWS_SSMSAP_API DeleteResourcePermissionRequest()
DeleteResourcePermissionRequest & WithSourceResourceArn(Aws::String &&value)
AWS_SSMSAP_API Aws::String SerializePayload() const override
const PermissionActionType & GetActionType() const
void SetActionType(PermissionActionType &&value)
DeleteResourcePermissionRequest & WithResourceArn(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteResourcePermissionRequest & WithSourceResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
DeleteResourcePermissionRequest & WithSourceResourceArn(const char *value)
void SetSourceResourceArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetResourceArn(Aws::String &&value)
void SetSourceResourceArn(Aws::String &&value)
DeleteResourcePermissionRequest & WithActionType(PermissionActionType &&value)
DeleteResourcePermissionRequest & WithResourceArn(Aws::String &&value)
bool ActionTypeHasBeenSet() const
void SetResourceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String