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/AwsIamPolicyVersion.h>
48 inline void SetAttachmentCount(
int value) { m_attachmentCountHasBeenSet =
true; m_attachmentCount = value; }
60 template<
typename CreateDateT = Aws::String>
61 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
62 template<
typename CreateDateT = Aws::String>
72 template<
typename DefaultVersionIdT = Aws::String>
73 void SetDefaultVersionId(DefaultVersionIdT&& value) { m_defaultVersionIdHasBeenSet =
true; m_defaultVersionId = std::forward<DefaultVersionIdT>(value); }
74 template<
typename DefaultVersionIdT = Aws::String>
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
96 inline void SetIsAttachable(
bool value) { m_isAttachableHasBeenSet =
true; m_isAttachable = value; }
106 template<
typename PathT = Aws::String>
107 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
108 template<
typename PathT = Aws::String>
129 template<
typename PolicyIdT = Aws::String>
130 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
131 template<
typename PolicyIdT = Aws::String>
141 template<
typename PolicyNameT = Aws::String>
142 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
143 template<
typename PolicyNameT = Aws::String>
153 template<
typename PolicyVersionListT = Aws::Vector<AwsIamPolicyVersion>>
154 void SetPolicyVersionList(PolicyVersionListT&& value) { m_policyVersionListHasBeenSet =
true; m_policyVersionList = std::forward<PolicyVersionListT>(value); }
155 template<
typename PolicyVersionListT = Aws::Vector<AwsIamPolicyVersion>>
157 template<
typename PolicyVersionListT = AwsIamPolicyVersion>
169 template<
typename UpdateDateT = Aws::String>
170 void SetUpdateDate(UpdateDateT&& value) { m_updateDateHasBeenSet =
true; m_updateDate = std::forward<UpdateDateT>(value); }
171 template<
typename UpdateDateT = Aws::String>
176 int m_attachmentCount{0};
177 bool m_attachmentCountHasBeenSet =
false;
180 bool m_createDateHasBeenSet =
false;
183 bool m_defaultVersionIdHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
188 bool m_isAttachable{
false};
189 bool m_isAttachableHasBeenSet =
false;
192 bool m_pathHasBeenSet =
false;
194 int m_permissionsBoundaryUsageCount{0};
195 bool m_permissionsBoundaryUsageCountHasBeenSet =
false;
198 bool m_policyIdHasBeenSet =
false;
201 bool m_policyNameHasBeenSet =
false;
204 bool m_policyVersionListHasBeenSet =
false;
207 bool m_updateDateHasBeenSet =
false;
bool UpdateDateHasBeenSet() const
bool GetIsAttachable() const
bool PolicyNameHasBeenSet() const
AwsIamPolicyDetails & WithCreateDate(CreateDateT &&value)
bool CreateDateHasBeenSet() const
void SetIsAttachable(bool value)
int GetAttachmentCount() const
AwsIamPolicyDetails & WithPolicyVersionList(PolicyVersionListT &&value)
void SetPath(PathT &&value)
const Aws::String & GetUpdateDate() const
AwsIamPolicyDetails & WithDescription(DescriptionT &&value)
AWS_SECURITYHUB_API AwsIamPolicyDetails()=default
AwsIamPolicyDetails & WithUpdateDate(UpdateDateT &&value)
AWS_SECURITYHUB_API AwsIamPolicyDetails(Aws::Utils::Json::JsonView jsonValue)
bool DefaultVersionIdHasBeenSet() const
AwsIamPolicyDetails & WithPermissionsBoundaryUsageCount(int value)
bool PermissionsBoundaryUsageCountHasBeenSet() const
void SetPolicyId(PolicyIdT &&value)
AwsIamPolicyDetails & WithAttachmentCount(int value)
void SetCreateDate(CreateDateT &&value)
void SetUpdateDate(UpdateDateT &&value)
const Aws::String & GetCreateDate() const
const Aws::Vector< AwsIamPolicyVersion > & GetPolicyVersionList() const
bool DescriptionHasBeenSet() const
void SetPolicyName(PolicyNameT &&value)
AwsIamPolicyDetails & AddPolicyVersionList(PolicyVersionListT &&value)
void SetDefaultVersionId(DefaultVersionIdT &&value)
AWS_SECURITYHUB_API AwsIamPolicyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
AwsIamPolicyDetails & WithPolicyId(PolicyIdT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
void SetPolicyVersionList(PolicyVersionListT &&value)
int GetPermissionsBoundaryUsageCount() const
void SetPermissionsBoundaryUsageCount(int value)
AwsIamPolicyDetails & WithPath(PathT &&value)
const Aws::String & GetDefaultVersionId() const
bool PolicyIdHasBeenSet() const
bool PolicyVersionListHasBeenSet() const
AwsIamPolicyDetails & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyId() const
const Aws::String & GetPath() const
void SetAttachmentCount(int value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetPolicyName() const
AwsIamPolicyDetails & WithIsAttachable(bool value)
bool IsAttachableHasBeenSet() const
bool AttachmentCountHasBeenSet() const
AwsIamPolicyDetails & WithDefaultVersionId(DefaultVersionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue