7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/AccessAdvisorUsageGranularityType.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "GenerateServiceLastAccessedDetails"; }
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
75 bool m_arnHasBeenSet =
false;
78 bool m_granularityHasBeenSet =
false;
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API GenerateServiceLastAccessedDetailsRequest()
GenerateServiceLastAccessedDetailsRequest & WithArn(Aws::String &&value)
GenerateServiceLastAccessedDetailsRequest & WithArn(const char *value)
bool ArnHasBeenSet() const
void SetGranularity(AccessAdvisorUsageGranularityType &&value)
const Aws::String & GetArn() const
GenerateServiceLastAccessedDetailsRequest & WithGranularity(AccessAdvisorUsageGranularityType &&value)
GenerateServiceLastAccessedDetailsRequest & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
const AccessAdvisorUsageGranularityType & GetGranularity() const
GenerateServiceLastAccessedDetailsRequest & WithGranularity(const AccessAdvisorUsageGranularityType &value)
bool GranularityHasBeenSet() const
void SetArn(const char *value)
AWS_IAM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetGranularity(const AccessAdvisorUsageGranularityType &value)
void SetArn(const Aws::String &value)
AccessAdvisorUsageGranularityType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String