7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
41 template <
typename PolicyNameT = Aws::String>
43 m_policyNameHasBeenSet =
true;
44 m_policyName = std::forward<PolicyNameT>(value);
46 template <
typename PolicyNameT = Aws::String>
59 template <
typename PolicyArnT = Aws::String>
61 m_policyArnHasBeenSet =
true;
62 m_policyArn = std::forward<PolicyArnT>(value);
64 template <
typename PolicyArnT = Aws::String>
74 bool m_policyNameHasBeenSet =
false;
75 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