AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetOutputVector.h
1
6#pragma once
7#include <aws/s3vectors/S3Vectors_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3vectors/model/VectorData.h>
10#include <aws/core/utils/Document.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace S3Vectors
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_S3VECTORS_API GetOutputVector() = default;
39 AWS_S3VECTORS_API GetOutputVector(Aws::Utils::Json::JsonView jsonValue);
41 AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetKey() const { return m_key; }
49 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
50 template<typename KeyT = Aws::String>
51 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
52 template<typename KeyT = Aws::String>
53 GetOutputVector& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
55
57
60 inline const VectorData& GetData() const { return m_data; }
61 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
62 template<typename DataT = VectorData>
63 void SetData(DataT&& value) { m_dataHasBeenSet = true; m_data = std::forward<DataT>(value); }
64 template<typename DataT = VectorData>
65 GetOutputVector& WithData(DataT&& value) { SetData(std::forward<DataT>(value)); return *this;}
67
69
72 inline Aws::Utils::DocumentView GetMetadata() const { return m_metadata; }
73 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
74 template<typename MetadataT = Aws::Utils::Document>
75 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
76 template<typename MetadataT = Aws::Utils::Document>
77 GetOutputVector& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
79 private:
80
81 Aws::String m_key;
82 bool m_keyHasBeenSet = false;
83
84 VectorData m_data;
85 bool m_dataHasBeenSet = false;
86
87 Aws::Utils::Document m_metadata;
88 bool m_metadataHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace S3Vectors
93} // namespace Aws
AWS_S3VECTORS_API GetOutputVector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_S3VECTORS_API GetOutputVector(Aws::Utils::Json::JsonView jsonValue)
GetOutputVector & WithKey(KeyT &&value)
AWS_S3VECTORS_API GetOutputVector()=default
Aws::Utils::DocumentView GetMetadata() const
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
const VectorData & GetData() const
GetOutputVector & WithData(DataT &&value)
const Aws::String & GetKey() const
GetOutputVector & WithMetadata(MetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue