AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BackupSearch
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BACKUPSEARCH_API S3ExportSpecification() = default;
37 AWS_BACKUPSEARCH_API S3ExportSpecification(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDestinationBucket() const { return m_destinationBucket; }
47 inline bool DestinationBucketHasBeenSet() const { return m_destinationBucketHasBeenSet; }
48 template<typename DestinationBucketT = Aws::String>
49 void SetDestinationBucket(DestinationBucketT&& value) { m_destinationBucketHasBeenSet = true; m_destinationBucket = std::forward<DestinationBucketT>(value); }
50 template<typename DestinationBucketT = Aws::String>
51 S3ExportSpecification& WithDestinationBucket(DestinationBucketT&& value) { SetDestinationBucket(std::forward<DestinationBucketT>(value)); return *this;}
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) { m_destinationPrefixHasBeenSet = true; m_destinationPrefix = std::forward<DestinationPrefixT>(value); }
63 template<typename DestinationPrefixT = Aws::String>
64 S3ExportSpecification& WithDestinationPrefix(DestinationPrefixT&& value) { SetDestinationPrefix(std::forward<DestinationPrefixT>(value)); return *this;}
66 private:
67
68 Aws::String m_destinationBucket;
69 bool m_destinationBucketHasBeenSet = false;
70
71 Aws::String m_destinationPrefix;
72 bool m_destinationPrefixHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace BackupSearch
77} // 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