AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SendProjectSessionActionRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/RecipeStep.h>
11#include <aws/databrew/model/ViewFrame.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GlueDataBrew
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUEDATABREW_API SendProjectSessionActionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "SendProjectSessionAction"; }
33
34 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
35
36
38
41 inline bool GetPreview() const { return m_preview; }
42 inline bool PreviewHasBeenSet() const { return m_previewHasBeenSet; }
43 inline void SetPreview(bool value) { m_previewHasBeenSet = true; m_preview = value; }
44 inline SendProjectSessionActionRequest& WithPreview(bool value) { SetPreview(value); return *this;}
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 SendProjectSessionActionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
61 inline const RecipeStep& GetRecipeStep() const { return m_recipeStep; }
62 inline bool RecipeStepHasBeenSet() const { return m_recipeStepHasBeenSet; }
63 template<typename RecipeStepT = RecipeStep>
64 void SetRecipeStep(RecipeStepT&& value) { m_recipeStepHasBeenSet = true; m_recipeStep = std::forward<RecipeStepT>(value); }
65 template<typename RecipeStepT = RecipeStep>
66 SendProjectSessionActionRequest& WithRecipeStep(RecipeStepT&& value) { SetRecipeStep(std::forward<RecipeStepT>(value)); return *this;}
68
70
75 inline int GetStepIndex() const { return m_stepIndex; }
76 inline bool StepIndexHasBeenSet() const { return m_stepIndexHasBeenSet; }
77 inline void SetStepIndex(int value) { m_stepIndexHasBeenSet = true; m_stepIndex = value; }
78 inline SendProjectSessionActionRequest& WithStepIndex(int value) { SetStepIndex(value); return *this;}
80
82
86 inline const Aws::String& GetClientSessionId() const { return m_clientSessionId; }
87 inline bool ClientSessionIdHasBeenSet() const { return m_clientSessionIdHasBeenSet; }
88 template<typename ClientSessionIdT = Aws::String>
89 void SetClientSessionId(ClientSessionIdT&& value) { m_clientSessionIdHasBeenSet = true; m_clientSessionId = std::forward<ClientSessionIdT>(value); }
90 template<typename ClientSessionIdT = Aws::String>
91 SendProjectSessionActionRequest& WithClientSessionId(ClientSessionIdT&& value) { SetClientSessionId(std::forward<ClientSessionIdT>(value)); return *this;}
93
95
96 inline const ViewFrame& GetViewFrame() const { return m_viewFrame; }
97 inline bool ViewFrameHasBeenSet() const { return m_viewFrameHasBeenSet; }
98 template<typename ViewFrameT = ViewFrame>
99 void SetViewFrame(ViewFrameT&& value) { m_viewFrameHasBeenSet = true; m_viewFrame = std::forward<ViewFrameT>(value); }
100 template<typename ViewFrameT = ViewFrame>
101 SendProjectSessionActionRequest& WithViewFrame(ViewFrameT&& value) { SetViewFrame(std::forward<ViewFrameT>(value)); return *this;}
103 private:
104
105 bool m_preview{false};
106 bool m_previewHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 RecipeStep m_recipeStep;
112 bool m_recipeStepHasBeenSet = false;
113
114 int m_stepIndex{0};
115 bool m_stepIndexHasBeenSet = false;
116
117 Aws::String m_clientSessionId;
118 bool m_clientSessionIdHasBeenSet = false;
119
120 ViewFrame m_viewFrame;
121 bool m_viewFrameHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace GlueDataBrew
126} // 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