AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_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 BedrockRuntime
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_BEDROCKRUNTIME_API S3Location() = default;
35 AWS_BEDROCKRUNTIME_API S3Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKRUNTIME_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUri() const { return m_uri; }
45 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
46 template<typename UriT = Aws::String>
47 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
48 template<typename UriT = Aws::String>
49 S3Location& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
51
53
56 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
57 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
58 template<typename BucketOwnerT = Aws::String>
59 void SetBucketOwner(BucketOwnerT&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::forward<BucketOwnerT>(value); }
60 template<typename BucketOwnerT = Aws::String>
61 S3Location& WithBucketOwner(BucketOwnerT&& value) { SetBucketOwner(std::forward<BucketOwnerT>(value)); return *this;}
63 private:
64
65 Aws::String m_uri;
66 bool m_uriHasBeenSet = false;
67
68 Aws::String m_bucketOwner;
69 bool m_bucketOwnerHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace BedrockRuntime
74} // namespace Aws
AWS_BEDROCKRUNTIME_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUri() const
Definition S3Location.h:44
void SetBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:59
AWS_BEDROCKRUNTIME_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithUri(UriT &&value)
Definition S3Location.h:49
S3Location & WithBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:61
AWS_BEDROCKRUNTIME_API S3Location()=default
const Aws::String & GetBucketOwner() const
Definition S3Location.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue