AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
MultipleValuesSetting.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace LexModelsV2 {
17namespace Model {
18
26 public:
27 AWS_LEXMODELSV2_API MultipleValuesSetting() = default;
28 AWS_LEXMODELSV2_API MultipleValuesSetting(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
42 inline bool GetAllowMultipleValues() const { return m_allowMultipleValues; }
43 inline bool AllowMultipleValuesHasBeenSet() const { return m_allowMultipleValuesHasBeenSet; }
44 inline void SetAllowMultipleValues(bool value) {
45 m_allowMultipleValuesHasBeenSet = true;
46 m_allowMultipleValues = value;
47 }
50 return *this;
51 }
53 private:
54 bool m_allowMultipleValues{false};
55 bool m_allowMultipleValuesHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace LexModelsV2
60} // namespace Aws
MultipleValuesSetting & WithAllowMultipleValues(bool value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API MultipleValuesSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API MultipleValuesSetting(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API MultipleValuesSetting()=default
Aws::Utils::Json::JsonValue JsonValue