AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_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 SimSpaceWeaver
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SIMSPACEWEAVER_API S3Location() = default;
40 AWS_SIMSPACEWEAVER_API S3Location(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SIMSPACEWEAVER_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetBucketName() const { return m_bucketName; }
53 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
54 template<typename BucketNameT = Aws::String>
55 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
56 template<typename BucketNameT = Aws::String>
57 S3Location& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
59
61
68 inline const Aws::String& GetObjectKey() const { return m_objectKey; }
69 inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
70 template<typename ObjectKeyT = Aws::String>
71 void SetObjectKey(ObjectKeyT&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::forward<ObjectKeyT>(value); }
72 template<typename ObjectKeyT = Aws::String>
73 S3Location& WithObjectKey(ObjectKeyT&& value) { SetObjectKey(std::forward<ObjectKeyT>(value)); return *this;}
75 private:
76
77 Aws::String m_bucketName;
78 bool m_bucketNameHasBeenSet = false;
79
80 Aws::String m_objectKey;
81 bool m_objectKeyHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SimSpaceWeaver
86} // namespace Aws
AWS_SIMSPACEWEAVER_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API S3Location()=default
S3Location & WithBucketName(BucketNameT &&value)
Definition S3Location.h:57
void SetBucketName(BucketNameT &&value)
Definition S3Location.h:55
void SetObjectKey(ObjectKeyT &&value)
Definition S3Location.h:71
AWS_SIMSPACEWEAVER_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketName() const
Definition S3Location.h:52
const Aws::String & GetObjectKey() const
Definition S3Location.h:68
S3Location & WithObjectKey(ObjectKeyT &&value)
Definition S3Location.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue