AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FulfillmentStartResponseSpecification.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 FulfillmentStartResponseSpecification() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline int GetDelayInSeconds() const { return m_delayInSeconds; }
49 inline bool DelayInSecondsHasBeenSet() const { return m_delayInSecondsHasBeenSet; }
50 inline void SetDelayInSeconds(int value) { m_delayInSecondsHasBeenSet = true; m_delayInSeconds = value; }
53
55
59 inline const Aws::Vector<MessageGroup>& GetMessageGroups() const { return m_messageGroups; }
60 inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; }
61 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
62 void SetMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups = std::forward<MessageGroupsT>(value); }
63 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
64 FulfillmentStartResponseSpecification& WithMessageGroups(MessageGroupsT&& value) { SetMessageGroups(std::forward<MessageGroupsT>(value)); return *this;}
65 template<typename MessageGroupsT = MessageGroup>
66 FulfillmentStartResponseSpecification& AddMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.emplace_back(std::forward<MessageGroupsT>(value)); return *this; }
68
70
74 inline bool GetAllowInterrupt() const { return m_allowInterrupt; }
75 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
76 inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; }
79 private:
80
81 int m_delayInSeconds{0};
82 bool m_delayInSecondsHasBeenSet = false;
83
84 Aws::Vector<MessageGroup> m_messageGroups;
85 bool m_messageGroupsHasBeenSet = false;
86
87 bool m_allowInterrupt{false};
88 bool m_allowInterruptHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace LexModelsV2
93} // namespace Aws
AWS_LEXMODELSV2_API FulfillmentStartResponseSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API FulfillmentStartResponseSpecification(Aws::Utils::Json::JsonView jsonValue)
FulfillmentStartResponseSpecification & WithMessageGroups(MessageGroupsT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
FulfillmentStartResponseSpecification & AddMessageGroups(MessageGroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue