AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_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 Rekognition
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_REKOGNITION_API S3Destination() = default;
39 AWS_REKOGNITION_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REKOGNITION_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBucket() const { return m_bucket; }
50 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
51 template<typename BucketT = Aws::String>
52 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
53 template<typename BucketT = Aws::String>
54 S3Destination& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
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) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
68 template<typename KeyPrefixT = Aws::String>
69 S3Destination& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
71 private:
72
73 Aws::String m_bucket;
74 bool m_bucketHasBeenSet = false;
75
76 Aws::String m_keyPrefix;
77 bool m_keyPrefixHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Rekognition
82} // 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