AWS SDK for C++

AWS SDK for C++ Version 1.11.755

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
30 public:
31 AWS_BEDROCKAGENT_API SupplementalDataStorageLocation() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline SupplementalDataStorageLocationType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
57 inline const S3Location& GetS3Location() const { return m_s3Location; }
58 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
59 template <typename S3LocationT = S3Location>
60 void SetS3Location(S3LocationT&& value) {
61 m_s3LocationHasBeenSet = true;
62 m_s3Location = std::forward<S3LocationT>(value);
63 }
64 template <typename S3LocationT = S3Location>
66 SetS3Location(std::forward<S3LocationT>(value));
67 return *this;
68 }
70 private:
72
73 S3Location m_s3Location;
74 bool m_typeHasBeenSet = false;
75 bool m_s3LocationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // 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