AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
SupplementalDataStorageLocation.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/S3Location.h>
9#include <aws/bedrock-agent/model/SupplementalDataStorageLocationType.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 SupplementalDataStorageLocation() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline SupplementalDataStorageLocationType GetType() const { return m_type; }
42 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 m_typeHasBeenSet = true;
45 m_type = value;
46 }
48 SetType(value);
49 return *this;
50 }
52
54
58 inline const S3Location& GetS3Location() const { return m_s3Location; }
59 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
60 template <typename S3LocationT = S3Location>
61 void SetS3Location(S3LocationT&& value) {
62 m_s3LocationHasBeenSet = true;
63 m_s3Location = std::forward<S3LocationT>(value);
64 }
65 template <typename S3LocationT = S3Location>
67 SetS3Location(std::forward<S3LocationT>(value));
68 return *this;
69 }
71 private:
73
74 S3Location m_s3Location;
75 bool m_typeHasBeenSet = false;
76 bool m_s3LocationHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
SupplementalDataStorageLocation & WithType(SupplementalDataStorageLocationType value)
AWS_BEDROCKAGENT_API SupplementalDataStorageLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
SupplementalDataStorageLocation & WithS3Location(S3LocationT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API SupplementalDataStorageLocation()=default
AWS_BEDROCKAGENT_API SupplementalDataStorageLocation(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue