AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevisionDestinationEntry.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 RevisionDestinationEntry();
38 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBucket() const{ return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
49 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
50 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
51 inline RevisionDestinationEntry& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline RevisionDestinationEntry& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline RevisionDestinationEntry& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
63 inline const Aws::String& GetKeyPattern() const{ return m_keyPattern; }
64 inline bool KeyPatternHasBeenSet() const { return m_keyPatternHasBeenSet; }
65 inline void SetKeyPattern(const Aws::String& value) { m_keyPatternHasBeenSet = true; m_keyPattern = value; }
66 inline void SetKeyPattern(Aws::String&& value) { m_keyPatternHasBeenSet = true; m_keyPattern = std::move(value); }
67 inline void SetKeyPattern(const char* value) { m_keyPatternHasBeenSet = true; m_keyPattern.assign(value); }
68 inline RevisionDestinationEntry& WithKeyPattern(const Aws::String& value) { SetKeyPattern(value); return *this;}
69 inline RevisionDestinationEntry& WithKeyPattern(Aws::String&& value) { SetKeyPattern(std::move(value)); return *this;}
70 inline RevisionDestinationEntry& WithKeyPattern(const char* value) { SetKeyPattern(value); return *this;}
72
74
77 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
78 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
79 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
80 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
81 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
82 inline RevisionDestinationEntry& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
83 inline RevisionDestinationEntry& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
84 inline RevisionDestinationEntry& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
86 private:
87
88 Aws::String m_bucket;
89 bool m_bucketHasBeenSet = false;
90
91 Aws::String m_keyPattern;
92 bool m_keyPatternHasBeenSet = false;
93
94 Aws::String m_revisionId;
95 bool m_revisionIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DataExchange
100} // namespace Aws
RevisionDestinationEntry & WithBucket(const char *value)
RevisionDestinationEntry & WithKeyPattern(const Aws::String &value)
void SetRevisionId(const char *value)
bool RevisionIdHasBeenSet() const
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAEXCHANGE_API RevisionDestinationEntry(Aws::Utils::Json::JsonView jsonValue)
RevisionDestinationEntry & WithRevisionId(Aws::String &&value)
const Aws::String & GetRevisionId() const
bool KeyPatternHasBeenSet() const
void SetBucket(const Aws::String &value)
void SetKeyPattern(const char *value)
AWS_DATAEXCHANGE_API RevisionDestinationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKeyPattern() const
bool BucketHasBeenSet() const
void SetKeyPattern(const Aws::String &value)
RevisionDestinationEntry & WithBucket(Aws::String &&value)
RevisionDestinationEntry & WithKeyPattern(const char *value)
RevisionDestinationEntry & WithRevisionId(const char *value)
void SetRevisionId(const Aws::String &value)
RevisionDestinationEntry & WithRevisionId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
RevisionDestinationEntry & WithBucket(const Aws::String &value)
void SetKeyPattern(Aws::String &&value)
AWS_DATAEXCHANGE_API RevisionDestinationEntry()
RevisionDestinationEntry & WithKeyPattern(Aws::String &&value)
void SetBucket(Aws::String &&value)
void SetBucket(const char *value)
const Aws::String & GetBucket() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue