AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvokeInlineAgentInitialResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/http/HttpTypes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse() = default;
31 AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse(const Http::HeaderValueCollection& responseHeaders);
34 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
42 inline const Aws::String& GetContentType() const { return m_contentType; }
43 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
44 template<typename ContentTypeT = Aws::String>
45 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
46 template<typename ContentTypeT = Aws::String>
47 InvokeInlineAgentInitialResponse& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
49
51
54 inline const Aws::String& GetSessionId() const { return m_sessionId; }
55 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
56 template<typename SessionIdT = Aws::String>
57 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
58 template<typename SessionIdT = Aws::String>
59 InvokeInlineAgentInitialResponse& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
61 private:
62
63 Aws::String m_contentType;
64 bool m_contentTypeHasBeenSet = false;
65
66 Aws::String m_sessionId;
67 bool m_sessionIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace BedrockAgentRuntime
72} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
InvokeInlineAgentInitialResponse & WithContentType(ContentTypeT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse(const Http::HeaderValueCollection &responseHeaders)
AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse(Aws::Utils::Json::JsonView jsonValue)
InvokeInlineAgentInitialResponse & WithSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue