AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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