7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
41 template <
typename VersionIdT = Aws::String>
43 m_versionIdHasBeenSet =
true;
44 m_versionId = std::forward<VersionIdT>(value);
46 template <
typename VersionIdT = Aws::String>
60 m_isDefaultVersionHasBeenSet =
true;
61 m_isDefaultVersion = value;
75 template <
typename CreateDateT = Aws::Utils::DateTime>
77 m_createDateHasBeenSet =
true;
78 m_createDate = std::forward<CreateDateT>(value);
80 template <
typename CreateDateT = Aws::Utils::DateTime>
89 bool m_isDefaultVersion{
false};
92 bool m_versionIdHasBeenSet =
false;
93 bool m_isDefaultVersionHasBeenSet =
false;
94 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