AWS SDK for C++

AWS SDK for C++ Version 1.11.846

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
32 public:
33 AWS_BEDROCKAGENT_API SupplementalDataStorageConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<SupplementalDataStorageLocation>& GetStorageLocations() const { return m_storageLocations; }
45 inline bool StorageLocationsHasBeenSet() const { return m_storageLocationsHasBeenSet; }
46 template <typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
48 m_storageLocationsHasBeenSet = true;
49 m_storageLocations = std::forward<StorageLocationsT>(value);
50 }
51 template <typename StorageLocationsT = Aws::Vector<SupplementalDataStorageLocation>>
53 SetStorageLocations(std::forward<StorageLocationsT>(value));
54 return *this;
55 }
56 template <typename StorageLocationsT = SupplementalDataStorageLocation>
58 m_storageLocationsHasBeenSet = true;
59 m_storageLocations.emplace_back(std::forward<StorageLocationsT>(value));
60 return *this;
61 }
63 private:
65 bool m_storageLocationsHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace BedrockAgent
70} // 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