7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
47 template<
typename VersionIdT = Aws::String>
48 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
49 template<
typename VersionIdT = Aws::String>
59 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
69 template<
typename CreateDateT = Aws::Utils::DateTime>
70 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
71 template<
typename CreateDateT = Aws::Utils::DateTime>
77 bool m_versionIdHasBeenSet =
false;
79 bool m_isDefaultVersion{
false};
80 bool m_isDefaultVersionHasBeenSet =
false;
83 bool m_createDateHasBeenSet =
false;
void SetVersionId(VersionIdT &&value)
AWS_IOT_API PolicyVersion()=default
void SetIsDefaultVersion(bool value)
AWS_IOT_API PolicyVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersionId() const
bool GetIsDefaultVersion() const
const Aws::Utils::DateTime & GetCreateDate() const
PolicyVersion & WithIsDefaultVersion(bool value)
bool VersionIdHasBeenSet() const
bool IsDefaultVersionHasBeenSet() const
AWS_IOT_API PolicyVersion(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyVersion & WithVersionId(VersionIdT &&value)
PolicyVersion & WithCreateDate(CreateDateT &&value)
bool CreateDateHasBeenSet() const
void SetCreateDate(CreateDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue