AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchMemory {
20namespace Model {
21
28 public:
29 AWS_OPENSEARCHMEMORY_API S3Location() = default;
30 AWS_OPENSEARCHMEMORY_API S3Location(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHMEMORY_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetUri() const { return m_uri; }
42 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
43 template <typename UriT = Aws::String>
44 void SetUri(UriT&& value) {
45 m_uriHasBeenSet = true;
46 m_uri = std::forward<UriT>(value);
47 }
48 template <typename UriT = Aws::String>
49 S3Location& WithUri(UriT&& value) {
50 SetUri(std::forward<UriT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_uri;
56 bool m_uriHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace OpenSearchMemory
61} // namespace Aws
AWS_OPENSEARCHMEMORY_API S3Location(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUri() const
Definition S3Location.h:41
AWS_OPENSEARCHMEMORY_API S3Location()=default
S3Location & WithUri(UriT &&value)
Definition S3Location.h:49
AWS_OPENSEARCHMEMORY_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue