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; }
82 template<
typename ReasonT = Aws::String>
83 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
84 template<
typename ReasonT = Aws::String>
96 inline void SetExistingVersion(
long long value) { m_existingVersionHasBeenSet =
true; m_existingVersion = value; }
101 int m_recordIndex{0};
102 bool m_recordIndexHasBeenSet =
false;
105 bool m_reasonHasBeenSet =
false;
107 long long m_existingVersion{0};
108 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
AWS_TIMESTREAMWRITE_API RejectedRecord()=default
AWS_TIMESTREAMWRITE_API RejectedRecord(Aws::Utils::Json::JsonView jsonValue)
RejectedRecord & WithReason(ReasonT &&value)
RejectedRecord & WithExistingVersion(long long value)
bool RecordIndexHasBeenSet() const
void SetRecordIndex(int value)
RejectedRecord & WithRecordIndex(int value)
void SetReason(ReasonT &&value)
int GetRecordIndex() const
const Aws::String & GetReason() const
void SetExistingVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue