7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
60 template<
typename TypeT = Aws::String>
61 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
62 template<
typename TypeT = Aws::String>
68 bool m_nameHasBeenSet =
false;
71 bool m_typeHasBeenSet =
false;
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TypeT &&value)
AWS_CLOUDTRAIL_API PartitionKey()=default
bool TypeHasBeenSet() const
PartitionKey & WithName(NameT &&value)
AWS_CLOUDTRAIL_API PartitionKey(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API PartitionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
PartitionKey & WithType(TypeT &&value)
const Aws::String & GetName() const
const Aws::String & GetType() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue