AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
50 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
51 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
52 inline S3LogDestination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline S3LogDestination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline S3LogDestination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
65 inline const Aws::String& GetPrefix() const{ return m_prefix; }
66 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
67 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
68 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
69 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
70 inline S3LogDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
71 inline S3LogDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
72 inline S3LogDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
74
76
80 inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; }
81 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
82 inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; }
83 inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); }
84 inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); }
85 inline S3LogDestination& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;}
86 inline S3LogDestination& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;}
87 inline S3LogDestination& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;}
89
91
95 inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
96 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
97 inline void SetOutputFormat(const S3OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
98 inline void SetOutputFormat(S3OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
99 inline S3LogDestination& WithOutputFormat(const S3OutputFormat& value) { SetOutputFormat(value); return *this;}
100 inline S3LogDestination& WithOutputFormat(S3OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_bucketName;
105 bool m_bucketNameHasBeenSet = false;
106
107 Aws::String m_prefix;
108 bool m_prefixHasBeenSet = false;
109
110 Aws::String m_bucketOwner;
111 bool m_bucketOwnerHasBeenSet = false;
112
113 S3OutputFormat m_outputFormat;
114 bool m_outputFormatHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Pipes
119} // namespace Aws
AWS_PIPES_API S3LogDestination(Aws::Utils::Json::JsonView jsonValue)
void SetOutputFormat(const S3OutputFormat &value)
S3LogDestination & WithPrefix(const char *value)
const Aws::String & GetPrefix() const
const S3OutputFormat & GetOutputFormat() const
void SetBucketOwner(Aws::String &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogDestination & WithPrefix(const Aws::String &value)
S3LogDestination & WithBucketName(const char *value)
S3LogDestination & WithPrefix(Aws::String &&value)
S3LogDestination & WithBucketName(const Aws::String &value)
void SetBucketName(const char *value)
void SetPrefix(const Aws::String &value)
void SetBucketName(Aws::String &&value)
S3LogDestination & WithOutputFormat(S3OutputFormat &&value)
const Aws::String & GetBucketOwner() const
void SetBucketName(const Aws::String &value)
S3LogDestination & WithBucketName(Aws::String &&value)
void SetBucketOwner(const Aws::String &value)
S3LogDestination & WithBucketOwner(const char *value)
void SetBucketOwner(const char *value)
const Aws::String & GetBucketName() const
void SetOutputFormat(S3OutputFormat &&value)
S3LogDestination & WithBucketOwner(Aws::String &&value)
S3LogDestination & WithBucketOwner(const Aws::String &value)
AWS_PIPES_API S3LogDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(Aws::String &&value)
S3LogDestination & WithOutputFormat(const S3OutputFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue