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/AwsIamInstanceProfileRole.h>
48 template<
typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
50 template<
typename ArnT = Aws::String>
62 template<
typename CreateDateT = Aws::String>
63 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
64 template<
typename CreateDateT = Aws::String>
74 template<
typename InstanceProfileIdT = Aws::String>
75 void SetInstanceProfileId(InstanceProfileIdT&& value) { m_instanceProfileIdHasBeenSet =
true; m_instanceProfileId = std::forward<InstanceProfileIdT>(value); }
76 template<
typename InstanceProfileIdT = Aws::String>
86 template<
typename InstanceProfileNameT = Aws::String>
87 void SetInstanceProfileName(InstanceProfileNameT&& value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName = std::forward<InstanceProfileNameT>(value); }
88 template<
typename InstanceProfileNameT = Aws::String>
98 template<
typename PathT = Aws::String>
99 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
100 template<
typename PathT = Aws::String>
110 template<
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
111 void SetRoles(RolesT&& value) { m_rolesHasBeenSet =
true; m_roles = std::forward<RolesT>(value); }
112 template<
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
114 template<
typename RolesT = AwsIamInstanceProfileRole>
120 bool m_arnHasBeenSet =
false;
123 bool m_createDateHasBeenSet =
false;
126 bool m_instanceProfileIdHasBeenSet =
false;
129 bool m_instanceProfileNameHasBeenSet =
false;
132 bool m_pathHasBeenSet =
false;
135 bool m_rolesHasBeenSet =
false;
AWS_SECURITYHUB_API AwsIamInstanceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceProfileId(InstanceProfileIdT &&value)
AwsIamInstanceProfile & WithPath(PathT &&value)
void SetPath(PathT &&value)
AwsIamInstanceProfile & WithInstanceProfileName(InstanceProfileNameT &&value)
AwsIamInstanceProfile & WithArn(ArnT &&value)
AwsIamInstanceProfile & WithRoles(RolesT &&value)
AwsIamInstanceProfile & AddRoles(RolesT &&value)
const Aws::String & GetCreateDate() const
AWS_SECURITYHUB_API AwsIamInstanceProfile()=default
const Aws::String & GetInstanceProfileId() const
AWS_SECURITYHUB_API AwsIamInstanceProfile(Aws::Utils::Json::JsonView jsonValue)
AwsIamInstanceProfile & WithCreateDate(CreateDateT &&value)
bool RolesHasBeenSet() const
bool CreateDateHasBeenSet() const
const Aws::String & GetPath() const
void SetCreateDate(CreateDateT &&value)
bool InstanceProfileNameHasBeenSet() const
void SetInstanceProfileName(InstanceProfileNameT &&value)
AwsIamInstanceProfile & WithInstanceProfileId(InstanceProfileIdT &&value)
bool InstanceProfileIdHasBeenSet() const
const Aws::Vector< AwsIamInstanceProfileRole > & GetRoles() const
void SetRoles(RolesT &&value)
bool PathHasBeenSet() const
void SetArn(ArnT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInstanceProfileName() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue