7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
53 bool m_roleArnHasBeenSet =
false;
void SetRoleArn(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
AWS_GREENGRASSV2_API AssociateServiceRoleToAccountRequest()
void SetRoleArn(const char *value)
AssociateServiceRoleToAccountRequest & WithRoleArn(const char *value)
virtual const char * GetServiceRequestName() const override
bool RoleArnHasBeenSet() const
AssociateServiceRoleToAccountRequest & WithRoleArn(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
AssociateServiceRoleToAccountRequest & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String