AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
SendProjectSessionActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/RecipeStep.h>
11#include <aws/databrew/model/ViewFrame.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GlueDataBrew {
17namespace Model {
18
22 public:
23 AWS_GLUEDATABREW_API SendProjectSessionActionRequest() = 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 "SendProjectSessionAction"; }
30
31 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
32
34
37 inline bool GetPreview() const { return m_preview; }
38 inline bool PreviewHasBeenSet() const { return m_previewHasBeenSet; }
39 inline void SetPreview(bool value) {
40 m_previewHasBeenSet = true;
41 m_preview = value;
42 }
44 SetPreview(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
69 inline const RecipeStep& GetRecipeStep() const { return m_recipeStep; }
70 inline bool RecipeStepHasBeenSet() const { return m_recipeStepHasBeenSet; }
71 template <typename RecipeStepT = RecipeStep>
72 void SetRecipeStep(RecipeStepT&& value) {
73 m_recipeStepHasBeenSet = true;
74 m_recipeStep = std::forward<RecipeStepT>(value);
75 }
76 template <typename RecipeStepT = RecipeStep>
78 SetRecipeStep(std::forward<RecipeStepT>(value));
79 return *this;
80 }
82
84
89 inline int GetStepIndex() const { return m_stepIndex; }
90 inline bool StepIndexHasBeenSet() const { return m_stepIndexHasBeenSet; }
91 inline void SetStepIndex(int value) {
92 m_stepIndexHasBeenSet = true;
93 m_stepIndex = value;
94 }
96 SetStepIndex(value);
97 return *this;
98 }
100
102
106 inline const Aws::String& GetClientSessionId() const { return m_clientSessionId; }
107 inline bool ClientSessionIdHasBeenSet() const { return m_clientSessionIdHasBeenSet; }
108 template <typename ClientSessionIdT = Aws::String>
109 void SetClientSessionId(ClientSessionIdT&& value) {
110 m_clientSessionIdHasBeenSet = true;
111 m_clientSessionId = std::forward<ClientSessionIdT>(value);
112 }
113 template <typename ClientSessionIdT = Aws::String>
115 SetClientSessionId(std::forward<ClientSessionIdT>(value));
116 return *this;
117 }
119
121
122 inline const ViewFrame& GetViewFrame() const { return m_viewFrame; }
123 inline bool ViewFrameHasBeenSet() const { return m_viewFrameHasBeenSet; }
124 template <typename ViewFrameT = ViewFrame>
125 void SetViewFrame(ViewFrameT&& value) {
126 m_viewFrameHasBeenSet = true;
127 m_viewFrame = std::forward<ViewFrameT>(value);
128 }
129 template <typename ViewFrameT = ViewFrame>
131 SetViewFrame(std::forward<ViewFrameT>(value));
132 return *this;
133 }
135 private:
136 bool m_preview{false};
137
138 Aws::String m_name;
139
140 RecipeStep m_recipeStep;
141
142 int m_stepIndex{0};
143
144 Aws::String m_clientSessionId;
145
146 ViewFrame m_viewFrame;
147 bool m_previewHasBeenSet = false;
148 bool m_nameHasBeenSet = false;
149 bool m_recipeStepHasBeenSet = false;
150 bool m_stepIndexHasBeenSet = false;
151 bool m_clientSessionIdHasBeenSet = false;
152 bool m_viewFrameHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace GlueDataBrew
157} // namespace Aws
SendProjectSessionActionRequest & WithClientSessionId(ClientSessionIdT &&value)
AWS_GLUEDATABREW_API SendProjectSessionActionRequest()=default
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
SendProjectSessionActionRequest & WithViewFrame(ViewFrameT &&value)
SendProjectSessionActionRequest & WithRecipeStep(RecipeStepT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String