7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
49 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
63 inline void SetAssumeRolePolicyDocument(
const char* value) { m_assumeRolePolicyDocumentHasBeenSet =
true; m_assumeRolePolicyDocument.assign(value); }
91 inline void SetCreateDate(
const char* value) { m_createDateHasBeenSet =
true; m_createDate.assign(value); }
105 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
119 inline void SetRoleId(
const char* value) { m_roleIdHasBeenSet =
true; m_roleId.assign(value); }
133 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
141 bool m_arnHasBeenSet =
false;
144 bool m_assumeRolePolicyDocumentHasBeenSet =
false;
147 bool m_createDateHasBeenSet =
false;
150 bool m_pathHasBeenSet =
false;
153 bool m_roleIdHasBeenSet =
false;
156 bool m_roleNameHasBeenSet =
false;
AwsIamInstanceProfileRole & WithRoleName(const char *value)
void SetAssumeRolePolicyDocument(Aws::String &&value)
AwsIamInstanceProfileRole & WithAssumeRolePolicyDocument(const char *value)
void SetRoleId(const char *value)
AwsIamInstanceProfileRole & WithCreateDate(Aws::String &&value)
const Aws::String & GetArn() const
void SetArn(const char *value)
const Aws::String & GetCreateDate() const
void SetRoleId(const Aws::String &value)
bool PathHasBeenSet() const
AwsIamInstanceProfileRole & WithArn(Aws::String &&value)
AwsIamInstanceProfileRole & WithRoleId(const char *value)
const Aws::String & GetRoleName() const
AwsIamInstanceProfileRole & WithPath(const Aws::String &value)
bool CreateDateHasBeenSet() const
void SetCreateDate(const char *value)
void SetRoleId(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(const Aws::String &value)
AwsIamInstanceProfileRole & WithPath(const char *value)
void SetRoleName(const char *value)
AwsIamInstanceProfileRole & WithAssumeRolePolicyDocument(Aws::String &&value)
void SetPath(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamInstanceProfileRole(Aws::Utils::Json::JsonView jsonValue)
AwsIamInstanceProfileRole & WithRoleId(Aws::String &&value)
void SetCreateDate(Aws::String &&value)
void SetPath(const Aws::String &value)
AwsIamInstanceProfileRole & WithRoleId(const Aws::String &value)
AWS_SECURITYHUB_API AwsIamInstanceProfileRole()
AwsIamInstanceProfileRole & WithCreateDate(const Aws::String &value)
AwsIamInstanceProfileRole & WithAssumeRolePolicyDocument(const Aws::String &value)
bool ArnHasBeenSet() const
AwsIamInstanceProfileRole & WithRoleName(Aws::String &&value)
AwsIamInstanceProfileRole & WithCreateDate(const char *value)
AwsIamInstanceProfileRole & WithPath(Aws::String &&value)
const Aws::String & GetPath() const
void SetRoleName(const Aws::String &value)
void SetRoleName(Aws::String &&value)
void SetAssumeRolePolicyDocument(const char *value)
bool RoleNameHasBeenSet() const
const Aws::String & GetAssumeRolePolicyDocument() const
void SetAssumeRolePolicyDocument(const Aws::String &value)
void SetCreateDate(const Aws::String &value)
AwsIamInstanceProfileRole & WithArn(const Aws::String &value)
AwsIamInstanceProfileRole & WithRoleName(const Aws::String &value)
AwsIamInstanceProfileRole & WithArn(const char *value)
bool AssumeRolePolicyDocumentHasBeenSet() const
void SetArn(Aws::String &&value)
const Aws::String & GetRoleId() const
void SetPath(const char *value)
bool RoleIdHasBeenSet() const
AWS_SECURITYHUB_API AwsIamInstanceProfileRole & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue