7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iam/model/PolicyVersion.h>
60 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
77 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
88 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
89 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
105 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
122 inline void SetDefaultVersionId(
const char* value) { m_defaultVersionIdHasBeenSet =
true; m_defaultVersionId.assign(value); }
135 inline void SetAttachmentCount(
int value) { m_attachmentCountHasBeenSet =
true; m_attachmentCount = value; }
160 inline void SetIsAttachable(
bool value) { m_isAttachableHasBeenSet =
true; m_isAttachable = value; }
172 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
223 bool m_policyNameHasBeenSet =
false;
226 bool m_policyIdHasBeenSet =
false;
229 bool m_arnHasBeenSet =
false;
232 bool m_pathHasBeenSet =
false;
235 bool m_defaultVersionIdHasBeenSet =
false;
237 int m_attachmentCount;
238 bool m_attachmentCountHasBeenSet =
false;
240 int m_permissionsBoundaryUsageCount;
241 bool m_permissionsBoundaryUsageCountHasBeenSet =
false;
244 bool m_isAttachableHasBeenSet =
false;
247 bool m_descriptionHasBeenSet =
false;
250 bool m_createDateHasBeenSet =
false;
253 bool m_updateDateHasBeenSet =
false;
256 bool m_policyVersionListHasBeenSet =
false;
ManagedPolicyDetail & WithPolicyId(const Aws::String &value)
bool CreateDateHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ManagedPolicyDetail & WithPath(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetArn(const Aws::String &value)
void SetPolicyId(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetPath() const
const Aws::String & GetArn() const
ManagedPolicyDetail & AddPolicyVersionList(const PolicyVersion &value)
ManagedPolicyDetail & WithPolicyName(const Aws::String &value)
bool AttachmentCountHasBeenSet() const
void SetDescription(const char *value)
void SetPolicyVersionList(const Aws::Vector< PolicyVersion > &value)
ManagedPolicyDetail & WithPolicyName(Aws::String &&value)
ManagedPolicyDetail & AddPolicyVersionList(PolicyVersion &&value)
const Aws::String & GetDescription() const
void SetUpdateDate(const Aws::Utils::DateTime &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
ManagedPolicyDetail & WithDescription(const char *value)
void SetArn(Aws::String &&value)
const Aws::Vector< PolicyVersion > & GetPolicyVersionList() const
ManagedPolicyDetail & WithArn(const Aws::String &value)
void SetDefaultVersionId(const Aws::String &value)
bool DefaultVersionIdHasBeenSet() const
const Aws::Utils::DateTime & GetUpdateDate() const
void SetPolicyVersionList(Aws::Vector< PolicyVersion > &&value)
AWS_IAM_API ManagedPolicyDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedPolicyDetail & WithPath(const char *value)
const Aws::String & GetDefaultVersionId() const
void SetIsAttachable(bool value)
void SetPolicyName(const Aws::String &value)
void SetArn(const char *value)
ManagedPolicyDetail & WithDescription(const Aws::String &value)
bool UpdateDateHasBeenSet() const
ManagedPolicyDetail & WithPolicyVersionList(Aws::Vector< PolicyVersion > &&value)
void SetPolicyName(Aws::String &&value)
int GetAttachmentCount() const
ManagedPolicyDetail & WithUpdateDate(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
ManagedPolicyDetail & WithPolicyName(const char *value)
void SetAttachmentCount(int value)
bool GetIsAttachable() const
ManagedPolicyDetail & WithPolicyVersionList(const Aws::Vector< PolicyVersion > &value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
const Aws::String & GetPolicyId() const
void SetPolicyName(const char *value)
void SetPermissionsBoundaryUsageCount(int value)
bool IsAttachableHasBeenSet() const
void SetDefaultVersionId(Aws::String &&value)
ManagedPolicyDetail & WithUpdateDate(Aws::Utils::DateTime &&value)
bool PolicyNameHasBeenSet() const
ManagedPolicyDetail & WithDefaultVersionId(const Aws::String &value)
bool PermissionsBoundaryUsageCountHasBeenSet() const
void SetPath(const char *value)
void SetPath(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
ManagedPolicyDetail & WithDefaultVersionId(Aws::String &&value)
bool ArnHasBeenSet() const
ManagedPolicyDetail & WithIsAttachable(bool value)
bool PathHasBeenSet() const
ManagedPolicyDetail & WithCreateDate(Aws::Utils::DateTime &&value)
ManagedPolicyDetail & WithArn(const char *value)
ManagedPolicyDetail & WithCreateDate(const Aws::Utils::DateTime &value)
ManagedPolicyDetail & WithDescription(Aws::String &&value)
bool PolicyIdHasBeenSet() const
int GetPermissionsBoundaryUsageCount() const
void SetPath(Aws::String &&value)
ManagedPolicyDetail & WithPath(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
ManagedPolicyDetail & WithAttachmentCount(int value)
ManagedPolicyDetail & WithPermissionsBoundaryUsageCount(int value)
void SetDefaultVersionId(const char *value)
bool PolicyVersionListHasBeenSet() const
AWS_IAM_API ManagedPolicyDetail()
ManagedPolicyDetail & WithPolicyId(Aws::String &&value)
void SetPolicyId(Aws::String &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ManagedPolicyDetail & WithDefaultVersionId(const char *value)
const Aws::String & GetPolicyName() const
void SetPolicyId(const char *value)
AWS_IAM_API ManagedPolicyDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedPolicyDetail & WithArn(Aws::String &&value)
ManagedPolicyDetail & WithPolicyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream