AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PreProcessingParsedResponse.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline bool GetIsValid() const { return m_isValid; }
41 inline bool IsValidHasBeenSet() const { return m_isValidHasBeenSet; }
42 inline void SetIsValid(bool value) {
43 m_isValidHasBeenSet = true;
44 m_isValid = value;
45 }
47 SetIsValid(value);
48 return *this;
49 }
51
53
58 inline const Aws::String& GetRationale() const { return m_rationale; }
59 inline bool RationaleHasBeenSet() const { return m_rationaleHasBeenSet; }
60 template <typename RationaleT = Aws::String>
61 void SetRationale(RationaleT&& value) {
62 m_rationaleHasBeenSet = true;
63 m_rationale = std::forward<RationaleT>(value);
64 }
65 template <typename RationaleT = Aws::String>
67 SetRationale(std::forward<RationaleT>(value));
68 return *this;
69 }
71 private:
72 bool m_isValid{false};
73
74 Aws::String m_rationale;
75 bool m_isValidHasBeenSet = false;
76 bool m_rationaleHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgentRuntime
81} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse()=default
AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse(Aws::Utils::Json::JsonView jsonValue)
PreProcessingParsedResponse & WithRationale(RationaleT &&value)
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