7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename PolicyNameT = Aws::String>
48 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
49 template<
typename PolicyNameT = Aws::String>
59 template<
typename PolicyArnT = Aws::String>
60 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
61 template<
typename PolicyArnT = Aws::String>
67 bool m_policyNameHasBeenSet =
false;
70 bool m_policyArnHasBeenSet =
false;
bool PolicyArnHasBeenSet() const
const Aws::String & GetPolicyName() const
AwsIamAttachedManagedPolicy & WithPolicyName(PolicyNameT &&value)
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsIamAttachedManagedPolicy & WithPolicyArn(PolicyArnT &&value)
bool PolicyNameHasBeenSet() const
const Aws::String & GetPolicyArn() const
void SetPolicyName(PolicyNameT &&value)
void SetPolicyArn(PolicyArnT &&value)
AWS_SECURITYHUB_API AwsIamAttachedManagedPolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue