AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SupplementalDataStorageConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock-agent/model/SupplementalDataStorageLocation.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
35 {
36 public:
37 AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration() = default;
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SupplementalDataStorageLocation>& GetStorageLocations() const { return m_storageLocations; }
49 inline bool StorageLocationsHasBeenSet() const { return m_storageLocationsHasBeenSet; }
50 template<typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
51 void SetStorageLocations(StorageLocationsT&& value) { m_storageLocationsHasBeenSet = true; m_storageLocations = std::forward<StorageLocationsT>(value); }
52 template<typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
53 SupplementalDataStorageConfiguration& WithStorageLocations(StorageLocationsT&& value) { SetStorageLocations(std::forward<StorageLocationsT>(value)); return *this;}
54 template<typename StorageLocationsT = SupplementalDataStorageLocation>
55 SupplementalDataStorageConfiguration& AddStorageLocations(StorageLocationsT&& value) { m_storageLocationsHasBeenSet = true; m_storageLocations.emplace_back(std::forward<StorageLocationsT>(value)); return *this; }
57 private:
58
60 bool m_storageLocationsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace BedrockAgent
65} // 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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue