AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
PiiOutputDataConfig.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Comprehend {
20namespace Model {
21
29 public:
30 AWS_COMPREHEND_API PiiOutputDataConfig() = default;
31 AWS_COMPREHEND_API PiiOutputDataConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
44 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
45 template <typename S3UriT = Aws::String>
46 void SetS3Uri(S3UriT&& value) {
47 m_s3UriHasBeenSet = true;
48 m_s3Uri = std::forward<S3UriT>(value);
49 }
50 template <typename S3UriT = Aws::String>
51 PiiOutputDataConfig& WithS3Uri(S3UriT&& value) {
52 SetS3Uri(std::forward<S3UriT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
63 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
64 template <typename KmsKeyIdT = Aws::String>
65 void SetKmsKeyId(KmsKeyIdT&& value) {
66 m_kmsKeyIdHasBeenSet = true;
67 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
68 }
69 template <typename KmsKeyIdT = Aws::String>
70 PiiOutputDataConfig& WithKmsKeyId(KmsKeyIdT&& value) {
71 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_s3Uri;
77
78 Aws::String m_kmsKeyId;
79 bool m_s3UriHasBeenSet = false;
80 bool m_kmsKeyIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Comprehend
85} // namespace Aws
AWS_COMPREHEND_API PiiOutputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PiiOutputDataConfig & WithKmsKeyId(KmsKeyIdT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API PiiOutputDataConfig(Aws::Utils::Json::JsonView jsonValue)
PiiOutputDataConfig & WithS3Uri(S3UriT &&value)
AWS_COMPREHEND_API PiiOutputDataConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue