AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
UniversalTargetParameters.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
30 public:
31 AWS_EVENTBRIDGEV2_API UniversalTargetParameters() = default;
32 AWS_EVENTBRIDGEV2_API UniversalTargetParameters(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API UniversalTargetParameters& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
41 inline const Aws::String& GetInput() const { return m_input; }
42 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
43 template <typename InputT = Aws::String>
44 void SetInput(InputT&& value) {
45 m_inputHasBeenSet = true;
46 m_input = std::forward<InputT>(value);
47 }
48 template <typename InputT = Aws::String>
50 SetInput(std::forward<InputT>(value));
51 return *this;
52 }
54
56
63 inline const Aws::String& GetInvocationTimeoutSeconds() const { return m_invocationTimeoutSeconds; }
64 inline bool InvocationTimeoutSecondsHasBeenSet() const { return m_invocationTimeoutSecondsHasBeenSet; }
65 template <typename InvocationTimeoutSecondsT = Aws::String>
66 void SetInvocationTimeoutSeconds(InvocationTimeoutSecondsT&& value) {
67 m_invocationTimeoutSecondsHasBeenSet = true;
68 m_invocationTimeoutSeconds = std::forward<InvocationTimeoutSecondsT>(value);
69 }
70 template <typename InvocationTimeoutSecondsT = Aws::String>
71 UniversalTargetParameters& WithInvocationTimeoutSeconds(InvocationTimeoutSecondsT&& value) {
72 SetInvocationTimeoutSeconds(std::forward<InvocationTimeoutSecondsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_input;
78
79 Aws::String m_invocationTimeoutSeconds;
80 bool m_inputHasBeenSet = false;
81 bool m_invocationTimeoutSecondsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace EventBridgeV2
86} // namespace Aws
void SetInvocationTimeoutSeconds(InvocationTimeoutSecondsT &&value)
AWS_EVENTBRIDGEV2_API UniversalTargetParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
UniversalTargetParameters & WithInvocationTimeoutSeconds(InvocationTimeoutSecondsT &&value)
UniversalTargetParameters & WithInput(InputT &&value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API UniversalTargetParameters()=default
AWS_EVENTBRIDGEV2_API UniversalTargetParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String