AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline ParameterDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline ParameterDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline ParameterDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline bool GetRequired() const{ return m_required; }
73 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
74 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
75 inline ParameterDetail& WithRequired(bool value) { SetRequired(value); return *this;}
77
79
82 inline const Type& GetType() const{ return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
85 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
86 inline ParameterDetail& WithType(const Type& value) { SetType(value); return *this;}
87 inline ParameterDetail& WithType(Type&& value) { SetType(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
94 bool m_required;
95 bool m_requiredHasBeenSet = false;
96
97 Type m_type;
98 bool m_typeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace BedrockAgent
103} // namespace Aws
ParameterDetail & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
ParameterDetail & WithRequired(bool value)
ParameterDetail & WithType(Type &&value)
const Aws::String & GetDescription() const
ParameterDetail & WithType(const Type &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterDetail & WithDescription(Aws::String &&value)
AWS_BEDROCKAGENT_API ParameterDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ParameterDetail(Aws::Utils::Json::JsonView jsonValue)
ParameterDetail & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue