AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PropertyParameters.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/Parameter.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentRuntime {
21namespace Model {
22
29 public:
30 AWS_BEDROCKAGENTRUNTIME_API PropertyParameters() = default;
33 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Parameter>& GetProperties() const { return m_properties; }
40 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
41 template <typename PropertiesT = Aws::Vector<Parameter>>
42 void SetProperties(PropertiesT&& value) {
43 m_propertiesHasBeenSet = true;
44 m_properties = std::forward<PropertiesT>(value);
45 }
46 template <typename PropertiesT = Aws::Vector<Parameter>>
48 SetProperties(std::forward<PropertiesT>(value));
49 return *this;
50 }
51 template <typename PropertiesT = Parameter>
53 m_propertiesHasBeenSet = true;
54 m_properties.emplace_back(std::forward<PropertiesT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<Parameter> m_properties;
60 bool m_propertiesHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace BedrockAgentRuntime
65} // namespace Aws
PropertyParameters & AddProperties(PropertiesT &&value)
PropertyParameters & WithProperties(PropertiesT &&value)
AWS_BEDROCKAGENTRUNTIME_API PropertyParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Parameter > & GetProperties() const
AWS_BEDROCKAGENTRUNTIME_API PropertyParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API PropertyParameters()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue