AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OutputDataConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/translate/Translate_EXPORTS.h>
9#include <aws/translate/model/EncryptionKey.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Translate {
21namespace Model {
22
30 public:
31 AWS_TRANSLATE_API OutputDataConfig() = default;
32 AWS_TRANSLATE_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
42 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
43 template <typename S3UriT = Aws::String>
44 void SetS3Uri(S3UriT&& value) {
45 m_s3UriHasBeenSet = true;
46 m_s3Uri = std::forward<S3UriT>(value);
47 }
48 template <typename S3UriT = Aws::String>
49 OutputDataConfig& WithS3Uri(S3UriT&& value) {
50 SetS3Uri(std::forward<S3UriT>(value));
51 return *this;
52 }
54
56
57 inline const EncryptionKey& GetEncryptionKey() const { return m_encryptionKey; }
58 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
59 template <typename EncryptionKeyT = EncryptionKey>
60 void SetEncryptionKey(EncryptionKeyT&& value) {
61 m_encryptionKeyHasBeenSet = true;
62 m_encryptionKey = std::forward<EncryptionKeyT>(value);
63 }
64 template <typename EncryptionKeyT = EncryptionKey>
65 OutputDataConfig& WithEncryptionKey(EncryptionKeyT&& value) {
66 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_s3Uri;
72
73 EncryptionKey m_encryptionKey;
74 bool m_s3UriHasBeenSet = false;
75 bool m_encryptionKeyHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Translate
80} // namespace Aws
void SetEncryptionKey(EncryptionKeyT &&value)
AWS_TRANSLATE_API OutputDataConfig()=default
OutputDataConfig & WithEncryptionKey(EncryptionKeyT &&value)
const EncryptionKey & GetEncryptionKey() const
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue)
OutputDataConfig & WithS3Uri(S3UriT &&value)
const Aws::String & GetS3Uri() const
AWS_TRANSLATE_API OutputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue