AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
51 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
52 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
53 inline S3Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
54 inline S3Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
55 inline S3Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
57
59
66 inline const Aws::String& GetObjectKeyPrefix() const{ return m_objectKeyPrefix; }
67 inline bool ObjectKeyPrefixHasBeenSet() const { return m_objectKeyPrefixHasBeenSet; }
68 inline void SetObjectKeyPrefix(const Aws::String& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = value; }
69 inline void SetObjectKeyPrefix(Aws::String&& value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix = std::move(value); }
70 inline void SetObjectKeyPrefix(const char* value) { m_objectKeyPrefixHasBeenSet = true; m_objectKeyPrefix.assign(value); }
71 inline S3Destination& WithObjectKeyPrefix(const Aws::String& value) { SetObjectKeyPrefix(value); return *this;}
72 inline S3Destination& WithObjectKeyPrefix(Aws::String&& value) { SetObjectKeyPrefix(std::move(value)); return *this;}
73 inline S3Destination& WithObjectKeyPrefix(const char* value) { SetObjectKeyPrefix(value); return *this;}
75 private:
76
77 Aws::String m_bucketName;
78 bool m_bucketNameHasBeenSet = false;
79
80 Aws::String m_objectKeyPrefix;
81 bool m_objectKeyPrefixHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SimSpaceWeaver
86} // namespace Aws
void SetObjectKeyPrefix(Aws::String &&value)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
S3Destination & WithBucketName(Aws::String &&value)
const Aws::String & GetObjectKeyPrefix() const
AWS_SIMSPACEWEAVER_API S3Destination()
void SetObjectKeyPrefix(const Aws::String &value)
void SetBucketName(const Aws::String &value)
S3Destination & WithObjectKeyPrefix(Aws::String &&value)
S3Destination & WithBucketName(const Aws::String &value)
void SetObjectKeyPrefix(const char *value)
void SetBucketName(Aws::String &&value)
S3Destination & WithObjectKeyPrefix(const Aws::String &value)
S3Destination & WithBucketName(const char *value)
S3Destination & WithObjectKeyPrefix(const char *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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue