7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace TimestreamWrite
49 inline void SetRecordIndex(
int value) { m_recordIndexHasBeenSet =
true; m_recordIndex = value; }
84 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
98 inline void SetExistingVersion(
long long value) { m_existingVersionHasBeenSet =
true; m_existingVersion = value; }
104 bool m_recordIndexHasBeenSet =
false;
107 bool m_reasonHasBeenSet =
false;
109 long long m_existingVersion;
110 bool m_existingVersionHasBeenSet =
false;
AWS_TIMESTREAMWRITE_API RejectedRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReasonHasBeenSet() const
long long GetExistingVersion() const
bool ExistingVersionHasBeenSet() const
RejectedRecord & WithReason(Aws::String &&value)
void SetReason(Aws::String &&value)
AWS_TIMESTREAMWRITE_API RejectedRecord()
RejectedRecord & WithReason(const char *value)
AWS_TIMESTREAMWRITE_API RejectedRecord(Aws::Utils::Json::JsonView jsonValue)
RejectedRecord & WithExistingVersion(long long value)
bool RecordIndexHasBeenSet() const
void SetRecordIndex(int value)
RejectedRecord & WithRecordIndex(int value)
RejectedRecord & WithReason(const Aws::String &value)
void SetReason(const char *value)
int GetRecordIndex() const
const Aws::String & GetReason() const
void SetExistingVersion(long long value)
void SetReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue