AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartFlowRequest.h
1
6#pragma once
7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Appflow {
16namespace Model {
17
21 public:
22 AWS_APPFLOW_API StartFlowRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StartFlow"; }
29
30 AWS_APPFLOW_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetFlowName() const { return m_flowName; }
38 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
39 template <typename FlowNameT = Aws::String>
40 void SetFlowName(FlowNameT&& value) {
41 m_flowNameHasBeenSet = true;
42 m_flowName = std::forward<FlowNameT>(value);
43 }
44 template <typename FlowNameT = Aws::String>
45 StartFlowRequest& WithFlowName(FlowNameT&& value) {
46 SetFlowName(std::forward<FlowNameT>(value));
47 return *this;
48 }
50
52
68 inline const Aws::String& GetClientToken() const { return m_clientToken; }
69 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
70 template <typename ClientTokenT = Aws::String>
71 void SetClientToken(ClientTokenT&& value) {
72 m_clientTokenHasBeenSet = true;
73 m_clientToken = std::forward<ClientTokenT>(value);
74 }
75 template <typename ClientTokenT = Aws::String>
76 StartFlowRequest& WithClientToken(ClientTokenT&& value) {
77 SetClientToken(std::forward<ClientTokenT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_flowName;
83
85 bool m_flowNameHasBeenSet = false;
86 bool m_clientTokenHasBeenSet = true;
87};
88
89} // namespace Model
90} // namespace Appflow
91} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetFlowName() const
StartFlowRequest & WithFlowName(FlowNameT &&value)
AWS_APPFLOW_API StartFlowRequest()=default
const Aws::String & GetClientToken() const
AWS_APPFLOW_API Aws::String SerializePayload() const override
StartFlowRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String