AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
S3Identifier.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API S3Identifier() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
40 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
41 template <typename S3BucketNameT = Aws::String>
43 m_s3BucketNameHasBeenSet = true;
44 m_s3BucketName = std::forward<S3BucketNameT>(value);
45 }
46 template <typename S3BucketNameT = Aws::String>
48 SetS3BucketName(std::forward<S3BucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetS3ObjectKey() const { return m_s3ObjectKey; }
58 inline bool S3ObjectKeyHasBeenSet() const { return m_s3ObjectKeyHasBeenSet; }
59 template <typename S3ObjectKeyT = Aws::String>
61 m_s3ObjectKeyHasBeenSet = true;
62 m_s3ObjectKey = std::forward<S3ObjectKeyT>(value);
63 }
64 template <typename S3ObjectKeyT = Aws::String>
66 SetS3ObjectKey(std::forward<S3ObjectKeyT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3BucketName;
72
73 Aws::String m_s3ObjectKey;
74 bool m_s3BucketNameHasBeenSet = false;
75 bool m_s3ObjectKeyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BedrockAgent
80} // namespace Aws
S3Identifier & WithS3BucketName(S3BucketNameT &&value)
const Aws::String & GetS3ObjectKey() const
void SetS3BucketName(S3BucketNameT &&value)
AWS_BEDROCKAGENT_API S3Identifier()=default
AWS_BEDROCKAGENT_API S3Identifier(Aws::Utils::Json::JsonView jsonValue)
S3Identifier & WithS3ObjectKey(S3ObjectKeyT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3ObjectKey(S3ObjectKeyT &&value)
const Aws::String & GetS3BucketName() const
AWS_BEDROCKAGENT_API S3Identifier & operator=(Aws::Utils::Json::JsonView jsonValue)
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