AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename S3BucketNameT = Aws::String>
50 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
51 template<typename S3BucketNameT = Aws::String>
52 ReportDeliveryChannel& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
54
56
62 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
63 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
64 template<typename S3KeyPrefixT = Aws::String>
65 void SetS3KeyPrefix(S3KeyPrefixT&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value); }
66 template<typename S3KeyPrefixT = Aws::String>
67 ReportDeliveryChannel& WithS3KeyPrefix(S3KeyPrefixT&& value) { SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value)); return *this;}
69
71
75 inline const Aws::Vector<Aws::String>& GetFormats() const { return m_formats; }
76 inline bool FormatsHasBeenSet() const { return m_formatsHasBeenSet; }
77 template<typename FormatsT = Aws::Vector<Aws::String>>
78 void SetFormats(FormatsT&& value) { m_formatsHasBeenSet = true; m_formats = std::forward<FormatsT>(value); }
79 template<typename FormatsT = Aws::Vector<Aws::String>>
80 ReportDeliveryChannel& WithFormats(FormatsT&& value) { SetFormats(std::forward<FormatsT>(value)); return *this;}
81 template<typename FormatsT = Aws::String>
82 ReportDeliveryChannel& AddFormats(FormatsT&& value) { m_formatsHasBeenSet = true; m_formats.emplace_back(std::forward<FormatsT>(value)); return *this; }
84 private:
85
86 Aws::String m_s3BucketName;
87 bool m_s3BucketNameHasBeenSet = false;
88
89 Aws::String m_s3KeyPrefix;
90 bool m_s3KeyPrefixHasBeenSet = false;
91
93 bool m_formatsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Backup
98} // namespace Aws
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ReportDeliveryChannel(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetFormats() const
ReportDeliveryChannel & WithS3BucketName(S3BucketNameT &&value)
AWS_BACKUP_API ReportDeliveryChannel()=default
ReportDeliveryChannel & WithFormats(FormatsT &&value)
ReportDeliveryChannel & AddFormats(FormatsT &&value)
AWS_BACKUP_API ReportDeliveryChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportDeliveryChannel & WithS3KeyPrefix(S3KeyPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue