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
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 bool m_typeHasBeenSet =
false;
92 bool m_nameHasBeenSet =
false;
95 bool m_enforcementInRecordHasBeenSet =
false;
const Aws::String & GetName() const
void SetName(const Aws::String &value)
void SetEnforcementInRecord(const PartitionKeyEnforcementLevel &value)
AWS_TIMESTREAMWRITE_API PartitionKey(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
const PartitionKeyType & GetType() const
PartitionKey & WithName(const Aws::String &value)
bool NameHasBeenSet() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMWRITE_API PartitionKey & operator=(Aws::Utils::Json::JsonView jsonValue)
PartitionKey & WithType(PartitionKeyType &&value)
const PartitionKeyEnforcementLevel & GetEnforcementInRecord() const
PartitionKey & WithName(Aws::String &&value)
AWS_TIMESTREAMWRITE_API PartitionKey()
bool EnforcementInRecordHasBeenSet() const
PartitionKey & WithEnforcementInRecord(const PartitionKeyEnforcementLevel &value)
PartitionKey & WithType(const PartitionKeyType &value)
PartitionKey & WithName(const char *value)
PartitionKey & WithEnforcementInRecord(PartitionKeyEnforcementLevel &&value)
bool TypeHasBeenSet() const
void SetType(PartitionKeyType &&value)
void SetType(const PartitionKeyType &value)
void SetName(const char *value)
void SetEnforcementInRecord(PartitionKeyEnforcementLevel &&value)
PartitionKeyEnforcementLevel
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue