AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
StepFunctionsParameters.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#include <aws/eventbridgev2/model/InvocationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace EventBridgeV2 {
21namespace Model {
22
32 public:
33 AWS_EVENTBRIDGEV2_API StepFunctionsParameters() = default;
34 AWS_EVENTBRIDGEV2_API StepFunctionsParameters(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_EVENTBRIDGEV2_API StepFunctionsParameters& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
37
39
43 inline InvocationType GetInvocationType() const { return m_invocationType; }
44 inline bool InvocationTypeHasBeenSet() const { return m_invocationTypeHasBeenSet; }
45 inline void SetInvocationType(InvocationType value) {
46 m_invocationTypeHasBeenSet = true;
47 m_invocationType = value;
48 }
50 SetInvocationType(value);
51 return *this;
52 }
54
56
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetTraceHeader() const { return m_traceHeader; }
79 inline bool TraceHeaderHasBeenSet() const { return m_traceHeaderHasBeenSet; }
80 template <typename TraceHeaderT = Aws::String>
81 void SetTraceHeader(TraceHeaderT&& value) {
82 m_traceHeaderHasBeenSet = true;
83 m_traceHeader = std::forward<TraceHeaderT>(value);
84 }
85 template <typename TraceHeaderT = Aws::String>
87 SetTraceHeader(std::forward<TraceHeaderT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetInvocationTimeoutSeconds() const { return m_invocationTimeoutSeconds; }
98 inline bool InvocationTimeoutSecondsHasBeenSet() const { return m_invocationTimeoutSecondsHasBeenSet; }
99 template <typename InvocationTimeoutSecondsT = Aws::String>
100 void SetInvocationTimeoutSeconds(InvocationTimeoutSecondsT&& value) {
101 m_invocationTimeoutSecondsHasBeenSet = true;
102 m_invocationTimeoutSeconds = std::forward<InvocationTimeoutSecondsT>(value);
103 }
104 template <typename InvocationTimeoutSecondsT = Aws::String>
105 StepFunctionsParameters& WithInvocationTimeoutSeconds(InvocationTimeoutSecondsT&& value) {
106 SetInvocationTimeoutSeconds(std::forward<InvocationTimeoutSecondsT>(value));
107 return *this;
108 }
110 private:
111 InvocationType m_invocationType{InvocationType::NOT_SET};
112
113 Aws::String m_name;
114
115 Aws::String m_traceHeader;
116
117 Aws::String m_invocationTimeoutSeconds;
118 bool m_invocationTypeHasBeenSet = false;
119 bool m_nameHasBeenSet = false;
120 bool m_traceHeaderHasBeenSet = false;
121 bool m_invocationTimeoutSecondsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace EventBridgeV2
126} // namespace Aws
AWS_EVENTBRIDGEV2_API StepFunctionsParameters()=default
StepFunctionsParameters & WithName(NameT &&value)
void SetInvocationTimeoutSeconds(InvocationTimeoutSecondsT &&value)
StepFunctionsParameters & WithTraceHeader(TraceHeaderT &&value)
AWS_EVENTBRIDGEV2_API StepFunctionsParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API StepFunctionsParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
StepFunctionsParameters & WithInvocationTimeoutSeconds(InvocationTimeoutSecondsT &&value)
StepFunctionsParameters & WithInvocationType(InvocationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String