AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FulfillmentUpdateResponseSpecification.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 FulfillmentUpdateResponseSpecification() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline int GetFrequencyInSeconds() const { return m_frequencyInSeconds; }
44 inline bool FrequencyInSecondsHasBeenSet() const { return m_frequencyInSecondsHasBeenSet; }
45 inline void SetFrequencyInSeconds(int value) {
46 m_frequencyInSecondsHasBeenSet = true;
47 m_frequencyInSeconds = value;
48 }
51 return *this;
52 }
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) {
64 m_messageGroupsHasBeenSet = true;
65 m_messageGroups = std::forward<MessageGroupsT>(value);
66 }
67 template <typename MessageGroupsT = Aws::Vector<MessageGroup>>
69 SetMessageGroups(std::forward<MessageGroupsT>(value));
70 return *this;
71 }
72 template <typename MessageGroupsT = MessageGroup>
74 m_messageGroupsHasBeenSet = true;
75 m_messageGroups.emplace_back(std::forward<MessageGroupsT>(value));
76 return *this;
77 }
79
81
85 inline bool GetAllowInterrupt() const { return m_allowInterrupt; }
86 inline bool AllowInterruptHasBeenSet() const { return m_allowInterruptHasBeenSet; }
87 inline void SetAllowInterrupt(bool value) {
88 m_allowInterruptHasBeenSet = true;
89 m_allowInterrupt = value;
90 }
92 SetAllowInterrupt(value);
93 return *this;
94 }
96 private:
97 int m_frequencyInSeconds{0};
98
99 Aws::Vector<MessageGroup> m_messageGroups;
100
101 bool m_allowInterrupt{false};
102 bool m_frequencyInSecondsHasBeenSet = false;
103 bool m_messageGroupsHasBeenSet = false;
104 bool m_allowInterruptHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LexModelsV2
109} // 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