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>
49 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
50 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
78 inline void SetCreateDate(
const char* value) { m_createDateHasBeenSet =
true; m_createDate.assign(value); }
92 inline void SetInstanceProfileId(
const char* value) { m_instanceProfileIdHasBeenSet =
true; m_instanceProfileId.assign(value); }
106 inline void SetInstanceProfileName(
const char* value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName.assign(value); }
120 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
142 bool m_arnHasBeenSet =
false;
145 bool m_createDateHasBeenSet =
false;
148 bool m_instanceProfileIdHasBeenSet =
false;
151 bool m_instanceProfileNameHasBeenSet =
false;
154 bool m_pathHasBeenSet =
false;
157 bool m_rolesHasBeenSet =
false;
AwsIamInstanceProfile & WithCreateDate(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamInstanceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
void SetInstanceProfileName(const Aws::String &value)
AwsIamInstanceProfile & WithCreateDate(const Aws::String &value)
void SetInstanceProfileId(Aws::String &&value)
AwsIamInstanceProfile & WithInstanceProfileName(const Aws::String &value)
void SetArn(const char *value)
void SetInstanceProfileId(const Aws::String &value)
void SetInstanceProfileName(const char *value)
AwsIamInstanceProfile & WithInstanceProfileId(const char *value)
void SetInstanceProfileId(const char *value)
const Aws::String & GetCreateDate() const
const Aws::String & GetInstanceProfileId() const
AwsIamInstanceProfile & WithPath(const char *value)
AWS_SECURITYHUB_API AwsIamInstanceProfile(Aws::Utils::Json::JsonView jsonValue)
AwsIamInstanceProfile & AddRoles(AwsIamInstanceProfileRole &&value)
AwsIamInstanceProfile & WithRoles(const Aws::Vector< AwsIamInstanceProfileRole > &value)
bool RolesHasBeenSet() const
AwsIamInstanceProfile & WithArn(const Aws::String &value)
bool CreateDateHasBeenSet() const
const Aws::String & GetPath() const
bool InstanceProfileNameHasBeenSet() const
bool InstanceProfileIdHasBeenSet() const
AwsIamInstanceProfile & WithInstanceProfileName(const char *value)
void SetCreateDate(Aws::String &&value)
void SetPath(const Aws::String &value)
AwsIamInstanceProfile & WithRoles(Aws::Vector< AwsIamInstanceProfileRole > &&value)
const Aws::Vector< AwsIamInstanceProfileRole > & GetRoles() const
void SetRoles(const Aws::Vector< AwsIamInstanceProfileRole > &value)
AwsIamInstanceProfile & WithInstanceProfileId(const Aws::String &value)
bool PathHasBeenSet() const
AwsIamInstanceProfile & WithInstanceProfileName(Aws::String &&value)
void SetRoles(Aws::Vector< AwsIamInstanceProfileRole > &&value)
void SetPath(const char *value)
void SetCreateDate(const Aws::String &value)
void SetArn(Aws::String &&value)
AwsIamInstanceProfile & WithCreateDate(const char *value)
void SetInstanceProfileName(Aws::String &&value)
AwsIamInstanceProfile & AddRoles(const AwsIamInstanceProfileRole &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPath(Aws::String &&value)
const Aws::String & GetInstanceProfileName() const
AWS_SECURITYHUB_API AwsIamInstanceProfile()
AwsIamInstanceProfile & WithArn(const char *value)
AwsIamInstanceProfile & WithArn(Aws::String &&value)
AwsIamInstanceProfile & WithPath(const Aws::String &value)
void SetCreateDate(const char *value)
AwsIamInstanceProfile & WithPath(Aws::String &&value)
bool ArnHasBeenSet() const
AwsIamInstanceProfile & WithInstanceProfileId(Aws::String &&value)
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