7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsIamPolicyVersion.h>
43 m_attachmentCountHasBeenSet =
true;
44 m_attachmentCount = value;
60 template <
typename CreateDateT = Aws::String>
62 m_createDateHasBeenSet =
true;
63 m_createDate = std::forward<CreateDateT>(value);
65 template <
typename CreateDateT = Aws::String>
78 template <
typename DefaultVersionIdT = Aws::String>
80 m_defaultVersionIdHasBeenSet =
true;
81 m_defaultVersionId = std::forward<DefaultVersionIdT>(value);
83 template <
typename DefaultVersionIdT = Aws::String>
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
115 m_isAttachableHasBeenSet =
true;
116 m_isAttachable = value;
130 template <
typename PathT = Aws::String>
132 m_pathHasBeenSet =
true;
133 m_path = std::forward<PathT>(value);
135 template <
typename PathT = Aws::String>
137 SetPath(std::forward<PathT>(value));
150 m_permissionsBoundaryUsageCountHasBeenSet =
true;
151 m_permissionsBoundaryUsageCount = value;
165 template <
typename PolicyIdT = Aws::String>
167 m_policyIdHasBeenSet =
true;
168 m_policyId = std::forward<PolicyIdT>(value);
170 template <
typename PolicyIdT = Aws::String>
183 template <
typename PolicyNameT = Aws::String>
185 m_policyNameHasBeenSet =
true;
186 m_policyName = std::forward<PolicyNameT>(value);
188 template <
typename PolicyNameT = Aws::String>
201 template <
typename PolicyVersionListT = Aws::Vector<AwsIamPolicyVersion>>
203 m_policyVersionListHasBeenSet =
true;
204 m_policyVersionList = std::forward<PolicyVersionListT>(value);
206 template <
typename PolicyVersionListT = Aws::Vector<AwsIamPolicyVersion>>
211 template <
typename PolicyVersionListT = AwsIamPolicyVersion>
213 m_policyVersionListHasBeenSet =
true;
214 m_policyVersionList.emplace_back(std::forward<PolicyVersionListT>(value));
227 template <
typename UpdateDateT = Aws::String>
229 m_updateDateHasBeenSet =
true;
230 m_updateDate = std::forward<UpdateDateT>(value);
232 template <
typename UpdateDateT = Aws::String>
239 int m_attachmentCount{0};
247 bool m_isAttachable{
false};
251 int m_permissionsBoundaryUsageCount{0};
260 bool m_attachmentCountHasBeenSet =
false;
261 bool m_createDateHasBeenSet =
false;
262 bool m_defaultVersionIdHasBeenSet =
false;
263 bool m_descriptionHasBeenSet =
false;
264 bool m_isAttachableHasBeenSet =
false;
265 bool m_pathHasBeenSet =
false;
266 bool m_permissionsBoundaryUsageCountHasBeenSet =
false;
267 bool m_policyIdHasBeenSet =
false;
268 bool m_policyNameHasBeenSet =
false;
269 bool m_policyVersionListHasBeenSet =
false;
270 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