AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 Macie2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MACIE2_API MatchingResource() = default;
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const MatchingBucket& GetMatchingBucket() const { return m_matchingBucket; }
48 inline bool MatchingBucketHasBeenSet() const { return m_matchingBucketHasBeenSet; }
49 template<typename MatchingBucketT = MatchingBucket>
50 void SetMatchingBucket(MatchingBucketT&& value) { m_matchingBucketHasBeenSet = true; m_matchingBucket = std::forward<MatchingBucketT>(value); }
51 template<typename MatchingBucketT = MatchingBucket>
52 MatchingResource& WithMatchingBucket(MatchingBucketT&& value) { SetMatchingBucket(std::forward<MatchingBucketT>(value)); return *this;}
54 private:
55
56 MatchingBucket m_matchingBucket;
57 bool m_matchingBucketHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Macie2
62} // 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