AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
JsonataConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace EventBridgeV2 {
20namespace Model {
21
28 public:
29 AWS_EVENTBRIDGEV2_API JsonataConfiguration() = default;
30 AWS_EVENTBRIDGEV2_API JsonataConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_EVENTBRIDGEV2_API JsonataConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
39 inline const Aws::String& GetExpression() const { return m_expression; }
40 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
41 template <typename ExpressionT = Aws::String>
42 void SetExpression(ExpressionT&& value) {
43 m_expressionHasBeenSet = true;
44 m_expression = std::forward<ExpressionT>(value);
45 }
46 template <typename ExpressionT = Aws::String>
47 JsonataConfiguration& WithExpression(ExpressionT&& value) {
48 SetExpression(std::forward<ExpressionT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_expression;
54 bool m_expressionHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace EventBridgeV2
59} // namespace Aws
JsonataConfiguration & WithExpression(ExpressionT &&value)
AWS_EVENTBRIDGEV2_API JsonataConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API JsonataConfiguration()=default
AWS_EVENTBRIDGEV2_API JsonataConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String