7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsIamPermissionsBoundary.h>
11#include <aws/securityhub/model/AwsIamAttachedManagedPolicy.h>
12#include <aws/securityhub/model/AwsIamInstanceProfile.h>
13#include <aws/securityhub/model/AwsIamRolePolicy.h>
54 inline void SetAssumeRolePolicyDocument(
const char* value) { m_assumeRolePolicyDocumentHasBeenSet =
true; m_assumeRolePolicyDocument.assign(value); }
96 inline void SetCreateDate(
const char* value) { m_createDateHasBeenSet =
true; m_createDate.assign(value); }
134 inline void SetRoleId(
const char* value) { m_roleIdHasBeenSet =
true; m_roleId.assign(value); }
148 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
175 inline void SetMaxSessionDuration(
int value) { m_maxSessionDurationHasBeenSet =
true; m_maxSessionDuration = value; }
187 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
195 bool m_assumeRolePolicyDocumentHasBeenSet =
false;
198 bool m_attachedManagedPoliciesHasBeenSet =
false;
201 bool m_createDateHasBeenSet =
false;
204 bool m_instanceProfileListHasBeenSet =
false;
207 bool m_permissionsBoundaryHasBeenSet =
false;
210 bool m_roleIdHasBeenSet =
false;
213 bool m_roleNameHasBeenSet =
false;
216 bool m_rolePolicyListHasBeenSet =
false;
218 int m_maxSessionDuration;
219 bool m_maxSessionDurationHasBeenSet =
false;
222 bool m_pathHasBeenSet =
false;
bool RoleNameHasBeenSet() const
AwsIamRoleDetails & WithRoleName(const char *value)
void SetInstanceProfileList(const Aws::Vector< AwsIamInstanceProfile > &value)
void SetRoleId(Aws::String &&value)
AwsIamRoleDetails & WithRoleId(const Aws::String &value)
AwsIamRoleDetails & WithAttachedManagedPolicies(Aws::Vector< AwsIamAttachedManagedPolicy > &&value)
AwsIamRoleDetails & WithPermissionsBoundary(const AwsIamPermissionsBoundary &value)
AwsIamRoleDetails & WithPermissionsBoundary(AwsIamPermissionsBoundary &&value)
const Aws::Vector< AwsIamInstanceProfile > & GetInstanceProfileList() const
void SetRoleId(const Aws::String &value)
const Aws::String & GetRoleName() const
void SetPermissionsBoundary(AwsIamPermissionsBoundary &&value)
void SetPermissionsBoundary(const AwsIamPermissionsBoundary &value)
void SetPath(Aws::String &&value)
AwsIamRoleDetails & AddInstanceProfileList(const AwsIamInstanceProfile &value)
void SetAssumeRolePolicyDocument(const Aws::String &value)
AwsIamRoleDetails & AddInstanceProfileList(AwsIamInstanceProfile &&value)
AwsIamRoleDetails & WithRolePolicyList(const Aws::Vector< AwsIamRolePolicy > &value)
AWS_SECURITYHUB_API AwsIamRoleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
void SetRoleName(const Aws::String &value)
void SetAssumeRolePolicyDocument(Aws::String &&value)
AwsIamRoleDetails & WithRoleName(const Aws::String &value)
const Aws::String & GetPath() const
AwsIamRoleDetails & WithAssumeRolePolicyDocument(const Aws::String &value)
void SetRolePolicyList(const Aws::Vector< AwsIamRolePolicy > &value)
AwsIamRoleDetails & WithRoleName(Aws::String &&value)
void SetMaxSessionDuration(int value)
void SetCreateDate(const char *value)
AwsIamRoleDetails & WithCreateDate(Aws::String &&value)
void SetRolePolicyList(Aws::Vector< AwsIamRolePolicy > &&value)
bool AttachedManagedPoliciesHasBeenSet() const
AwsIamRoleDetails & AddRolePolicyList(AwsIamRolePolicy &&value)
AwsIamRoleDetails & AddAttachedManagedPolicies(const AwsIamAttachedManagedPolicy &value)
void SetInstanceProfileList(Aws::Vector< AwsIamInstanceProfile > &&value)
void SetRoleId(const char *value)
bool InstanceProfileListHasBeenSet() const
AwsIamRoleDetails & WithRolePolicyList(Aws::Vector< AwsIamRolePolicy > &&value)
AwsIamRoleDetails & WithRoleId(const char *value)
AwsIamRoleDetails & AddRolePolicyList(const AwsIamRolePolicy &value)
AWS_SECURITYHUB_API AwsIamRoleDetails()
AwsIamRoleDetails & WithAssumeRolePolicyDocument(Aws::String &&value)
void SetAttachedManagedPolicies(const Aws::Vector< AwsIamAttachedManagedPolicy > &value)
void SetRoleName(Aws::String &&value)
AwsIamRoleDetails & WithAssumeRolePolicyDocument(const char *value)
AwsIamRoleDetails & WithRoleId(Aws::String &&value)
const Aws::Vector< AwsIamAttachedManagedPolicy > & GetAttachedManagedPolicies() const
AwsIamRoleDetails & WithMaxSessionDuration(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateDate(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamRoleDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCreateDate() const
void SetPath(const Aws::String &value)
AwsIamRoleDetails & AddAttachedManagedPolicies(AwsIamAttachedManagedPolicy &&value)
bool MaxSessionDurationHasBeenSet() const
bool CreateDateHasBeenSet() const
AwsIamRoleDetails & WithPath(const char *value)
int GetMaxSessionDuration() const
bool PermissionsBoundaryHasBeenSet() const
AwsIamRoleDetails & WithPath(const Aws::String &value)
const Aws::Vector< AwsIamRolePolicy > & GetRolePolicyList() const
void SetCreateDate(const Aws::String &value)
bool AssumeRolePolicyDocumentHasBeenSet() const
AwsIamRoleDetails & WithCreateDate(const Aws::String &value)
const Aws::String & GetAssumeRolePolicyDocument() const
bool RoleIdHasBeenSet() const
void SetAssumeRolePolicyDocument(const char *value)
void SetAttachedManagedPolicies(Aws::Vector< AwsIamAttachedManagedPolicy > &&value)
bool RolePolicyListHasBeenSet() const
const Aws::String & GetRoleId() const
AwsIamRoleDetails & WithPath(Aws::String &&value)
const AwsIamPermissionsBoundary & GetPermissionsBoundary() const
AwsIamRoleDetails & WithInstanceProfileList(Aws::Vector< AwsIamInstanceProfile > &&value)
AwsIamRoleDetails & WithInstanceProfileList(const Aws::Vector< AwsIamInstanceProfile > &value)
AwsIamRoleDetails & WithAttachedManagedPolicies(const Aws::Vector< AwsIamAttachedManagedPolicy > &value)
AwsIamRoleDetails & WithCreateDate(const char *value)
void SetRoleName(const char *value)
void SetPath(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue