7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
49 template<
typename ArnT = Aws::String>
59 template<
typename AssumeRolePolicyDocumentT = Aws::String>
60 void SetAssumeRolePolicyDocument(AssumeRolePolicyDocumentT&& value) { m_assumeRolePolicyDocumentHasBeenSet =
true; m_assumeRolePolicyDocument = std::forward<AssumeRolePolicyDocumentT>(value); }
61 template<
typename AssumeRolePolicyDocumentT = Aws::String>
73 template<
typename CreateDateT = Aws::String>
74 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
75 template<
typename CreateDateT = Aws::String>
85 template<
typename PathT = Aws::String>
86 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
87 template<
typename PathT = Aws::String>
97 template<
typename RoleIdT = Aws::String>
98 void SetRoleId(RoleIdT&& value) { m_roleIdHasBeenSet =
true; m_roleId = std::forward<RoleIdT>(value); }
99 template<
typename RoleIdT = Aws::String>
109 template<
typename RoleNameT = Aws::String>
110 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
111 template<
typename RoleNameT = Aws::String>
117 bool m_arnHasBeenSet =
false;
120 bool m_assumeRolePolicyDocumentHasBeenSet =
false;
123 bool m_createDateHasBeenSet =
false;
126 bool m_pathHasBeenSet =
false;
129 bool m_roleIdHasBeenSet =
false;
132 bool m_roleNameHasBeenSet =
false;
const Aws::String & GetArn() const
AwsIamInstanceProfileRole & WithAssumeRolePolicyDocument(AssumeRolePolicyDocumentT &&value)
void SetCreateDate(CreateDateT &&value)
void SetRoleId(RoleIdT &&value)
const Aws::String & GetCreateDate() const
bool PathHasBeenSet() const
const Aws::String & GetRoleName() const
bool CreateDateHasBeenSet() const
void SetRoleName(RoleNameT &&value)
void SetArn(ArnT &&value)
void SetPath(PathT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsIamInstanceProfileRole & WithRoleId(RoleIdT &&value)
AWS_SECURITYHUB_API AwsIamInstanceProfileRole(Aws::Utils::Json::JsonView jsonValue)
AwsIamInstanceProfileRole & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetPath() const
bool RoleNameHasBeenSet() const
const Aws::String & GetAssumeRolePolicyDocument() const
AwsIamInstanceProfileRole & WithPath(PathT &&value)
AWS_SECURITYHUB_API AwsIamInstanceProfileRole()=default
AwsIamInstanceProfileRole & WithRoleName(RoleNameT &&value)
bool AssumeRolePolicyDocumentHasBeenSet() const
AwsIamInstanceProfileRole & WithCreateDate(CreateDateT &&value)
const Aws::String & GetRoleId() const
bool RoleIdHasBeenSet() const
void SetAssumeRolePolicyDocument(AssumeRolePolicyDocumentT &&value)
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