66#pragma once
77#include < aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
88#include < aws/core/utils/memory/stl/AWSString.h>
9- #include < aws/bedrock-agent-runtime/model/ExecutionType.h>
109#include < aws/core/utils/memory/stl/AWSVector.h>
1110#include < aws/bedrock-agent-runtime/model/RequestBody.h>
11+ #include < aws/bedrock-agent-runtime/model/ExecutionType.h>
1212#include < aws/bedrock-agent-runtime/model/Parameter.h>
1313#include < utility>
1414
@@ -58,6 +58,18 @@ namespace Model
5858 ActionGroupInvocationInput& WithActionGroupName (ActionGroupNameT&& value) { SetActionGroupName (std::forward<ActionGroupNameT>(value)); return *this ;}
5959 // /@}
6060
61+ // /@{
62+ /* *
63+ * <p>The API method being used, based off the action group.</p>
64+ */
65+ inline const Aws::String& GetVerb () const { return m_verb; }
66+ inline bool VerbHasBeenSet () const { return m_verbHasBeenSet; }
67+ template <typename VerbT = Aws::String>
68+ void SetVerb (VerbT&& value) { m_verbHasBeenSet = true ; m_verb = std::forward<VerbT>(value); }
69+ template <typename VerbT = Aws::String>
70+ ActionGroupInvocationInput& WithVerb (VerbT&& value) { SetVerb (std::forward<VerbT>(value)); return *this ;}
71+ // /@}
72+
6173 // /@{
6274 /* *
6375 * <p>The path to the API to call, based off the action group.</p>
@@ -70,43 +82,6 @@ namespace Model
7082 ActionGroupInvocationInput& WithApiPath (ApiPathT&& value) { SetApiPath (std::forward<ApiPathT>(value)); return *this ;}
7183 // /@}
7284
73- // /@{
74- /* *
75- * <p>How fulfillment of the action is handled. For more information, see <a
76- * href="https://docs.aws.amazon.com/bedrock/latest/userguide/action-handle.html">Handling
77- * fulfillment of the action</a>.</p>
78- */
79- inline ExecutionType GetExecutionType () const { return m_executionType; }
80- inline bool ExecutionTypeHasBeenSet () const { return m_executionTypeHasBeenSet; }
81- inline void SetExecutionType (ExecutionType value) { m_executionTypeHasBeenSet = true ; m_executionType = value; }
82- inline ActionGroupInvocationInput& WithExecutionType (ExecutionType value) { SetExecutionType (value); return *this ;}
83- // /@}
84-
85- // /@{
86- /* *
87- * <p>The function in the action group to call.</p>
88- */
89- inline const Aws::String& GetFunction () const { return m_function; }
90- inline bool FunctionHasBeenSet () const { return m_functionHasBeenSet; }
91- template <typename FunctionT = Aws::String>
92- void SetFunction (FunctionT&& value) { m_functionHasBeenSet = true ; m_function = std::forward<FunctionT>(value); }
93- template <typename FunctionT = Aws::String>
94- ActionGroupInvocationInput& WithFunction (FunctionT&& value) { SetFunction (std::forward<FunctionT>(value)); return *this ;}
95- // /@}
96-
97- // /@{
98- /* *
99- * <p>The unique identifier of the invocation. Only returned if the
100- * <code>executionType</code> is <code>RETURN_CONTROL</code>.</p>
101- */
102- inline const Aws::String& GetInvocationId () const { return m_invocationId; }
103- inline bool InvocationIdHasBeenSet () const { return m_invocationIdHasBeenSet; }
104- template <typename InvocationIdT = Aws::String>
105- void SetInvocationId (InvocationIdT&& value) { m_invocationIdHasBeenSet = true ; m_invocationId = std::forward<InvocationIdT>(value); }
106- template <typename InvocationIdT = Aws::String>
107- ActionGroupInvocationInput& WithInvocationId (InvocationIdT&& value) { SetInvocationId (std::forward<InvocationIdT>(value)); return *this ;}
108- // /@}
109-
11085 // /@{
11186 /* *
11287 * <p>The parameters in the Lambda input event.</p>
@@ -135,40 +110,65 @@ namespace Model
135110
136111 // /@{
137112 /* *
138- * <p>The API method being used, based off the action group.</p>
113+ * <p>The function in the action group to call .</p>
139114 */
140- inline const Aws::String& GetVerb () const { return m_verb; }
141- inline bool VerbHasBeenSet () const { return m_verbHasBeenSet; }
142- template <typename VerbT = Aws::String>
143- void SetVerb (VerbT&& value) { m_verbHasBeenSet = true ; m_verb = std::forward<VerbT>(value); }
144- template <typename VerbT = Aws::String>
145- ActionGroupInvocationInput& WithVerb (VerbT&& value) { SetVerb (std::forward<VerbT>(value)); return *this ;}
115+ inline const Aws::String& GetFunction () const { return m_function; }
116+ inline bool FunctionHasBeenSet () const { return m_functionHasBeenSet; }
117+ template <typename FunctionT = Aws::String>
118+ void SetFunction (FunctionT&& value) { m_functionHasBeenSet = true ; m_function = std::forward<FunctionT>(value); }
119+ template <typename FunctionT = Aws::String>
120+ ActionGroupInvocationInput& WithFunction (FunctionT&& value) { SetFunction (std::forward<FunctionT>(value)); return *this ;}
121+ // /@}
122+
123+ // /@{
124+ /* *
125+ * <p>How fulfillment of the action is handled. For more information, see <a
126+ * href="https://docs.aws.amazon.com/bedrock/latest/userguide/action-handle.html">Handling
127+ * fulfillment of the action</a>.</p>
128+ */
129+ inline ExecutionType GetExecutionType () const { return m_executionType; }
130+ inline bool ExecutionTypeHasBeenSet () const { return m_executionTypeHasBeenSet; }
131+ inline void SetExecutionType (ExecutionType value) { m_executionTypeHasBeenSet = true ; m_executionType = value; }
132+ inline ActionGroupInvocationInput& WithExecutionType (ExecutionType value) { SetExecutionType (value); return *this ;}
133+ // /@}
134+
135+ // /@{
136+ /* *
137+ * <p>The unique identifier of the invocation. Only returned if the
138+ * <code>executionType</code> is <code>RETURN_CONTROL</code>.</p>
139+ */
140+ inline const Aws::String& GetInvocationId () const { return m_invocationId; }
141+ inline bool InvocationIdHasBeenSet () const { return m_invocationIdHasBeenSet; }
142+ template <typename InvocationIdT = Aws::String>
143+ void SetInvocationId (InvocationIdT&& value) { m_invocationIdHasBeenSet = true ; m_invocationId = std::forward<InvocationIdT>(value); }
144+ template <typename InvocationIdT = Aws::String>
145+ ActionGroupInvocationInput& WithInvocationId (InvocationIdT&& value) { SetInvocationId (std::forward<InvocationIdT>(value)); return *this ;}
146146 // /@}
147147 private:
148148
149149 Aws::String m_actionGroupName;
150150 bool m_actionGroupNameHasBeenSet = false ;
151151
152+ Aws::String m_verb;
153+ bool m_verbHasBeenSet = false ;
154+
152155 Aws::String m_apiPath;
153156 bool m_apiPathHasBeenSet = false ;
154157
155- ExecutionType m_executionType{ExecutionType::NOT_SET};
156- bool m_executionTypeHasBeenSet = false ;
157-
158- Aws::String m_function;
159- bool m_functionHasBeenSet = false ;
160-
161- Aws::String m_invocationId;
162- bool m_invocationIdHasBeenSet = false ;
163-
164158 Aws::Vector<Parameter> m_parameters;
165159 bool m_parametersHasBeenSet = false ;
166160
167161 RequestBody m_requestBody;
168162 bool m_requestBodyHasBeenSet = false ;
169163
170- Aws::String m_verb;
171- bool m_verbHasBeenSet = false ;
164+ Aws::String m_function;
165+ bool m_functionHasBeenSet = false ;
166+
167+ ExecutionType m_executionType{ExecutionType::NOT_SET};
168+ bool m_executionTypeHasBeenSet = false ;
169+
170+ Aws::String m_invocationId;
171+ bool m_invocationIdHasBeenSet = false ;
172172 };
173173
174174} // namespace Model
0 commit comments