AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
BlobSource.h
1
6#pragma once
7#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
8#include <aws/opensearchmemory/model/S3Location.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
29 public:
30 AWS_OPENSEARCHMEMORY_API BlobSource() = default;
31 AWS_OPENSEARCHMEMORY_API BlobSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHMEMORY_API BlobSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const S3Location& GetS3Location() const { return m_s3Location; }
40 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
41 template <typename S3LocationT = S3Location>
42 void SetS3Location(S3LocationT&& value) {
43 m_s3LocationHasBeenSet = true;
44 m_s3Location = std::forward<S3LocationT>(value);
45 }
46 template <typename S3LocationT = S3Location>
47 BlobSource& WithS3Location(S3LocationT&& value) {
48 SetS3Location(std::forward<S3LocationT>(value));
49 return *this;
50 }
52 private:
53 S3Location m_s3Location;
54 bool m_s3LocationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace OpenSearchMemory
59} // namespace Aws
void SetS3Location(S3LocationT &&value)
Definition BlobSource.h:42
const S3Location & GetS3Location() const
Definition BlobSource.h:39
AWS_OPENSEARCHMEMORY_API BlobSource()=default
AWS_OPENSEARCHMEMORY_API BlobSource(Aws::Utils::Json::JsonView jsonValue)
BlobSource & WithS3Location(S3LocationT &&value)
Definition BlobSource.h:47
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHMEMORY_API BlobSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue