AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
28 public:
29 AWS_BEDROCKRUNTIME_API S3Location() = default;
32 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetUri() const { return m_uri; }
39 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
40 template <typename UriT = Aws::String>
41 void SetUri(UriT&& value) {
42 m_uriHasBeenSet = true;
43 m_uri = std::forward<UriT>(value);
44 }
45 template <typename UriT = Aws::String>
47 SetUri(std::forward<UriT>(value));
48 return *this;
49 }
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>
60 m_bucketOwnerHasBeenSet = true;
61 m_bucketOwner = std::forward<BucketOwnerT>(value);
62 }
63 template <typename BucketOwnerT = Aws::String>
65 SetBucketOwner(std::forward<BucketOwnerT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_uri;
71
72 Aws::String m_bucketOwner;
73 bool m_uriHasBeenSet = false;
74 bool m_bucketOwnerHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace BedrockRuntime
79} // 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:38
void SetBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:59
AWS_BEDROCKRUNTIME_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithUri(UriT &&value)
Definition S3Location.h:46
S3Location & WithBucketOwner(BucketOwnerT &&value)
Definition S3Location.h:64
AWS_BEDROCKRUNTIME_API S3Location()=default
const Aws::String & GetBucketOwner() const
Definition S3Location.h:56
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