AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AutoExportRevisionDestinationEntry.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_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 DataExchange
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry() = default;
38 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucket() const { return m_bucket; }
46 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
47 template<typename BucketT = Aws::String>
48 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
49 template<typename BucketT = Aws::String>
50 AutoExportRevisionDestinationEntry& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
52
54
60 inline const Aws::String& GetKeyPattern() const { return m_keyPattern; }
61 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
62 template<typename KeyPatternT = Aws::String>
63 void SetKeyPattern(KeyPatternT&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::forward<KeyPatternT>(value); }
64 template<typename KeyPatternT = Aws::String>
65 AutoExportRevisionDestinationEntry& WithKeyPattern(KeyPatternT&& value) { SetKeyPattern(std::forward<KeyPatternT>(value)); return *this;}
67 private:
68
69 Aws::String m_bucket;
70 bool m_bucketHasBeenSet = false;
71
72 Aws::String m_keyPattern;
73 bool m_keyPatternHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataExchange
78} // namespace Aws
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry()=default
const Aws::String & GetKeyPattern() const
AutoExportRevisionDestinationEntry & WithKeyPattern(KeyPatternT &&value)
AutoExportRevisionDestinationEntry & WithBucket(BucketT &&value)
void SetKeyPattern(KeyPatternT &&value)
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucket() const
void SetBucket(BucketT &&value)
bool BucketHasBeenSet() const
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyPatternHasBeenSet() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue