AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
36 AWS_PIPES_API S3LogDestinationParameters() = 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 S3LogDestinationParameters& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::forward<BucketOwnerT>(value); }
64 template<typename BucketOwnerT = Aws::String>
65 S3LogDestinationParameters& WithBucketOwner(BucketOwnerT&& value) { SetBucketOwner(std::forward<BucketOwnerT>(value)); return *this;}
67
69
73 inline S3OutputFormat GetOutputFormat() const { return m_outputFormat; }
74 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
75 inline void SetOutputFormat(S3OutputFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
78
80
90 inline const Aws::String& GetPrefix() const { return m_prefix; }
91 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
92 template<typename PrefixT = Aws::String>
93 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
94 template<typename PrefixT = Aws::String>
95 S3LogDestinationParameters& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
97 private:
98
99 Aws::String m_bucketName;
100 bool m_bucketNameHasBeenSet = false;
101
102 Aws::String m_bucketOwner;
103 bool m_bucketOwnerHasBeenSet = false;
104
106 bool m_outputFormatHasBeenSet = false;
107
108 Aws::String m_prefix;
109 bool m_prefixHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Pipes
114} // 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