AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Rekognition {
20namespace Model {
21
32 public:
33 AWS_REKOGNITION_API S3Destination() = default;
34 AWS_REKOGNITION_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetBucket() const { return m_bucket; }
44 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
45 template <typename BucketT = Aws::String>
46 void SetBucket(BucketT&& value) {
47 m_bucketHasBeenSet = true;
48 m_bucket = std::forward<BucketT>(value);
49 }
50 template <typename BucketT = Aws::String>
51 S3Destination& WithBucket(BucketT&& value) {
52 SetBucket(std::forward<BucketT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
65 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
66 template <typename KeyPrefixT = Aws::String>
67 void SetKeyPrefix(KeyPrefixT&& value) {
68 m_keyPrefixHasBeenSet = true;
69 m_keyPrefix = std::forward<KeyPrefixT>(value);
70 }
71 template <typename KeyPrefixT = Aws::String>
72 S3Destination& WithKeyPrefix(KeyPrefixT&& value) {
73 SetKeyPrefix(std::forward<KeyPrefixT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_bucket;
79
80 Aws::String m_keyPrefix;
81 bool m_bucketHasBeenSet = false;
82 bool m_keyPrefixHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Rekognition
87} // namespace Aws
const Aws::String & GetKeyPrefix() const
AWS_REKOGNITION_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API S3Destination()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
S3Destination & WithKeyPrefix(KeyPrefixT &&value)
const Aws::String & GetBucket() const
AWS_REKOGNITION_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyPrefix(KeyPrefixT &&value)
S3Destination & WithBucket(BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue