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; }
71 template<
typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
73 template<
typename NameT = Aws::String>
84 inline void SetOffset(
int value) { m_offsetHasBeenSet =
true; m_offset = value; }
89 bool m_allowDuplicates{
false};
90 bool m_allowDuplicatesHasBeenSet =
false;
93 bool m_lengthHasBeenSet =
false;
96 bool m_nameHasBeenSet =
false;
99 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)
bool GetAllowDuplicates() const
AlternateKey & WithOffset(int value)
void SetName(NameT &&value)
AlternateKey & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_MAINFRAMEMODERNIZATION_API AlternateKey & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OffsetHasBeenSet() const
bool NameHasBeenSet() const
void SetOffset(int value)
AWS_MAINFRAMEMODERNIZATION_API AlternateKey()=default
bool AllowDuplicatesHasBeenSet() const
AlternateKey & WithAllowDuplicates(bool value)
bool LengthHasBeenSet() const
void SetLength(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue