AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
S3LogDestinationParameters.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 S3LogDestinationParameters() = 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>
50 SetBucketName(std::forward<BucketNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
61 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
62 template <typename BucketOwnerT = Aws::String>
63 void SetBucketOwner(BucketOwnerT&& value) {
64 m_bucketOwnerHasBeenSet = true;
65 m_bucketOwner = std::forward<BucketOwnerT>(value);
66 }
67 template <typename BucketOwnerT = Aws::String>
69 SetBucketOwner(std::forward<BucketOwnerT>(value));
70 return *this;
71 }
73
75
79 inline S3OutputFormat GetOutputFormat() const { return m_outputFormat; }
80 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
81 inline void SetOutputFormat(S3OutputFormat value) {
82 m_outputFormatHasBeenSet = true;
83 m_outputFormat = value;
84 }
86 SetOutputFormat(value);
87 return *this;
88 }
90
92
102 inline const Aws::String& GetPrefix() const { return m_prefix; }
103 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
104 template <typename PrefixT = Aws::String>
105 void SetPrefix(PrefixT&& value) {
106 m_prefixHasBeenSet = true;
107 m_prefix = std::forward<PrefixT>(value);
108 }
109 template <typename PrefixT = Aws::String>
111 SetPrefix(std::forward<PrefixT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_bucketName;
117
118 Aws::String m_bucketOwner;
119
121
122 Aws::String m_prefix;
123 bool m_bucketNameHasBeenSet = false;
124 bool m_bucketOwnerHasBeenSet = false;
125 bool m_outputFormatHasBeenSet = false;
126 bool m_prefixHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Pipes
131} // namespace Aws
S3LogDestinationParameters & WithPrefix(PrefixT &&value)
AWS_PIPES_API S3LogDestinationParameters(Aws::Utils::Json::JsonView jsonValue)
S3LogDestinationParameters & WithBucketOwner(BucketOwnerT &&value)
AWS_PIPES_API S3LogDestinationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
S3LogDestinationParameters & WithBucketName(BucketNameT &&value)
AWS_PIPES_API S3LogDestinationParameters()=default
S3LogDestinationParameters & WithOutputFormat(S3OutputFormat value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue