AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SimSpaceWeaver {
20namespace Model {
21
29 public:
30 AWS_SIMSPACEWEAVER_API S3Destination() = default;
31 AWS_SIMSPACEWEAVER_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SIMSPACEWEAVER_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetBucketName() const { return m_bucketName; }
43 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
44 template <typename BucketNameT = Aws::String>
45 void SetBucketName(BucketNameT&& value) {
46 m_bucketNameHasBeenSet = true;
47 m_bucketName = std::forward<BucketNameT>(value);
48 }
49 template <typename BucketNameT = Aws::String>
50 S3Destination& WithBucketName(BucketNameT&& value) {
51 SetBucketName(std::forward<BucketNameT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetObjectKeyPrefix() const { return m_objectKeyPrefix; }
65 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
66 template <typename ObjectKeyPrefixT = Aws::String>
67 void SetObjectKeyPrefix(ObjectKeyPrefixT&& value) {
68 m_objectKeyPrefixHasBeenSet = true;
69 m_objectKeyPrefix = std::forward<ObjectKeyPrefixT>(value);
70 }
71 template <typename ObjectKeyPrefixT = Aws::String>
72 S3Destination& WithObjectKeyPrefix(ObjectKeyPrefixT&& value) {
73 SetObjectKeyPrefix(std::forward<ObjectKeyPrefixT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_bucketName;
79
80 Aws::String m_objectKeyPrefix;
81 bool m_bucketNameHasBeenSet = false;
82 bool m_objectKeyPrefixHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace SimSpaceWeaver
87} // namespace Aws
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SIMSPACEWEAVER_API S3Destination()=default
const Aws::String & GetObjectKeyPrefix() const
S3Destination & WithBucketName(BucketNameT &&value)
void SetBucketName(BucketNameT &&value)
void SetObjectKeyPrefix(ObjectKeyPrefixT &&value)
AWS_SIMSPACEWEAVER_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucketName() const
AWS_SIMSPACEWEAVER_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithObjectKeyPrefix(ObjectKeyPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue