AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/model/MessageGroup.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API ResponseSpecification();
37 AWS_LEXMODELSV2_API ResponseSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<MessageGroup>& GetMessageGroups() const{ return m_messageGroups; }
48 inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; }
49 inline void SetMessageGroups(const Aws::Vector<MessageGroup>& value) { m_messageGroupsHasBeenSet = true; m_messageGroups = value; }
50 inline void SetMessageGroups(Aws::Vector<MessageGroup>&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups = std::move(value); }
52 inline ResponseSpecification& WithMessageGroups(Aws::Vector<MessageGroup>&& value) { SetMessageGroups(std::move(value)); return *this;}
53 inline ResponseSpecification& AddMessageGroups(const MessageGroup& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(value); return *this; }
54 inline ResponseSpecification& AddMessageGroups(MessageGroup&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(std::move(value)); return *this; }
56
58
62 inline bool GetAllowInterrupt() const{ return m_allowInterrupt; }
63 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
64 inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; }
65 inline ResponseSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;}
67 private:
68
69 Aws::Vector<MessageGroup> m_messageGroups;
70 bool m_messageGroupsHasBeenSet = false;
71
72 bool m_allowInterrupt;
73 bool m_allowInterruptHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
void SetMessageGroups(Aws::Vector< MessageGroup > &&value)
ResponseSpecification & WithMessageGroups(Aws::Vector< MessageGroup > &&value)
ResponseSpecification & AddMessageGroups(MessageGroup &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MessageGroup > & GetMessageGroups() const
AWS_LEXMODELSV2_API ResponseSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseSpecification & WithMessageGroups(const Aws::Vector< MessageGroup > &value)
void SetMessageGroups(const Aws::Vector< MessageGroup > &value)
ResponseSpecification & AddMessageGroups(const MessageGroup &value)
ResponseSpecification & WithAllowInterrupt(bool value)
AWS_LEXMODELSV2_API ResponseSpecification(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue