AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
S3LogDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pipes/Pipes_EXPORTS.h>
9#include <aws/pipes/model/S3OutputFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pipes {
21namespace Model {
22
30 public:
31 AWS_PIPES_API S3LogDestination() = default;
34 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetBucketName() const { return m_bucketName; }
42 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
43 template <typename BucketNameT = Aws::String>
44 void SetBucketName(BucketNameT&& value) {
45 m_bucketNameHasBeenSet = true;
46 m_bucketName = std::forward<BucketNameT>(value);
47 }
48 template <typename BucketNameT = Aws::String>
49 S3LogDestination& WithBucketName(BucketNameT&& value) {
50 SetBucketName(std::forward<BucketNameT>(value));
51 return *this;
52 }
54
56
63 inline const Aws::String& GetPrefix() const { return m_prefix; }
64 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
65 template <typename PrefixT = Aws::String>
66 void SetPrefix(PrefixT&& value) {
67 m_prefixHasBeenSet = true;
68 m_prefix = std::forward<PrefixT>(value);
69 }
70 template <typename PrefixT = Aws::String>
71 S3LogDestination& WithPrefix(PrefixT&& value) {
72 SetPrefix(std::forward<PrefixT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
83 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
84 template <typename BucketOwnerT = Aws::String>
85 void SetBucketOwner(BucketOwnerT&& value) {
86 m_bucketOwnerHasBeenSet = true;
87 m_bucketOwner = std::forward<BucketOwnerT>(value);
88 }
89 template <typename BucketOwnerT = Aws::String>
90 S3LogDestination& WithBucketOwner(BucketOwnerT&& value) {
91 SetBucketOwner(std::forward<BucketOwnerT>(value));
92 return *this;
93 }
95
97
101 inline S3OutputFormat GetOutputFormat() const { return m_outputFormat; }
102 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
103 inline void SetOutputFormat(S3OutputFormat value) {
104 m_outputFormatHasBeenSet = true;
105 m_outputFormat = value;
106 }
108 SetOutputFormat(value);
109 return *this;
110 }
112 private:
113 Aws::String m_bucketName;
114
115 Aws::String m_prefix;
116
117 Aws::String m_bucketOwner;
118
120 bool m_bucketNameHasBeenSet = false;
121 bool m_prefixHasBeenSet = false;
122 bool m_bucketOwnerHasBeenSet = false;
123 bool m_outputFormatHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Pipes
128} // namespace Aws
AWS_PIPES_API S3LogDestination(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPrefix() const
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogDestination & WithBucketOwner(BucketOwnerT &&value)
const Aws::String & GetBucketOwner() const
void SetBucketName(BucketNameT &&value)
void SetBucketOwner(BucketOwnerT &&value)
const Aws::String & GetBucketName() const
S3LogDestination & WithPrefix(PrefixT &&value)
AWS_PIPES_API S3LogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutputFormat(S3OutputFormat value)
AWS_PIPES_API S3LogDestination()=default
S3LogDestination & WithOutputFormat(S3OutputFormat value)
S3LogDestination & WithBucketName(BucketNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue