AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
GenerationSelection.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/GenerationFilters.h>
9#include <aws/bedrock-agentcore/model/GenerationIdentifiers.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentCore {
21namespace Model {
22
32 public:
33 AWS_BEDROCKAGENTCORE_API GenerationSelection() = default;
34 AWS_BEDROCKAGENTCORE_API GenerationSelection(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API GenerationSelection& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const GenerationFilters& GetFilters() const { return m_filters; }
43 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
44 template <typename FiltersT = GenerationFilters>
45 void SetFilters(FiltersT&& value) {
46 m_filtersHasBeenSet = true;
47 m_filters = std::forward<FiltersT>(value);
48 }
49 template <typename FiltersT = GenerationFilters>
50 GenerationSelection& WithFilters(FiltersT&& value) {
51 SetFilters(std::forward<FiltersT>(value));
52 return *this;
53 }
55
57
60 inline const GenerationIdentifiers& GetIdentifiers() const { return m_identifiers; }
61 inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
62 template <typename IdentifiersT = GenerationIdentifiers>
63 void SetIdentifiers(IdentifiersT&& value) {
64 m_identifiersHasBeenSet = true;
65 m_identifiers = std::forward<IdentifiersT>(value);
66 }
67 template <typename IdentifiersT = GenerationIdentifiers>
68 GenerationSelection& WithIdentifiers(IdentifiersT&& value) {
69 SetIdentifiers(std::forward<IdentifiersT>(value));
70 return *this;
71 }
73 private:
74 GenerationFilters m_filters;
75
76 GenerationIdentifiers m_identifiers;
77 bool m_filtersHasBeenSet = false;
78 bool m_identifiersHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace BedrockAgentCore
83} // namespace Aws
AWS_BEDROCKAGENTCORE_API GenerationSelection()=default
GenerationSelection & WithFilters(FiltersT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const GenerationIdentifiers & GetIdentifiers() const
AWS_BEDROCKAGENTCORE_API GenerationSelection(Aws::Utils::Json::JsonView jsonValue)
GenerationSelection & WithIdentifiers(IdentifiersT &&value)
AWS_BEDROCKAGENTCORE_API GenerationSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue