AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StillWaitingResponseSpecification.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 StillWaitingResponseSpecification();
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); }
53 inline StillWaitingResponseSpecification& AddMessageGroups(const MessageGroup& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(value); return *this; }
54 inline StillWaitingResponseSpecification& AddMessageGroups(MessageGroup&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.push_back(std::move(value)); return *this; }
56
58
62 inline int GetFrequencyInSeconds() const{ return m_frequencyInSeconds; }
63 inline bool FrequencyInSecondsHasBeenSet() const { return m_frequencyInSecondsHasBeenSet; }
64 inline void SetFrequencyInSeconds(int value) { m_frequencyInSecondsHasBeenSet = true; m_frequencyInSeconds = value; }
67
69
73 inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
74 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
75 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
78
80
84 inline bool GetAllowInterrupt() const{ return m_allowInterrupt; }
85 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
86 inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; }
87 inline StillWaitingResponseSpecification& WithAllowInterrupt(bool value) { SetAllowInterrupt(value); return *this;}
89 private:
90
91 Aws::Vector<MessageGroup> m_messageGroups;
92 bool m_messageGroupsHasBeenSet = false;
93
94 int m_frequencyInSeconds;
95 bool m_frequencyInSecondsHasBeenSet = false;
96
97 int m_timeoutInSeconds;
98 bool m_timeoutInSecondsHasBeenSet = false;
99
100 bool m_allowInterrupt;
101 bool m_allowInterruptHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LexModelsV2
106} // namespace Aws
StillWaitingResponseSpecification & WithMessageGroups(Aws::Vector< MessageGroup > &&value)
StillWaitingResponseSpecification & AddMessageGroups(const MessageGroup &value)
StillWaitingResponseSpecification & AddMessageGroups(MessageGroup &&value)
StillWaitingResponseSpecification & WithMessageGroups(const Aws::Vector< MessageGroup > &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API StillWaitingResponseSpecification(Aws::Utils::Json::JsonView jsonValue)
StillWaitingResponseSpecification & WithFrequencyInSeconds(int value)
AWS_LEXMODELSV2_API StillWaitingResponseSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue