AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
SupplementalDataStorageConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/SupplementalDataStorageLocation.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 BedrockAgent {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<SupplementalDataStorageLocation>& GetStorageLocations() const { return m_storageLocations; }
43 inline bool StorageLocationsHasBeenSet() const { return m_storageLocationsHasBeenSet; }
44 template <typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
46 m_storageLocationsHasBeenSet = true;
47 m_storageLocations = std::forward<StorageLocationsT>(value);
48 }
49 template <typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
51 SetStorageLocations(std::forward<StorageLocationsT>(value));
52 return *this;
53 }
54 template <typename StorageLocationsT = SupplementalDataStorageLocation>
56 m_storageLocationsHasBeenSet = true;
57 m_storageLocations.emplace_back(std::forward<StorageLocationsT>(value));
58 return *this;
59 }
61 private:
63 bool m_storageLocationsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace BedrockAgent
68} // namespace Aws
AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SupplementalDataStorageLocation > & GetStorageLocations() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
SupplementalDataStorageConfiguration & AddStorageLocations(StorageLocationsT &&value)
SupplementalDataStorageConfiguration & WithStorageLocations(StorageLocationsT &&value)
AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue