AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OutputConfig.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
33 {
34 public:
35 AWS_REKOGNITION_API OutputConfig() = default;
36 AWS_REKOGNITION_API OutputConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
46 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
47 template<typename S3BucketT = Aws::String>
48 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
49 template<typename S3BucketT = Aws::String>
50 OutputConfig& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
52
54
57 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
58 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
59 template<typename S3KeyPrefixT = Aws::String>
60 void SetS3KeyPrefix(S3KeyPrefixT&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
61 template<typename S3KeyPrefixT = Aws::String>
62 OutputConfig& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
64 private:
65
66 Aws::String m_s3Bucket;
67 bool m_s3BucketHasBeenSet = false;
68
69 Aws::String m_s3KeyPrefix;
70 bool m_s3KeyPrefixHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Rekognition
75} // namespace Aws
AWS_REKOGNITION_API OutputConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REKOGNITION_API OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Bucket() const
AWS_REKOGNITION_API OutputConfig()=default
OutputConfig & WithS3Bucket(S3BucketT &&value)
void SetS3KeyPrefix(S3KeyPrefixT &&value)
void SetS3Bucket(S3BucketT &&value)
OutputConfig & WithS3KeyPrefix(S3KeyPrefixT &&value)
const Aws::String & GetS3KeyPrefix() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue