AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportDeliveryChannel.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Backup
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BACKUP_API ReportDeliveryChannel();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
48 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
49 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
50 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
51 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
52 inline ReportDeliveryChannel& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
53 inline ReportDeliveryChannel& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
54 inline ReportDeliveryChannel& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
56
58
64 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
65 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
66 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
67 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
68 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
69 inline ReportDeliveryChannel& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
70 inline ReportDeliveryChannel& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
71 inline ReportDeliveryChannel& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
73
75
79 inline const Aws::Vector<Aws::String>& GetFormats() const{ return m_formats; }
80 inline bool FormatsHasBeenSet() const { return m_formatsHasBeenSet; }
81 inline void SetFormats(const Aws::Vector<Aws::String>& value) { m_formatsHasBeenSet = true; m_formats = value; }
82 inline void SetFormats(Aws::Vector<Aws::String>&& value) { m_formatsHasBeenSet = true; m_formats = std::move(value); }
83 inline ReportDeliveryChannel& WithFormats(const Aws::Vector<Aws::String>& value) { SetFormats(value); return *this;}
84 inline ReportDeliveryChannel& WithFormats(Aws::Vector<Aws::String>&& value) { SetFormats(std::move(value)); return *this;}
85 inline ReportDeliveryChannel& AddFormats(const Aws::String& value) { m_formatsHasBeenSet = true; m_formats.push_back(value); return *this; }
86 inline ReportDeliveryChannel& AddFormats(Aws::String&& value) { m_formatsHasBeenSet = true; m_formats.push_back(std::move(value)); return *this; }
87 inline ReportDeliveryChannel& AddFormats(const char* value) { m_formatsHasBeenSet = true; m_formats.push_back(value); return *this; }
89 private:
90
91 Aws::String m_s3BucketName;
92 bool m_s3BucketNameHasBeenSet = false;
93
94 Aws::String m_s3KeyPrefix;
95 bool m_s3KeyPrefixHasBeenSet = false;
96
98 bool m_formatsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Backup
103} // namespace Aws
ReportDeliveryChannel & WithS3KeyPrefix(const Aws::String &value)
ReportDeliveryChannel & WithFormats(const Aws::Vector< Aws::String > &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ReportDeliveryChannel(Aws::Utils::Json::JsonView jsonValue)
void SetS3KeyPrefix(const Aws::String &value)
ReportDeliveryChannel & WithFormats(Aws::Vector< Aws::String > &&value)
ReportDeliveryChannel & WithS3KeyPrefix(const char *value)
const Aws::Vector< Aws::String > & GetFormats() const
ReportDeliveryChannel & WithS3BucketName(Aws::String &&value)
ReportDeliveryChannel & AddFormats(const char *value)
ReportDeliveryChannel & WithS3BucketName(const Aws::String &value)
void SetS3BucketName(const Aws::String &value)
void SetFormats(Aws::Vector< Aws::String > &&value)
ReportDeliveryChannel & WithS3KeyPrefix(Aws::String &&value)
void SetFormats(const Aws::Vector< Aws::String > &value)
ReportDeliveryChannel & AddFormats(Aws::String &&value)
ReportDeliveryChannel & WithS3BucketName(const char *value)
ReportDeliveryChannel & AddFormats(const Aws::String &value)
AWS_BACKUP_API ReportDeliveryChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue