AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
48 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
49 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
50 inline AutoExportRevisionDestinationEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
51 inline AutoExportRevisionDestinationEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
52 inline AutoExportRevisionDestinationEntry& WithBucket(const char* value) { SetBucket(value); return *this;}
54
56
62 inline const Aws::String& GetKeyPattern() const{ return m_keyPattern; }
63 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
64 inline void SetKeyPattern(const Aws::String& value) { m_keyPatternHasBeenSet = true; m_keyPattern = value; }
65 inline void SetKeyPattern(Aws::String&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::move(value); }
66 inline void SetKeyPattern(const char* value) { m_keyPatternHasBeenSet = true; m_keyPattern.assign(value); }
67 inline AutoExportRevisionDestinationEntry& WithKeyPattern(const Aws::String& value) { SetKeyPattern(value); return *this;}
68 inline AutoExportRevisionDestinationEntry& WithKeyPattern(Aws::String&& value) { SetKeyPattern(std::move(value)); return *this;}
69 inline AutoExportRevisionDestinationEntry& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;}
71 private:
72
73 Aws::String m_bucket;
74 bool m_bucketHasBeenSet = false;
75
76 Aws::String m_keyPattern;
77 bool m_keyPatternHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DataExchange
82} // namespace Aws
void SetKeyPattern(Aws::String &&value)
AutoExportRevisionDestinationEntry & WithBucket(const Aws::String &value)
const Aws::String & GetKeyPattern() const
void SetKeyPattern(const Aws::String &value)
AutoExportRevisionDestinationEntry & WithBucket(const char *value)
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry(Aws::Utils::Json::JsonView jsonValue)
AutoExportRevisionDestinationEntry & WithKeyPattern(const Aws::String &value)
void SetKeyPattern(const char *value)
void SetBucket(const char *value)
const Aws::String & GetBucket() const
AutoExportRevisionDestinationEntry & WithKeyPattern(const char *value)
void SetBucket(Aws::String &&value)
AutoExportRevisionDestinationEntry & WithBucket(Aws::String &&value)
bool BucketHasBeenSet() const
AutoExportRevisionDestinationEntry & WithKeyPattern(Aws::String &&value)
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyPatternHasBeenSet() const
AWS_DATAEXCHANGE_API AutoExportRevisionDestinationEntry()
void SetBucket(const Aws::String &value)
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