AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OutputDataConfig.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/model/EncryptionKey.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Translate
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TRANSLATE_API OutputDataConfig() = default;
37 AWS_TRANSLATE_API OutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
48 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
49 template<typename S3UriT = Aws::String>
50 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
51 template<typename S3UriT = Aws::String>
52 OutputDataConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
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) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
61 template<typename EncryptionKeyT = EncryptionKey>
62 OutputDataConfig& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
64 private:
65
66 Aws::String m_s3Uri;
67 bool m_s3UriHasBeenSet = false;
68
69 EncryptionKey m_encryptionKey;
70 bool m_encryptionKeyHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Translate
75} // 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