AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Location.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
32 {
33 public:
34 AWS_BEDROCKAGENT_API S3Location();
35 AWS_BEDROCKAGENT_API S3Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENT_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetUri() const{ return m_uri; }
46 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
47 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
48 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
49 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
50 inline S3Location& WithUri(const Aws::String& value) { SetUri(value); return *this;}
51 inline S3Location& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
52 inline S3Location& WithUri(const char* value) { SetUri(value); return *this;}
54 private:
55
56 Aws::String m_uri;
57 bool m_uriHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace BedrockAgent
62} // namespace Aws
S3Location & WithUri(Aws::String &&value)
Definition S3Location.h:51
const Aws::String & GetUri() const
Definition S3Location.h:45
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API S3Location()
AWS_BEDROCKAGENT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithUri(const Aws::String &value)
Definition S3Location.h:50
AWS_BEDROCKAGENT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUri(const char *value)
Definition S3Location.h:49
void SetUri(Aws::String &&value)
Definition S3Location.h:48
void SetUri(const Aws::String &value)
Definition S3Location.h:47
S3Location & WithUri(const char *value)
Definition S3Location.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue