7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb-elastic/model/Status.h>
49 inline void SetCreateTime(
const char* value) { m_createTimeHasBeenSet =
true; m_createTime.assign(value); }
63 inline void SetShardId(
const char* value) { m_shardIdHasBeenSet =
true; m_shardId.assign(value); }
75 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
76 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
83 bool m_createTimeHasBeenSet =
false;
86 bool m_shardIdHasBeenSet =
false;
89 bool m_statusHasBeenSet =
false;
void SetStatus(Status &&value)
void SetCreateTime(Aws::String &&value)
Shard & WithCreateTime(const Aws::String &value)
bool ShardIdHasBeenSet() const
void SetCreateTime(const Aws::String &value)
Shard & WithShardId(Aws::String &&value)
AWS_DOCDBELASTIC_API Shard()
AWS_DOCDBELASTIC_API Shard(Aws::Utils::Json::JsonView jsonValue)
const Status & GetStatus() const
Shard & WithShardId(const char *value)
void SetCreateTime(const char *value)
void SetStatus(const Status &value)
const Aws::String & GetCreateTime() const
const Aws::String & GetShardId() const
void SetShardId(Aws::String &&value)
bool StatusHasBeenSet() const
Shard & WithStatus(const Status &value)
Shard & WithStatus(Status &&value)
Shard & WithShardId(const Aws::String &value)
bool CreateTimeHasBeenSet() const
Shard & WithCreateTime(Aws::String &&value)
void SetShardId(const char *value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
Shard & WithCreateTime(const char *value)
void SetShardId(const Aws::String &value)
AWS_DOCDBELASTIC_API Shard & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue