7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename VersionIdT = Aws::String>
47 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
48 template<
typename VersionIdT = Aws::String>
58 inline void SetIsDefaultVersion(
bool value) { m_isDefaultVersionHasBeenSet =
true; m_isDefaultVersion = value; }
70 template<
typename CreateDateT = Aws::String>
71 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
72 template<
typename CreateDateT = Aws::String>
78 bool m_versionIdHasBeenSet =
false;
80 bool m_isDefaultVersion{
false};
81 bool m_isDefaultVersionHasBeenSet =
false;
84 bool m_createDateHasBeenSet =
false;
bool CreateDateHasBeenSet() const
AWS_SECURITYHUB_API AwsIamPolicyVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsIamPolicyVersion()=default
AwsIamPolicyVersion & WithVersionId(VersionIdT &&value)
bool VersionIdHasBeenSet() const
AwsIamPolicyVersion & WithCreateDate(CreateDateT &&value)
bool IsDefaultVersionHasBeenSet() const
bool GetIsDefaultVersion() const
void SetCreateDate(CreateDateT &&value)
void SetVersionId(VersionIdT &&value)
const Aws::String & GetVersionId() const
const Aws::String & GetCreateDate() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsIamPolicyVersion & WithIsDefaultVersion(bool value)
void SetIsDefaultVersion(bool value)
AWS_SECURITYHUB_API AwsIamPolicyVersion(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue