AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DataSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API S3DataSourceConfiguration();
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
47 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
48 inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; }
49 inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); }
50 inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); }
51 inline S3DataSourceConfiguration& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
52 inline S3DataSourceConfiguration& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
53 inline S3DataSourceConfiguration& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
55
57
60 inline const Aws::String& GetBucketOwnerAccountId() const{ return m_bucketOwnerAccountId; }
61 inline bool BucketOwnerAccountIdHasBeenSet() const { return m_bucketOwnerAccountIdHasBeenSet; }
62 inline void SetBucketOwnerAccountId(const Aws::String& value) { m_bucketOwnerAccountIdHasBeenSet = true; m_bucketOwnerAccountId = value; }
63 inline void SetBucketOwnerAccountId(Aws::String&& value) { m_bucketOwnerAccountIdHasBeenSet = true; m_bucketOwnerAccountId = std::move(value); }
64 inline void SetBucketOwnerAccountId(const char* value) { m_bucketOwnerAccountIdHasBeenSet = true; m_bucketOwnerAccountId.assign(value); }
67 inline S3DataSourceConfiguration& WithBucketOwnerAccountId(const char* value) { SetBucketOwnerAccountId(value); return *this;}
69
71
77 inline const Aws::Vector<Aws::String>& GetInclusionPrefixes() const{ return m_inclusionPrefixes; }
78 inline bool InclusionPrefixesHasBeenSet() const { return m_inclusionPrefixesHasBeenSet; }
79 inline void SetInclusionPrefixes(const Aws::Vector<Aws::String>& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes = value; }
80 inline void SetInclusionPrefixes(Aws::Vector<Aws::String>&& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes = std::move(value); }
83 inline S3DataSourceConfiguration& AddInclusionPrefixes(const Aws::String& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(value); return *this; }
84 inline S3DataSourceConfiguration& AddInclusionPrefixes(Aws::String&& value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(std::move(value)); return *this; }
85 inline S3DataSourceConfiguration& AddInclusionPrefixes(const char* value) { m_inclusionPrefixesHasBeenSet = true; m_inclusionPrefixes.push_back(value); return *this; }
87 private:
88
89 Aws::String m_bucketArn;
90 bool m_bucketArnHasBeenSet = false;
91
92 Aws::String m_bucketOwnerAccountId;
93 bool m_bucketOwnerAccountIdHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_inclusionPrefixes;
96 bool m_inclusionPrefixesHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace BedrockAgent
101} // namespace Aws
S3DataSourceConfiguration & WithBucketOwnerAccountId(const char *value)
S3DataSourceConfiguration & WithBucketArn(const Aws::String &value)
S3DataSourceConfiguration & AddInclusionPrefixes(const Aws::String &value)
AWS_BEDROCKAGENT_API S3DataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3DataSourceConfiguration & AddInclusionPrefixes(Aws::String &&value)
S3DataSourceConfiguration & WithBucketOwnerAccountId(Aws::String &&value)
S3DataSourceConfiguration & WithBucketArn(const char *value)
S3DataSourceConfiguration & WithBucketArn(Aws::String &&value)
S3DataSourceConfiguration & WithBucketOwnerAccountId(const Aws::String &value)
void SetInclusionPrefixes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetInclusionPrefixes() const
S3DataSourceConfiguration & WithInclusionPrefixes(const Aws::Vector< Aws::String > &value)
S3DataSourceConfiguration & WithInclusionPrefixes(Aws::Vector< Aws::String > &&value)
AWS_BEDROCKAGENT_API S3DataSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInclusionPrefixes(const Aws::Vector< Aws::String > &value)
S3DataSourceConfiguration & AddInclusionPrefixes(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue