AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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
34 {
35 public:
36 AWS_BEDROCKAGENT_API CustomS3Location() = default;
37 AWS_BEDROCKAGENT_API CustomS3Location(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API CustomS3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBucketOwnerAccountId() const { return m_bucketOwnerAccountId; }
48 inline bool BucketOwnerAccountIdHasBeenSet() const { return m_bucketOwnerAccountIdHasBeenSet; }
49 template<typename BucketOwnerAccountIdT = Aws::String>
50 void SetBucketOwnerAccountId(BucketOwnerAccountIdT&& value) { m_bucketOwnerAccountIdHasBeenSet = true; m_bucketOwnerAccountId = std::forward<BucketOwnerAccountIdT>(value); }
51 template<typename BucketOwnerAccountIdT = Aws::String>
52 CustomS3Location& WithBucketOwnerAccountId(BucketOwnerAccountIdT&& value) { SetBucketOwnerAccountId(std::forward<BucketOwnerAccountIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetUri() const { return m_uri; }
60 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
61 template<typename UriT = Aws::String>
62 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
63 template<typename UriT = Aws::String>
64 CustomS3Location& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
66 private:
67
68 Aws::String m_bucketOwnerAccountId;
69 bool m_bucketOwnerAccountIdHasBeenSet = false;
70
71 Aws::String m_uri;
72 bool m_uriHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BedrockAgent
77} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue