AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/internetmonitor/model/LogDeliveryStatus.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 InternetMonitor
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_INTERNETMONITOR_API S3Config();
41 AWS_INTERNETMONITOR_API S3Config(Aws::Utils::Json::JsonView jsonValue);
42 AWS_INTERNETMONITOR_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
51 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
52 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
53 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
54 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
55 inline S3Config& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
56 inline S3Config& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
57 inline S3Config& WithBucketName(const char* value) { SetBucketName(value); return *this;}
59
61
64 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
65 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
66 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
67 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
68 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
69 inline S3Config& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
70 inline S3Config& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
71 inline S3Config& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
73
75
79 inline const LogDeliveryStatus& GetLogDeliveryStatus() const{ return m_logDeliveryStatus; }
80 inline bool LogDeliveryStatusHasBeenSet() const { return m_logDeliveryStatusHasBeenSet; }
81 inline void SetLogDeliveryStatus(const LogDeliveryStatus& value) { m_logDeliveryStatusHasBeenSet = true; m_logDeliveryStatus = value; }
82 inline void SetLogDeliveryStatus(LogDeliveryStatus&& value) { m_logDeliveryStatusHasBeenSet = true; m_logDeliveryStatus = std::move(value); }
83 inline S3Config& WithLogDeliveryStatus(const LogDeliveryStatus& value) { SetLogDeliveryStatus(value); return *this;}
84 inline S3Config& WithLogDeliveryStatus(LogDeliveryStatus&& value) { SetLogDeliveryStatus(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_bucketName;
89 bool m_bucketNameHasBeenSet = false;
90
91 Aws::String m_bucketPrefix;
92 bool m_bucketPrefixHasBeenSet = false;
93
94 LogDeliveryStatus m_logDeliveryStatus;
95 bool m_logDeliveryStatusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace InternetMonitor
100} // namespace Aws
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
S3Config & WithLogDeliveryStatus(const LogDeliveryStatus &value)
Definition S3Config.h:83
S3Config & WithBucketName(const Aws::String &value)
Definition S3Config.h:55
AWS_INTERNETMONITOR_API S3Config(Aws::Utils::Json::JsonView jsonValue)
void SetBucketName(Aws::String &&value)
Definition S3Config.h:53
void SetLogDeliveryStatus(LogDeliveryStatus &&value)
Definition S3Config.h:82
AWS_INTERNETMONITOR_API S3Config()
void SetBucketName(const Aws::String &value)
Definition S3Config.h:52
S3Config & WithLogDeliveryStatus(LogDeliveryStatus &&value)
Definition S3Config.h:84
S3Config & WithBucketPrefix(Aws::String &&value)
Definition S3Config.h:70
void SetBucketName(const char *value)
Definition S3Config.h:54
void SetBucketPrefix(const char *value)
Definition S3Config.h:68
const Aws::String & GetBucketName() const
Definition S3Config.h:50
const Aws::String & GetBucketPrefix() const
Definition S3Config.h:64
S3Config & WithBucketPrefix(const char *value)
Definition S3Config.h:71
AWS_INTERNETMONITOR_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogDeliveryStatus(const LogDeliveryStatus &value)
Definition S3Config.h:81
const LogDeliveryStatus & GetLogDeliveryStatus() const
Definition S3Config.h:79
S3Config & WithBucketName(Aws::String &&value)
Definition S3Config.h:56
S3Config & WithBucketPrefix(const Aws::String &value)
Definition S3Config.h:69
S3Config & WithBucketName(const char *value)
Definition S3Config.h:57
void SetBucketPrefix(const Aws::String &value)
Definition S3Config.h:66
void SetBucketPrefix(Aws::String &&value)
Definition S3Config.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue