AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
S3ExportSpecification.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BackupSearch {
20namespace Model {
21
30 public:
31 AWS_BACKUPSEARCH_API S3ExportSpecification() = default;
32 AWS_BACKUPSEARCH_API S3ExportSpecification(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDestinationBucket() const { return m_destinationBucket; }
41 inline bool DestinationBucketHasBeenSet() const { return m_destinationBucketHasBeenSet; }
42 template <typename DestinationBucketT = Aws::String>
43 void SetDestinationBucket(DestinationBucketT&& value) {
44 m_destinationBucketHasBeenSet = true;
45 m_destinationBucket = std::forward<DestinationBucketT>(value);
46 }
47 template <typename DestinationBucketT = Aws::String>
48 S3ExportSpecification& WithDestinationBucket(DestinationBucketT&& value) {
49 SetDestinationBucket(std::forward<DestinationBucketT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDestinationPrefix() const { return m_destinationPrefix; }
60 inline bool DestinationPrefixHasBeenSet() const { return m_destinationPrefixHasBeenSet; }
61 template <typename DestinationPrefixT = Aws::String>
62 void SetDestinationPrefix(DestinationPrefixT&& value) {
63 m_destinationPrefixHasBeenSet = true;
64 m_destinationPrefix = std::forward<DestinationPrefixT>(value);
65 }
66 template <typename DestinationPrefixT = Aws::String>
67 S3ExportSpecification& WithDestinationPrefix(DestinationPrefixT&& value) {
68 SetDestinationPrefix(std::forward<DestinationPrefixT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_destinationBucket;
74
75 Aws::String m_destinationPrefix;
76 bool m_destinationBucketHasBeenSet = false;
77 bool m_destinationPrefixHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BackupSearch
82} // namespace Aws
S3ExportSpecification & WithDestinationPrefix(DestinationPrefixT &&value)
void SetDestinationBucket(DestinationBucketT &&value)
AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPSEARCH_API S3ExportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ExportSpecification & WithDestinationBucket(DestinationBucketT &&value)
void SetDestinationPrefix(DestinationPrefixT &&value)
AWS_BACKUPSEARCH_API S3ExportSpecification()=default
AWS_BACKUPSEARCH_API S3ExportSpecification(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue