AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
50 void SetMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups = std::forward<MessageGroupsT>(value); }
51 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
52 StillWaitingResponseSpecification& WithMessageGroups(MessageGroupsT&& value) { SetMessageGroups(std::forward<MessageGroupsT>(value)); return *this;}
53 template<typename MessageGroupsT = MessageGroup>
54 StillWaitingResponseSpecification& AddMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.emplace_back(std::forward<MessageGroupsT>(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{0};
95 bool m_frequencyInSecondsHasBeenSet = false;
96
97 int m_timeoutInSeconds{0};
98 bool m_timeoutInSecondsHasBeenSet = false;
99
100 bool m_allowInterrupt{false};
101 bool m_allowInterruptHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LexModelsV2
106} // namespace Aws
AWS_LEXMODELSV2_API StillWaitingResponseSpecification()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
StillWaitingResponseSpecification & AddMessageGroups(MessageGroupsT &&value)
AWS_LEXMODELSV2_API StillWaitingResponseSpecification(Aws::Utils::Json::JsonView jsonValue)
StillWaitingResponseSpecification & WithMessageGroups(MessageGroupsT &&value)
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