AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API S3Identifier();
36 AWS_BEDROCKAGENT_API S3Identifier(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENT_API S3Identifier& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
46 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
47 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
48 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
49 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
50 inline S3Identifier& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
51 inline S3Identifier& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
52 inline S3Identifier& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
54
56
59 inline const Aws::String& GetS3ObjectKey() const{ return m_s3ObjectKey; }
60 inline bool S3ObjectKeyHasBeenSet() const { return m_s3ObjectKeyHasBeenSet; }
61 inline void SetS3ObjectKey(const Aws::String& value) { m_s3ObjectKeyHasBeenSet = true; m_s3ObjectKey = value; }
62 inline void SetS3ObjectKey(Aws::String&& value) { m_s3ObjectKeyHasBeenSet = true; m_s3ObjectKey = std::move(value); }
63 inline void SetS3ObjectKey(const char* value) { m_s3ObjectKeyHasBeenSet = true; m_s3ObjectKey.assign(value); }
64 inline S3Identifier& WithS3ObjectKey(const Aws::String& value) { SetS3ObjectKey(value); return *this;}
65 inline S3Identifier& WithS3ObjectKey(Aws::String&& value) { SetS3ObjectKey(std::move(value)); return *this;}
66 inline S3Identifier& WithS3ObjectKey(const char* value) { SetS3ObjectKey(value); return *this;}
68 private:
69
70 Aws::String m_s3BucketName;
71 bool m_s3BucketNameHasBeenSet = false;
72
73 Aws::String m_s3ObjectKey;
74 bool m_s3ObjectKeyHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace BedrockAgent
79} // namespace Aws
void SetS3BucketName(const Aws::String &value)
S3Identifier & WithS3BucketName(const Aws::String &value)
void SetS3BucketName(const char *value)
void SetS3ObjectKey(Aws::String &&value)
void SetS3ObjectKey(const Aws::String &value)
const Aws::String & GetS3ObjectKey() const
void SetS3BucketName(Aws::String &&value)
AWS_BEDROCKAGENT_API S3Identifier()
S3Identifier & WithS3BucketName(const char *value)
AWS_BEDROCKAGENT_API S3Identifier(Aws::Utils::Json::JsonView jsonValue)
void SetS3ObjectKey(const char *value)
S3Identifier & WithS3ObjectKey(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
S3Identifier & WithS3BucketName(Aws::String &&value)
S3Identifier & WithS3ObjectKey(const char *value)
const Aws::String & GetS3BucketName() const
AWS_BEDROCKAGENT_API S3Identifier & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Identifier & WithS3ObjectKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue