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>
67 inline void SetDocument(
const char* value) { m_documentHasBeenSet =
true; m_document.assign(value); }
83 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
96 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
115 bool m_documentHasBeenSet =
false;
118 bool m_versionIdHasBeenSet =
false;
120 bool m_isDefaultVersion;
121 bool m_isDefaultVersionHasBeenSet =
false;
124 bool m_createDateHasBeenSet =
false;
void SetVersionId(const Aws::String &value)
PolicyVersion & WithVersionId(const char *value)
bool CreateDateHasBeenSet() const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDocument(Aws::String &&value)
PolicyVersion & WithIsDefaultVersion(bool value)
PolicyVersion & WithCreateDate(Aws::Utils::DateTime &&value)
PolicyVersion & WithCreateDate(const Aws::Utils::DateTime &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
bool IsDefaultVersionHasBeenSet() const
void SetDocument(const char *value)
const Aws::Utils::DateTime & GetCreateDate() const
bool VersionIdHasBeenSet() const
void SetDocument(const Aws::String &value)
AWS_IAM_API PolicyVersion()
AWS_IAM_API PolicyVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
PolicyVersion & WithDocument(const Aws::String &value)
PolicyVersion & WithVersionId(const Aws::String &value)
void SetIsDefaultVersion(bool value)
bool DocumentHasBeenSet() const
void SetVersionId(Aws::String &&value)
void SetVersionId(const char *value)
PolicyVersion & WithVersionId(Aws::String &&value)
PolicyVersion & WithDocument(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
PolicyVersion & WithDocument(const char *value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDocument() const
AWS_IAM_API PolicyVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetIsDefaultVersion() const
const Aws::String & GetVersionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream