AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Destination.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
33 {
34 public:
35 AWS_SIMSPACEWEAVER_API S3Destination() = default;
36 AWS_SIMSPACEWEAVER_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SIMSPACEWEAVER_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetBucketName() const { return m_bucketName; }
49 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
50 template<typename BucketNameT = Aws::String>
51 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
52 template<typename BucketNameT = Aws::String>
53 S3Destination& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::forward<ObjectKeyPrefixT>(value); }
68 template<typename ObjectKeyPrefixT = Aws::String>
69 S3Destination& WithObjectKeyPrefix(ObjectKeyPrefixT&& value) { SetObjectKeyPrefix(std::forward<ObjectKeyPrefixT>(value)); return *this;}
71 private:
72
73 Aws::String m_bucketName;
74 bool m_bucketNameHasBeenSet = false;
75
76 Aws::String m_objectKeyPrefix;
77 bool m_objectKeyPrefixHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SimSpaceWeaver
82} // 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