AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParameterDetail.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/bedrock-agent-runtime/model/ParameterType.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
34 {
35 public:
36 AWS_BEDROCKAGENTRUNTIME_API ParameterDetail() = default;
37 AWS_BEDROCKAGENTRUNTIME_API ParameterDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API ParameterDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 ParameterDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
60 inline bool GetRequired() const { return m_required; }
61 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
62 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
63 inline ParameterDetail& WithRequired(bool value) { SetRequired(value); return *this;}
65
67
70 inline ParameterType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(ParameterType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline ParameterDetail& WithType(ParameterType value) { SetType(value); return *this;}
75 private:
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 bool m_required{false};
81 bool m_requiredHasBeenSet = false;
82
84 bool m_typeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace BedrockAgentRuntime
89} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API ParameterDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API ParameterDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterDetail & WithType(ParameterType value)
ParameterDetail & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API ParameterDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue