AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentRuntime
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse() = default;
36 AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API PreProcessingParsedResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetIsValid() const { return m_isValid; }
47 inline bool IsValidHasBeenSet() const { return m_isValidHasBeenSet; }
48 inline void SetIsValid(bool value) { m_isValidHasBeenSet = true; m_isValid = value; }
49 inline PreProcessingParsedResponse& WithIsValid(bool value) { SetIsValid(value); return *this;}
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) { m_rationaleHasBeenSet = true; m_rationale = std::forward<RationaleT>(value); }
62 template<typename RationaleT = Aws::String>
63 PreProcessingParsedResponse& WithRationale(RationaleT&& value) { SetRationale(std::forward<RationaleT>(value)); return *this;}
65 private:
66
67 bool m_isValid{false};
68 bool m_isValidHasBeenSet = false;
69
70 Aws::String m_rationale;
71 bool m_rationaleHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgentRuntime
76} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue