AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FulfillmentStartResponseSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/MessageGroup.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API FulfillmentStartResponseSpecification() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline int GetDelayInSeconds() const { return m_delayInSeconds; }
43 inline bool DelayInSecondsHasBeenSet() const { return m_delayInSecondsHasBeenSet; }
44 inline void SetDelayInSeconds(int value) {
45 m_delayInSecondsHasBeenSet = true;
46 m_delayInSeconds = value;
47 }
49 SetDelayInSeconds(value);
50 return *this;
51 }
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) {
63 m_messageGroupsHasBeenSet = true;
64 m_messageGroups = std::forward<MessageGroupsT>(value);
65 }
66 template <typename MessageGroupsT = Aws::Vector<MessageGroup>>
68 SetMessageGroups(std::forward<MessageGroupsT>(value));
69 return *this;
70 }
71 template <typename MessageGroupsT = MessageGroup>
73 m_messageGroupsHasBeenSet = true;
74 m_messageGroups.emplace_back(std::forward<MessageGroupsT>(value));
75 return *this;
76 }
78
80
84 inline bool GetAllowInterrupt() const { return m_allowInterrupt; }
85 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
86 inline void SetAllowInterrupt(bool value) {
87 m_allowInterruptHasBeenSet = true;
88 m_allowInterrupt = value;
89 }
91 SetAllowInterrupt(value);
92 return *this;
93 }
95 private:
96 int m_delayInSeconds{0};
97
98 Aws::Vector<MessageGroup> m_messageGroups;
99
100 bool m_allowInterrupt{false};
101 bool m_delayInSecondsHasBeenSet = false;
102 bool m_messageGroupsHasBeenSet = false;
103 bool m_allowInterruptHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace LexModelsV2
108} // 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