AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
TrainingDataConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/InvocationLogsConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
29 public:
30 AWS_BEDROCK_API TrainingDataConfig() = default;
33 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
40 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
41 template <typename S3UriT = Aws::String>
42 void SetS3Uri(S3UriT&& value) {
43 m_s3UriHasBeenSet = true;
44 m_s3Uri = std::forward<S3UriT>(value);
45 }
46 template <typename S3UriT = Aws::String>
48 SetS3Uri(std::forward<S3UriT>(value));
49 return *this;
50 }
52
54
57 inline const InvocationLogsConfig& GetInvocationLogsConfig() const { return m_invocationLogsConfig; }
58 inline bool InvocationLogsConfigHasBeenSet() const { return m_invocationLogsConfigHasBeenSet; }
59 template <typename InvocationLogsConfigT = InvocationLogsConfig>
61 m_invocationLogsConfigHasBeenSet = true;
62 m_invocationLogsConfig = std::forward<InvocationLogsConfigT>(value);
63 }
64 template <typename InvocationLogsConfigT = InvocationLogsConfig>
66 SetInvocationLogsConfig(std::forward<InvocationLogsConfigT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3Uri;
72
73 InvocationLogsConfig m_invocationLogsConfig;
74 bool m_s3UriHasBeenSet = false;
75 bool m_invocationLogsConfigHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Bedrock
80} // namespace Aws
void SetInvocationLogsConfig(InvocationLogsConfigT &&value)
AWS_BEDROCK_API TrainingDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingDataConfig & WithS3Uri(S3UriT &&value)
TrainingDataConfig & WithInvocationLogsConfig(InvocationLogsConfigT &&value)
AWS_BEDROCK_API TrainingDataConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const InvocationLogsConfig & GetInvocationLogsConfig() const
AWS_BEDROCK_API TrainingDataConfig()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue