7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/model/PartitionKeyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-write/model/PartitionKeyEnforcementLevel.h>
23namespace TimestreamWrite
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
83 bool m_typeHasBeenSet =
false;
86 bool m_nameHasBeenSet =
false;
89 bool m_enforcementInRecordHasBeenSet =
false;
const Aws::String & GetName() const
PartitionKeyType GetType() const
PartitionKey & WithEnforcementInRecord(PartitionKeyEnforcementLevel value)
AWS_TIMESTREAMWRITE_API PartitionKey()=default
AWS_TIMESTREAMWRITE_API PartitionKey(Aws::Utils::Json::JsonView jsonValue)
PartitionKey & WithName(NameT &&value)
bool NameHasBeenSet() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMWRITE_API PartitionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool EnforcementInRecordHasBeenSet() const
bool TypeHasBeenSet() const
PartitionKeyEnforcementLevel GetEnforcementInRecord() const
void SetEnforcementInRecord(PartitionKeyEnforcementLevel value)
void SetType(PartitionKeyType value)
PartitionKey & WithType(PartitionKeyType value)
PartitionKeyEnforcementLevel
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue