AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ParameterDetail.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/Type.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 BedrockAgent
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_BEDROCKAGENT_API ParameterDetail() = default;
47 AWS_BEDROCKAGENT_API ParameterDetail(Aws::Utils::Json::JsonView jsonValue);
48 AWS_BEDROCKAGENT_API ParameterDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 ParameterDetail& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
70 inline bool GetRequired() const { return m_required; }
71 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
72 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
73 inline ParameterDetail& WithRequired(bool value) { SetRequired(value); return *this;}
75
77
80 inline Type GetType() const { return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
83 inline ParameterDetail& WithType(Type value) { SetType(value); return *this;}
85 private:
86
87 Aws::String m_description;
88 bool m_descriptionHasBeenSet = false;
89
90 bool m_required{false};
91 bool m_requiredHasBeenSet = false;
92
93 Type m_type{Type::NOT_SET};
94 bool m_typeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace BedrockAgent
99} // namespace Aws
ParameterDetail & WithRequired(bool value)
ParameterDetail & WithDescription(DescriptionT &&value)
ParameterDetail & WithType(Type value)
AWS_BEDROCKAGENT_API ParameterDetail()=default
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ParameterDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ParameterDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue