AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3LogDestination.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/S3OutputFormat.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 Pipes
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PIPES_API S3LogDestination() = default;
39 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBucketName() const { return m_bucketName; }
48 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
49 template<typename BucketNameT = Aws::String>
50 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
51 template<typename BucketNameT = Aws::String>
52 S3LogDestination& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
67 template<typename PrefixT = Aws::String>
68 S3LogDestination& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
70
72
76 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
77 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
78 template<typename BucketOwnerT = Aws::String>
79 void SetBucketOwner(BucketOwnerT&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::forward<BucketOwnerT>(value); }
80 template<typename BucketOwnerT = Aws::String>
81 S3LogDestination& WithBucketOwner(BucketOwnerT&& value) { SetBucketOwner(std::forward<BucketOwnerT>(value)); return *this;}
83
85
89 inline S3OutputFormat GetOutputFormat() const { return m_outputFormat; }
90 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
91 inline void SetOutputFormat(S3OutputFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
92 inline S3LogDestination& WithOutputFormat(S3OutputFormat value) { SetOutputFormat(value); return *this;}
94 private:
95
96 Aws::String m_bucketName;
97 bool m_bucketNameHasBeenSet = false;
98
99 Aws::String m_prefix;
100 bool m_prefixHasBeenSet = false;
101
102 Aws::String m_bucketOwner;
103 bool m_bucketOwnerHasBeenSet = false;
104
106 bool m_outputFormatHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Pipes
111} // 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)
S3OutputFormat GetOutputFormat() const
S3LogDestination & WithBucketName(BucketNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue