7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
63 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
71 bool m_policyNameHasBeenSet =
false;
74 bool m_policyArnHasBeenSet =
false;
bool PolicyArnHasBeenSet() const
AwsIamAttachedManagedPolicy & WithPolicyName(const Aws::String &value)
const Aws::String & GetPolicyName() const
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy(Aws::Utils::Json::JsonView jsonValue)
AwsIamAttachedManagedPolicy & WithPolicyArn(Aws::String &&value)
AwsIamAttachedManagedPolicy & WithPolicyName(const char *value)
void SetPolicyName(Aws::String &&value)
void SetPolicyName(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PolicyNameHasBeenSet() const
void SetPolicyArn(const Aws::String &value)
const Aws::String & GetPolicyArn() const
AwsIamAttachedManagedPolicy & WithPolicyArn(const Aws::String &value)
void SetPolicyArn(const char *value)
AwsIamAttachedManagedPolicy & WithPolicyArn(const char *value)
void SetPolicyArn(Aws::String &&value)
AwsIamAttachedManagedPolicy & WithPolicyName(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy()
void SetPolicyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue