AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CustomS3Location.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
30 public:
31 AWS_BEDROCKAGENT_API CustomS3Location() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUri() const { return m_uri; }
41 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
42 template <typename UriT = Aws::String>
43 void SetUri(UriT&& value) {
44 m_uriHasBeenSet = true;
45 m_uri = std::forward<UriT>(value);
46 }
47 template <typename UriT = Aws::String>
49 SetUri(std::forward<UriT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetBucketOwnerAccountId() const { return m_bucketOwnerAccountId; }
60 inline bool BucketOwnerAccountIdHasBeenSet() const { return m_bucketOwnerAccountIdHasBeenSet; }
61 template <typename BucketOwnerAccountIdT = Aws::String>
63 m_bucketOwnerAccountIdHasBeenSet = true;
64 m_bucketOwnerAccountId = std::forward<BucketOwnerAccountIdT>(value);
65 }
66 template <typename BucketOwnerAccountIdT = Aws::String>
68 SetBucketOwnerAccountId(std::forward<BucketOwnerAccountIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_uri;
74
75 Aws::String m_bucketOwnerAccountId;
76 bool m_uriHasBeenSet = false;
77 bool m_bucketOwnerAccountIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgent
82} // namespace Aws
AWS_BEDROCKAGENT_API CustomS3Location(Aws::Utils::Json::JsonView jsonValue)
CustomS3Location & WithBucketOwnerAccountId(BucketOwnerAccountIdT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API CustomS3Location()=default
AWS_BEDROCKAGENT_API CustomS3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomS3Location & WithUri(UriT &&value)
void SetBucketOwnerAccountId(BucketOwnerAccountIdT &&value)
const Aws::String & GetBucketOwnerAccountId() const
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