AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MatchingResource.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/MatchingBucket.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2 {
20namespace Model {
21
30 public:
31 AWS_MACIE2_API MatchingResource() = default;
34 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const MatchingBucket& GetMatchingBucket() const { return m_matchingBucket; }
42 inline bool MatchingBucketHasBeenSet() const { return m_matchingBucketHasBeenSet; }
43 template <typename MatchingBucketT = MatchingBucket>
44 void SetMatchingBucket(MatchingBucketT&& value) {
45 m_matchingBucketHasBeenSet = true;
46 m_matchingBucket = std::forward<MatchingBucketT>(value);
47 }
48 template <typename MatchingBucketT = MatchingBucket>
49 MatchingResource& WithMatchingBucket(MatchingBucketT&& value) {
50 SetMatchingBucket(std::forward<MatchingBucketT>(value));
51 return *this;
52 }
54 private:
55 MatchingBucket m_matchingBucket;
56 bool m_matchingBucketHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Macie2
61} // namespace Aws
AWS_MACIE2_API MatchingResource()=default
AWS_MACIE2_API MatchingResource(Aws::Utils::Json::JsonView jsonValue)
const MatchingBucket & GetMatchingBucket() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
MatchingResource & WithMatchingBucket(MatchingBucketT &&value)
void SetMatchingBucket(MatchingBucketT &&value)
AWS_MACIE2_API MatchingResource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue