AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OutputConfig.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
29 public:
30 AWS_REKOGNITION_API OutputConfig() = default;
31 AWS_REKOGNITION_API OutputConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_REKOGNITION_API OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
40 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
41 template <typename S3BucketT = Aws::String>
42 void SetS3Bucket(S3BucketT&& value) {
43 m_s3BucketHasBeenSet = true;
44 m_s3Bucket = std::forward<S3BucketT>(value);
45 }
46 template <typename S3BucketT = Aws::String>
47 OutputConfig& WithS3Bucket(S3BucketT&& value) {
48 SetS3Bucket(std::forward<S3BucketT>(value));
49 return *this;
50 }
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) {
61 m_s3KeyPrefixHasBeenSet = true;
62 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
63 }
64 template <typename S3KeyPrefixT = Aws::String>
65 OutputConfig& WithS3KeyPrefix(S3KeyPrefixT&& value) {
66 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3Bucket;
72
73 Aws::String m_s3KeyPrefix;
74 bool m_s3BucketHasBeenSet = false;
75 bool m_s3KeyPrefixHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Rekognition
80} // 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