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));
63 template <
typename CreateDateT = Aws::String>
65 m_createDateHasBeenSet =
true;
66 m_createDate = std::forward<CreateDateT>(value);
68 template <
typename CreateDateT = Aws::String>
81 template <
typename InstanceProfileIdT = Aws::String>
83 m_instanceProfileIdHasBeenSet =
true;
84 m_instanceProfileId = std::forward<InstanceProfileIdT>(value);
86 template <
typename InstanceProfileIdT = Aws::String>
99 template <
typename InstanceProfileNameT = Aws::String>
101 m_instanceProfileNameHasBeenSet =
true;
102 m_instanceProfileName = std::forward<InstanceProfileNameT>(value);
104 template <
typename InstanceProfileNameT = Aws::String>
117 template <
typename PathT = Aws::String>
119 m_pathHasBeenSet =
true;
120 m_path = std::forward<PathT>(value);
122 template <
typename PathT = Aws::String>
124 SetPath(std::forward<PathT>(value));
135 template <
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
137 m_rolesHasBeenSet =
true;
138 m_roles = std::forward<RolesT>(value);
140 template <
typename RolesT = Aws::Vector<AwsIamInstanceProfileRole>>
142 SetRoles(std::forward<RolesT>(value));
145 template <
typename RolesT = AwsIamInstanceProfileRole>
147 m_rolesHasBeenSet =
true;
148 m_roles.emplace_back(std::forward<RolesT>(value));
164 bool m_arnHasBeenSet =
false;
165 bool m_createDateHasBeenSet =
false;
166 bool m_instanceProfileIdHasBeenSet =
false;
167 bool m_instanceProfileNameHasBeenSet =
false;
168 bool m_pathHasBeenSet =
false;
169 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