AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FulfillmentUpdateResponseSpecification.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 FulfillmentUpdateResponseSpecification() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline int GetFrequencyInSeconds() const { return m_frequencyInSeconds; }
50 inline bool FrequencyInSecondsHasBeenSet() const { return m_frequencyInSecondsHasBeenSet; }
51 inline void SetFrequencyInSeconds(int value) { m_frequencyInSecondsHasBeenSet = true; m_frequencyInSeconds = value; }
54
56
60 inline const Aws::Vector<MessageGroup>& GetMessageGroups() const { return m_messageGroups; }
61 inline bool MessageGroupsHasBeenSet() const { return m_messageGroupsHasBeenSet; }
62 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
63 void SetMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups = std::forward<MessageGroupsT>(value); }
64 template<typename MessageGroupsT = Aws::Vector<MessageGroup>>
65 FulfillmentUpdateResponseSpecification& WithMessageGroups(MessageGroupsT&& value) { SetMessageGroups(std::forward<MessageGroupsT>(value)); return *this;}
66 template<typename MessageGroupsT = MessageGroup>
67 FulfillmentUpdateResponseSpecification& AddMessageGroups(MessageGroupsT&& value) { m_messageGroupsHasBeenSet = true; m_messageGroups.emplace_back(std::forward<MessageGroupsT>(value)); return *this; }
69
71
75 inline bool GetAllowInterrupt() const { return m_allowInterrupt; }
76 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
77 inline void SetAllowInterrupt(bool value) { m_allowInterruptHasBeenSet = true; m_allowInterrupt = value; }
80 private:
81
82 int m_frequencyInSeconds{0};
83 bool m_frequencyInSecondsHasBeenSet = false;
84
85 Aws::Vector<MessageGroup> m_messageGroups;
86 bool m_messageGroupsHasBeenSet = false;
87
88 bool m_allowInterrupt{false};
89 bool m_allowInterruptHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace LexModelsV2
94} // namespace Aws
FulfillmentUpdateResponseSpecification & AddMessageGroups(MessageGroupsT &&value)
FulfillmentUpdateResponseSpecification & WithMessageGroups(MessageGroupsT &&value)
AWS_LEXMODELSV2_API FulfillmentUpdateResponseSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API FulfillmentUpdateResponseSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue