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/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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
52 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
53 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
54 inline S3Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
55 inline S3Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
56 inline S3Destination& WithBucket(const char* value) { SetBucket(value); return *this;}
58
60
66 inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
67 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
68 inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
69 inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
70 inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
71 inline S3Destination& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
72 inline S3Destination& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
73 inline S3Destination& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
75 private:
76
77 Aws::String m_bucket;
78 bool m_bucketHasBeenSet = false;
79
80 Aws::String m_keyPrefix;
81 bool m_keyPrefixHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Rekognition
86} // namespace Aws
const Aws::String & GetKeyPrefix() const
AWS_REKOGNITION_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithKeyPrefix(Aws::String &&value)
S3Destination & WithBucket(Aws::String &&value)
S3Destination & WithBucket(const Aws::String &value)
void SetKeyPrefix(Aws::String &&value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
S3Destination & WithKeyPrefix(const char *value)
const Aws::String & GetBucket() const
S3Destination & WithKeyPrefix(const Aws::String &value)
AWS_REKOGNITION_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBucket(Aws::String &&value)
void SetBucket(const Aws::String &value)
S3Destination & WithBucket(const char *value)
void SetKeyPrefix(const char *value)
void SetKeyPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue