7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsIamInstanceProfileRole.h>
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
62 template <
typename CreateDateT = Aws::String>
64 m_createDateHasBeenSet =
true;
65 m_createDate = std::forward<CreateDateT>(value);
67 template <
typename CreateDateT = Aws::String>
80 template <
typename InstanceProfileIdT = Aws::String>
82 m_instanceProfileIdHasBeenSet =
true;
83 m_instanceProfileId = std::forward<InstanceProfileIdT>(value);
85 template <
typename InstanceProfileIdT = Aws::String>
98 template <
typename InstanceProfileNameT = Aws::String>
100 m_instanceProfileNameHasBeenSet =
true;
101 m_instanceProfileName = std::forward<InstanceProfileNameT>(value);
103 template <
typename InstanceProfileNameT = Aws::String>
116 template <
typename PathT = Aws::String>
118 m_pathHasBeenSet =
true;
119 m_path = std::forward<PathT>(value);
121 template <
typename PathT = Aws::String>
123 SetPath(std::forward<PathT>(value));
134 template <
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
136 m_rolesHasBeenSet =
true;
137 m_roles = std::forward<RolesT>(value);
139 template <
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
141 SetRoles(std::forward<RolesT>(value));
144 template <
typename RolesT = AwsIamInstanceProfileRole>
146 m_rolesHasBeenSet =
true;
147 m_roles.emplace_back(std::forward<RolesT>(value));
163 bool m_arnHasBeenSet =
false;
164 bool m_createDateHasBeenSet =
false;
165 bool m_instanceProfileIdHasBeenSet =
false;
166 bool m_instanceProfileNameHasBeenSet =
false;
167 bool m_pathHasBeenSet =
false;
168 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