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; }
73 inline void SetCreateDate(
const char* value) { m_createDateHasBeenSet =
true; m_createDate.assign(value); }
87 inline void SetDefaultVersionId(
const char* value) { m_defaultVersionIdHasBeenSet =
true; m_defaultVersionId.assign(value); }
101 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
113 inline void SetIsAttachable(
bool value) { m_isAttachableHasBeenSet =
true; m_isAttachable = value; }
125 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
150 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
164 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
206 inline void SetUpdateDate(
const char* value) { m_updateDateHasBeenSet =
true; m_updateDate.assign(value); }
213 int m_attachmentCount;
214 bool m_attachmentCountHasBeenSet =
false;
217 bool m_createDateHasBeenSet =
false;
220 bool m_defaultVersionIdHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
226 bool m_isAttachableHasBeenSet =
false;
229 bool m_pathHasBeenSet =
false;
231 int m_permissionsBoundaryUsageCount;
232 bool m_permissionsBoundaryUsageCountHasBeenSet =
false;
235 bool m_policyIdHasBeenSet =
false;
238 bool m_policyNameHasBeenSet =
false;
241 bool m_policyVersionListHasBeenSet =
false;
244 bool m_updateDateHasBeenSet =
false;
AwsIamPolicyDetails & WithPolicyId(Aws::String &&value)
AwsIamPolicyDetails & WithPolicyId(const char *value)
AwsIamPolicyDetails & WithDescription(const Aws::String &value)
bool UpdateDateHasBeenSet() const
bool GetIsAttachable() const
bool PolicyNameHasBeenSet() const
AwsIamPolicyDetails & WithUpdateDate(const Aws::String &value)
AwsIamPolicyDetails & WithCreateDate(Aws::String &&value)
void SetPolicyName(Aws::String &&value)
bool CreateDateHasBeenSet() const
void SetIsAttachable(bool value)
AwsIamPolicyDetails & AddPolicyVersionList(const AwsIamPolicyVersion &value)
int GetAttachmentCount() const
AwsIamPolicyDetails & WithUpdateDate(Aws::String &&value)
void SetPolicyVersionList(const Aws::Vector< AwsIamPolicyVersion > &value)
void SetPolicyVersionList(Aws::Vector< AwsIamPolicyVersion > &&value)
AwsIamPolicyDetails & WithPath(const Aws::String &value)
const Aws::String & GetUpdateDate() const
AwsIamPolicyDetails & WithDescription(const char *value)
void SetPolicyName(const char *value)
AwsIamPolicyDetails & WithCreateDate(const char *value)
void SetPath(const char *value)
AwsIamPolicyDetails & WithPolicyName(Aws::String &&value)
AwsIamPolicyDetails & AddPolicyVersionList(AwsIamPolicyVersion &&value)
AwsIamPolicyDetails & WithDefaultVersionId(const Aws::String &value)
void SetPolicyId(const Aws::String &value)
void SetPolicyName(const Aws::String &value)
void SetPath(const Aws::String &value)
AWS_SECURITYHUB_API AwsIamPolicyDetails(Aws::Utils::Json::JsonView jsonValue)
bool DefaultVersionIdHasBeenSet() const
AwsIamPolicyDetails & WithPermissionsBoundaryUsageCount(int value)
bool PermissionsBoundaryUsageCountHasBeenSet() const
void SetCreateDate(Aws::String &&value)
AwsIamPolicyDetails & WithPolicyId(const Aws::String &value)
AwsIamPolicyDetails & WithAttachmentCount(int value)
AWS_SECURITYHUB_API AwsIamPolicyDetails()
const Aws::String & GetCreateDate() const
const Aws::Vector< AwsIamPolicyVersion > & GetPolicyVersionList() const
AwsIamPolicyDetails & WithPath(Aws::String &&value)
AwsIamPolicyDetails & WithDefaultVersionId(const char *value)
bool DescriptionHasBeenSet() const
void SetPath(Aws::String &&value)
void SetUpdateDate(const char *value)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetPolicyId(const char *value)
AwsIamPolicyDetails & WithDescription(Aws::String &&value)
void SetPolicyId(Aws::String &&value)
AwsIamPolicyDetails & WithCreateDate(const Aws::String &value)
AWS_SECURITYHUB_API AwsIamPolicyDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
AwsIamPolicyDetails & WithPolicyVersionList(Aws::Vector< AwsIamPolicyVersion > &&value)
void SetUpdateDate(const Aws::String &value)
int GetPermissionsBoundaryUsageCount() const
AwsIamPolicyDetails & WithPolicyName(const char *value)
void SetPermissionsBoundaryUsageCount(int value)
void SetCreateDate(const Aws::String &value)
void SetCreateDate(const char *value)
AwsIamPolicyDetails & WithPolicyName(const Aws::String &value)
AwsIamPolicyDetails & WithPath(const char *value)
const Aws::String & GetDefaultVersionId() const
bool PolicyIdHasBeenSet() const
bool PolicyVersionListHasBeenSet() const
AwsIamPolicyDetails & WithDefaultVersionId(Aws::String &&value)
const Aws::String & GetPolicyId() const
void SetDefaultVersionId(Aws::String &&value)
const Aws::String & GetPath() const
void SetDescription(Aws::String &&value)
void SetDefaultVersionId(const char *value)
void SetAttachmentCount(int value)
void SetUpdateDate(Aws::String &&value)
AwsIamPolicyDetails & WithUpdateDate(const char *value)
const Aws::String & GetPolicyName() const
void SetDefaultVersionId(const Aws::String &value)
AwsIamPolicyDetails & WithIsAttachable(bool value)
bool IsAttachableHasBeenSet() const
AwsIamPolicyDetails & WithPolicyVersionList(const Aws::Vector< AwsIamPolicyVersion > &value)
bool AttachmentCountHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue