7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
61 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
79 bool m_versionIdHasBeenSet =
false;
81 bool m_isDefaultVersion;
82 bool m_isDefaultVersionHasBeenSet =
false;
85 bool m_createDateHasBeenSet =
false;
PolicyVersion & WithCreateDate(Aws::Utils::DateTime &&value)
void SetIsDefaultVersion(bool value)
AWS_IOT_API PolicyVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersionId() const
void SetVersionId(Aws::String &&value)
bool GetIsDefaultVersion() const
AWS_IOT_API PolicyVersion()
void SetCreateDate(const Aws::Utils::DateTime &value)
PolicyVersion & WithVersionId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetVersionId(const Aws::String &value)
PolicyVersion & WithIsDefaultVersion(bool value)
bool VersionIdHasBeenSet() const
PolicyVersion & WithVersionId(const Aws::String &value)
bool IsDefaultVersionHasBeenSet() const
AWS_IOT_API PolicyVersion(Aws::Utils::Json::JsonView jsonValue)
void SetVersionId(const char *value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyVersion & WithVersionId(const char *value)
PolicyVersion & WithCreateDate(const Aws::Utils::DateTime &value)
void SetCreateDate(Aws::Utils::DateTime &&value)
bool CreateDateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue