AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InvokeInlineAgentInitialResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/http/HttpTypes.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
24 public:
25 AWS_BEDROCKAGENTRUNTIME_API InvokeInlineAgentInitialResponse() = default;
29 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline const Aws::String& GetContentType() const { return m_contentType; }
37 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
38 template <typename ContentTypeT = Aws::String>
40 m_contentTypeHasBeenSet = true;
41 m_contentType = std::forward<ContentTypeT>(value);
42 }
43 template <typename ContentTypeT = Aws::String>
45 SetContentType(std::forward<ContentTypeT>(value));
46 return *this;
47 }
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) {
58 m_sessionIdHasBeenSet = true;
59 m_sessionId = std::forward<SessionIdT>(value);
60 }
61 template <typename SessionIdT = Aws::String>
63 SetSessionId(std::forward<SessionIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_contentType;
69
70 Aws::String m_sessionId;
71 bool m_contentTypeHasBeenSet = false;
72 bool m_sessionIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace BedrockAgentRuntime
77} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue