AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
S3Content.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/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 BedrockAgent {
20namespace Model {
21
28class S3Content {
29 public:
30 AWS_BEDROCKAGENT_API S3Content() = default;
33 AWS_BEDROCKAGENT_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>
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 BedrockAgent
59} // namespace Aws
AWS_BEDROCKAGENT_API S3Content & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Content & WithS3Location(S3LocationT &&value)
Definition S3Content.h:47
AWS_BEDROCKAGENT_API S3Content()=default
AWS_BEDROCKAGENT_API S3Content(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3Location() const
Definition S3Content.h:39
void SetS3Location(S3LocationT &&value)
Definition S3Content.h:42
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue