AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlternateKey.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MainframeModernization
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_MAINFRAMEMODERNIZATION_API AlternateKey();
38 AWS_MAINFRAMEMODERNIZATION_API AlternateKey(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API AlternateKey& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetAllowDuplicates() const{ return m_allowDuplicates; }
49 inline bool AllowDuplicatesHasBeenSet() const { return m_allowDuplicatesHasBeenSet; }
50 inline void SetAllowDuplicates(bool value) { m_allowDuplicatesHasBeenSet = true; m_allowDuplicates = value; }
51 inline AlternateKey& WithAllowDuplicates(bool value) { SetAllowDuplicates(value); return *this;}
53
55
59 inline int GetLength() const{ return m_length; }
60 inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; }
61 inline void SetLength(int value) { m_lengthHasBeenSet = true; m_length = value; }
62 inline AlternateKey& WithLength(int value) { SetLength(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline AlternateKey& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline AlternateKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline AlternateKey& WithName(const char* value) { SetName(value); return *this;}
78
80
84 inline int GetOffset() const{ return m_offset; }
85 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
86 inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
87 inline AlternateKey& WithOffset(int value) { SetOffset(value); return *this;}
89 private:
90
91 bool m_allowDuplicates;
92 bool m_allowDuplicatesHasBeenSet = false;
93
94 int m_length;
95 bool m_lengthHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 int m_offset;
101 bool m_offsetHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MainframeModernization
106} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API AlternateKey(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API AlternateKey()
AlternateKey & WithName(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API AlternateKey & operator=(Aws::Utils::Json::JsonView jsonValue)
AlternateKey & WithName(Aws::String &&value)
AlternateKey & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue