AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline SendProjectSessionActionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline SendProjectSessionActionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline SendProjectSessionActionRequest& WithName(const char* value) { SetName(value); return *this;}
60
62
63 inline const RecipeStep& GetRecipeStep() const{ return m_recipeStep; }
64 inline bool RecipeStepHasBeenSet() const { return m_recipeStepHasBeenSet; }
65 inline void SetRecipeStep(const RecipeStep& value) { m_recipeStepHasBeenSet = true; m_recipeStep = value; }
66 inline void SetRecipeStep(RecipeStep&& value) { m_recipeStepHasBeenSet = true; m_recipeStep = std::move(value); }
67 inline SendProjectSessionActionRequest& WithRecipeStep(const RecipeStep& value) { SetRecipeStep(value); return *this;}
68 inline SendProjectSessionActionRequest& WithRecipeStep(RecipeStep&& value) { SetRecipeStep(std::move(value)); return *this;}
70
72
77 inline int GetStepIndex() const{ return m_stepIndex; }
78 inline bool StepIndexHasBeenSet() const { return m_stepIndexHasBeenSet; }
79 inline void SetStepIndex(int value) { m_stepIndexHasBeenSet = true; m_stepIndex = value; }
80 inline SendProjectSessionActionRequest& WithStepIndex(int value) { SetStepIndex(value); return *this;}
82
84
88 inline const Aws::String& GetClientSessionId() const{ return m_clientSessionId; }
89 inline bool ClientSessionIdHasBeenSet() const { return m_clientSessionIdHasBeenSet; }
90 inline void SetClientSessionId(const Aws::String& value) { m_clientSessionIdHasBeenSet = true; m_clientSessionId = value; }
91 inline void SetClientSessionId(Aws::String&& value) { m_clientSessionIdHasBeenSet = true; m_clientSessionId = std::move(value); }
92 inline void SetClientSessionId(const char* value) { m_clientSessionIdHasBeenSet = true; m_clientSessionId.assign(value); }
94 inline SendProjectSessionActionRequest& WithClientSessionId(Aws::String&& value) { SetClientSessionId(std::move(value)); return *this;}
95 inline SendProjectSessionActionRequest& WithClientSessionId(const char* value) { SetClientSessionId(value); return *this;}
97
99
100 inline const ViewFrame& GetViewFrame() const{ return m_viewFrame; }
101 inline bool ViewFrameHasBeenSet() const { return m_viewFrameHasBeenSet; }
102 inline void SetViewFrame(const ViewFrame& value) { m_viewFrameHasBeenSet = true; m_viewFrame = value; }
103 inline void SetViewFrame(ViewFrame&& value) { m_viewFrameHasBeenSet = true; m_viewFrame = std::move(value); }
104 inline SendProjectSessionActionRequest& WithViewFrame(const ViewFrame& value) { SetViewFrame(value); return *this;}
105 inline SendProjectSessionActionRequest& WithViewFrame(ViewFrame&& value) { SetViewFrame(std::move(value)); return *this;}
107 private:
108
109 bool m_preview;
110 bool m_previewHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 RecipeStep m_recipeStep;
116 bool m_recipeStepHasBeenSet = false;
117
118 int m_stepIndex;
119 bool m_stepIndexHasBeenSet = false;
120
121 Aws::String m_clientSessionId;
122 bool m_clientSessionIdHasBeenSet = false;
123
124 ViewFrame m_viewFrame;
125 bool m_viewFrameHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace GlueDataBrew
130} // namespace Aws
SendProjectSessionActionRequest & WithClientSessionId(const Aws::String &value)
SendProjectSessionActionRequest & WithName(const char *value)
SendProjectSessionActionRequest & WithViewFrame(ViewFrame &&value)
SendProjectSessionActionRequest & WithClientSessionId(Aws::String &&value)
SendProjectSessionActionRequest & WithClientSessionId(const char *value)
SendProjectSessionActionRequest & WithRecipeStep(const RecipeStep &value)
SendProjectSessionActionRequest & WithName(Aws::String &&value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
SendProjectSessionActionRequest & WithViewFrame(const ViewFrame &value)
SendProjectSessionActionRequest & WithRecipeStep(RecipeStep &&value)
SendProjectSessionActionRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String