AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
DescribeFlowRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/FlowPublishState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace QuickSight {
19namespace Model {
20
24 public:
25 AWS_QUICKSIGHT_API DescribeFlowRequest() = default;
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 "DescribeFlow"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 template <typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) {
46 m_awsAccountIdHasBeenSet = true;
47 m_awsAccountId = std::forward<AwsAccountIdT>(value);
48 }
49 template <typename AwsAccountIdT = Aws::String>
50 DescribeFlowRequest& WithAwsAccountId(AwsAccountIdT&& value) {
51 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFlowId() const { return m_flowId; }
61 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
62 template <typename FlowIdT = Aws::String>
63 void SetFlowId(FlowIdT&& value) {
64 m_flowIdHasBeenSet = true;
65 m_flowId = std::forward<FlowIdT>(value);
66 }
67 template <typename FlowIdT = Aws::String>
68 DescribeFlowRequest& WithFlowId(FlowIdT&& value) {
69 SetFlowId(std::forward<FlowIdT>(value));
70 return *this;
71 }
73
75
80 inline FlowPublishState GetPublishState() const { return m_publishState; }
81 inline bool PublishStateHasBeenSet() const { return m_publishStateHasBeenSet; }
82 inline void SetPublishState(FlowPublishState value) {
83 m_publishStateHasBeenSet = true;
84 m_publishState = value;
85 }
87 SetPublishState(value);
88 return *this;
89 }
91 private:
92 Aws::String m_awsAccountId;
93
94 Aws::String m_flowId;
95
97 bool m_awsAccountIdHasBeenSet = false;
98 bool m_flowIdHasBeenSet = false;
99 bool m_publishStateHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace QuickSight
104} // namespace Aws
DescribeFlowRequest & WithFlowId(FlowIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DescribeFlowRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
DescribeFlowRequest & WithPublishState(FlowPublishState value)
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QUICKSIGHT_API DescribeFlowRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String