7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
19namespace TimestreamWrite {
44 m_recordIndexHasBeenSet =
true;
45 m_recordIndex = value;
82 template <
typename ReasonT = Aws::String>
84 m_reasonHasBeenSet =
true;
85 m_reason = std::forward<ReasonT>(value);
87 template <
typename ReasonT = Aws::String>
103 m_existingVersionHasBeenSet =
true;
104 m_existingVersion = value;
112 int m_recordIndex{0};
116 long long m_existingVersion{0};
117 bool m_recordIndexHasBeenSet =
false;
118 bool m_reasonHasBeenSet =
false;
119 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