7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
69 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
77 bool m_groupNameHasBeenSet =
false;
80 bool m_policyArnHasBeenSet =
false;
const Aws::String & GetPolicyArn() const
AttachGroupPolicyRequest & WithGroupName(const char *value)
void SetPolicyArn(Aws::String &&value)
void SetGroupName(const Aws::String &value)
AttachGroupPolicyRequest & WithPolicyArn(Aws::String &&value)
bool GroupNameHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetGroupName() const
AttachGroupPolicyRequest & WithGroupName(const Aws::String &value)
void SetPolicyArn(const char *value)
void SetGroupName(Aws::String &&value)
AttachGroupPolicyRequest & WithPolicyArn(const Aws::String &value)
bool PolicyArnHasBeenSet() const
AttachGroupPolicyRequest & WithPolicyArn(const char *value)
void SetGroupName(const char *value)
void SetPolicyArn(const Aws::String &value)
AWS_IAM_API AttachGroupPolicyRequest()
virtual const char * GetServiceRequestName() const override
AttachGroupPolicyRequest & WithGroupName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String