AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
UpdateFlowRequest.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/QuickSightRequest.h>
11#include <aws/quicksight/QuickSight_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API UpdateFlowRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlow"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
46 UpdateFlowRequest& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFlowId() const { return m_flowId; }
57 inline bool FlowIdHasBeenSet() const { return m_flowIdHasBeenSet; }
58 template <typename FlowIdT = Aws::String>
59 void SetFlowId(FlowIdT&& value) {
60 m_flowIdHasBeenSet = true;
61 m_flowId = std::forward<FlowIdT>(value);
62 }
63 template <typename FlowIdT = Aws::String>
64 UpdateFlowRequest& WithFlowId(FlowIdT&& value) {
65 SetFlowId(std::forward<FlowIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 UpdateFlowRequest& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 UpdateFlowRequest& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
116 inline Aws::Utils::DocumentView GetFlowDefinition() const { return m_flowDefinition; }
117 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
118 template <typename FlowDefinitionT = Aws::Utils::Document>
119 void SetFlowDefinition(FlowDefinitionT&& value) {
120 m_flowDefinitionHasBeenSet = true;
121 m_flowDefinition = std::forward<FlowDefinitionT>(value);
122 }
123 template <typename FlowDefinitionT = Aws::Utils::Document>
124 UpdateFlowRequest& WithFlowDefinition(FlowDefinitionT&& value) {
125 SetFlowDefinition(std::forward<FlowDefinitionT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetClientToken() const { return m_clientToken; }
136 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
137 template <typename ClientTokenT = Aws::String>
138 void SetClientToken(ClientTokenT&& value) {
139 m_clientTokenHasBeenSet = true;
140 m_clientToken = std::forward<ClientTokenT>(value);
141 }
142 template <typename ClientTokenT = Aws::String>
143 UpdateFlowRequest& WithClientToken(ClientTokenT&& value) {
144 SetClientToken(std::forward<ClientTokenT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_awsAccountId;
150
151 Aws::String m_flowId;
152
153 Aws::String m_name;
154
155 Aws::String m_description;
156
157 Aws::Utils::Document m_flowDefinition;
158
160 bool m_awsAccountIdHasBeenSet = false;
161 bool m_flowIdHasBeenSet = false;
162 bool m_nameHasBeenSet = false;
163 bool m_descriptionHasBeenSet = false;
164 bool m_flowDefinitionHasBeenSet = false;
165 bool m_clientTokenHasBeenSet = true;
166};
167
168} // namespace Model
169} // namespace QuickSight
170} // namespace Aws
void SetFlowDefinition(FlowDefinitionT &&value)
AWS_QUICKSIGHT_API UpdateFlowRequest()=default
const Aws::String & GetAwsAccountId() const
UpdateFlowRequest & WithAwsAccountId(AwsAccountIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateFlowRequest & WithClientToken(ClientTokenT &&value)
UpdateFlowRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
UpdateFlowRequest & WithFlowId(FlowIdT &&value)
UpdateFlowRequest & WithFlowDefinition(FlowDefinitionT &&value)
UpdateFlowRequest & WithName(NameT &&value)
Aws::Utils::DocumentView GetFlowDefinition() const
void SetAwsAccountId(AwsAccountIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String