AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModelDataSource.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/S3DataSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
28 public:
29 AWS_BEDROCK_API ModelDataSource() = default;
32 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const S3DataSource& GetS3DataSource() const { return m_s3DataSource; }
39 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
40 template <typename S3DataSourceT = S3DataSource>
42 m_s3DataSourceHasBeenSet = true;
43 m_s3DataSource = std::forward<S3DataSourceT>(value);
44 }
45 template <typename S3DataSourceT = S3DataSource>
47 SetS3DataSource(std::forward<S3DataSourceT>(value));
48 return *this;
49 }
51 private:
52 S3DataSource m_s3DataSource;
53 bool m_s3DataSourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Bedrock
58} // namespace Aws
void SetS3DataSource(S3DataSourceT &&value)
const S3DataSource & GetS3DataSource() const
AWS_BEDROCK_API ModelDataSource()=default
ModelDataSource & WithS3DataSource(S3DataSourceT &&value)
AWS_BEDROCK_API ModelDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API ModelDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue