7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace MainframeModernization
50 inline void SetAllowDuplicates(
bool value) { m_allowDuplicatesHasBeenSet =
true; m_allowDuplicates = value; }
61 inline void SetLength(
int value) { m_lengthHasBeenSet =
true; m_length = value; }
73 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
86 inline void SetOffset(
int value) { m_offsetHasBeenSet =
true; m_offset = value; }
91 bool m_allowDuplicates;
92 bool m_allowDuplicatesHasBeenSet =
false;
95 bool m_lengthHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_offsetHasBeenSet =
false;
void SetAllowDuplicates(bool value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AlternateKey & WithLength(int value)
AWS_MAINFRAMEMODERNIZATION_API AlternateKey(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API AlternateKey()
bool GetAllowDuplicates() const
AlternateKey & WithOffset(int value)
AlternateKey & WithName(const Aws::String &value)
const Aws::String & GetName() const
AWS_MAINFRAMEMODERNIZATION_API AlternateKey & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OffsetHasBeenSet() const
bool NameHasBeenSet() const
void SetName(const char *value)
void SetOffset(int value)
bool AllowDuplicatesHasBeenSet() const
AlternateKey & WithAllowDuplicates(bool value)
bool LengthHasBeenSet() const
AlternateKey & WithName(Aws::String &&value)
AlternateKey & WithName(const char *value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetLength(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue