7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
11#include <aws/eventbridgev2/model/SqsMessageAttributeValue.h>
21namespace EventBridgeV2 {
34 AWS_EVENTBRIDGEV2_API
SqsParameters(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename MessageGroupIdT = Aws::String>
46 m_messageGroupIdHasBeenSet =
true;
47 m_messageGroupId = std::forward<MessageGroupIdT>(value);
49 template <
typename MessageGroupIdT = Aws::String>
62 template <
typename MessageDeduplicationIdT = Aws::String>
64 m_messageDeduplicationIdHasBeenSet =
true;
65 m_messageDeduplicationId = std::forward<MessageDeduplicationIdT>(value);
67 template <
typename MessageDeduplicationIdT = Aws::String>
81 template <
typename DelaySecondsT = Aws::String>
83 m_delaySecondsHasBeenSet =
true;
84 m_delaySeconds = std::forward<DelaySecondsT>(value);
86 template <
typename DelaySecondsT = Aws::String>
99 template <
typename MessageAttributesT = Aws::Map<Aws::String, SqsMessageAttributeValue>>
101 m_messageAttributesHasBeenSet =
true;
102 m_messageAttributes = std::forward<MessageAttributesT>(value);
104 template <
typename MessageAttributesT = Aws::Map<Aws::String, SqsMessageAttributeValue>>
109 template <
typename MessageAttributesKeyT = Aws::String,
typename MessageAttributesValueT = SqsMessageAttributeValue>
111 m_messageAttributesHasBeenSet =
true;
112 m_messageAttributes.emplace(std::forward<MessageAttributesKeyT>(key), std::forward<MessageAttributesValueT>(value));
123 template <
typename MessageSystemAttributesT = Aws::Map<Aws::String, SqsMessageAttributeValue>>
125 m_messageSystemAttributesHasBeenSet =
true;
126 m_messageSystemAttributes = std::forward<MessageSystemAttributesT>(value);
128 template <
typename MessageSystemAttributesT = Aws::Map<Aws::String, SqsMessageAttributeValue>>
133 template <
typename MessageSystemAttributesKeyT = Aws::String,
typename MessageSystemAttributesValueT = SqsMessageAttributeValue>
135 m_messageSystemAttributesHasBeenSet =
true;
136 m_messageSystemAttributes.emplace(std::forward<MessageSystemAttributesKeyT>(key), std::forward<MessageSystemAttributesValueT>(value));
150 bool m_messageGroupIdHasBeenSet =
false;
151 bool m_messageDeduplicationIdHasBeenSet =
false;
152 bool m_delaySecondsHasBeenSet =
false;
153 bool m_messageAttributesHasBeenSet =
false;
154 bool m_messageSystemAttributesHasBeenSet =
false;
const Aws::String & GetDelaySeconds() const
void SetMessageSystemAttributes(MessageSystemAttributesT &&value)
bool MessageGroupIdHasBeenSet() const
SqsParameters & WithMessageSystemAttributes(MessageSystemAttributesT &&value)
bool MessageDeduplicationIdHasBeenSet() const
const Aws::Map< Aws::String, SqsMessageAttributeValue > & GetMessageAttributes() const
SqsParameters & WithMessageDeduplicationId(MessageDeduplicationIdT &&value)
const Aws::String & GetMessageGroupId() const
void SetDelaySeconds(DelaySecondsT &&value)
AWS_EVENTBRIDGEV2_API SqsParameters()=default
bool MessageSystemAttributesHasBeenSet() const
SqsParameters & WithMessageGroupId(MessageGroupIdT &&value)
const Aws::Map< Aws::String, SqsMessageAttributeValue > & GetMessageSystemAttributes() const
SqsParameters & AddMessageSystemAttributes(MessageSystemAttributesKeyT &&key, MessageSystemAttributesValueT &&value)
SqsParameters & WithMessageAttributes(MessageAttributesT &&value)
SqsParameters & AddMessageAttributes(MessageAttributesKeyT &&key, MessageAttributesValueT &&value)
void SetMessageGroupId(MessageGroupIdT &&value)
AWS_EVENTBRIDGEV2_API SqsParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API SqsParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMessageDeduplicationId(MessageDeduplicationIdT &&value)
SqsParameters & WithDelaySeconds(DelaySecondsT &&value)
void SetMessageAttributes(MessageAttributesT &&value)
bool DelaySecondsHasBeenSet() const
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool MessageAttributesHasBeenSet() const
const Aws::String & GetMessageDeduplicationId() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String