AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3LogDestinationParameters.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:
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 S3LogDestinationParameters& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline S3LogDestinationParameters& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline S3LogDestinationParameters& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
62 inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; }
63 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
64 inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; }
65 inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); }
66 inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); }
67 inline S3LogDestinationParameters& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;}
68 inline S3LogDestinationParameters& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;}
69 inline S3LogDestinationParameters& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;}
71
73
77 inline const S3OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
78 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
79 inline void SetOutputFormat(const S3OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
80 inline void SetOutputFormat(S3OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
81 inline S3LogDestinationParameters& WithOutputFormat(const S3OutputFormat& value) { SetOutputFormat(value); return *this;}
82 inline S3LogDestinationParameters& WithOutputFormat(S3OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
84
86
96 inline const Aws::String& GetPrefix() const{ return m_prefix; }
97 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
98 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
99 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
100 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
101 inline S3LogDestinationParameters& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
102 inline S3LogDestinationParameters& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
103 inline S3LogDestinationParameters& WithPrefix(const char* value) { SetPrefix(value); return *this;}
105 private:
106
107 Aws::String m_bucketName;
108 bool m_bucketNameHasBeenSet = false;
109
110 Aws::String m_bucketOwner;
111 bool m_bucketOwnerHasBeenSet = false;
112
113 S3OutputFormat m_outputFormat;
114 bool m_outputFormatHasBeenSet = false;
115
116 Aws::String m_prefix;
117 bool m_prefixHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Pipes
122} // namespace Aws
S3LogDestinationParameters & WithBucketName(Aws::String &&value)
S3LogDestinationParameters & WithPrefix(const char *value)
AWS_PIPES_API S3LogDestinationParameters(Aws::Utils::Json::JsonView jsonValue)
S3LogDestinationParameters & WithBucketOwner(Aws::String &&value)
AWS_PIPES_API S3LogDestinationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
S3LogDestinationParameters & WithBucketOwner(const char *value)
S3LogDestinationParameters & WithOutputFormat(const S3OutputFormat &value)
S3LogDestinationParameters & WithBucketName(const Aws::String &value)
S3LogDestinationParameters & WithBucketOwner(const Aws::String &value)
S3LogDestinationParameters & WithBucketName(const char *value)
S3LogDestinationParameters & WithOutputFormat(S3OutputFormat &&value)
S3LogDestinationParameters & WithPrefix(Aws::String &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
S3LogDestinationParameters & WithPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue