AWS SDK for C++  1.9.109
AWS SDK for C++
MatchingResource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Macie2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const MatchingBucket& GetMatchingBucket() const{ return m_matchingBucket; }
45 
49  inline bool MatchingBucketHasBeenSet() const { return m_matchingBucketHasBeenSet; }
50 
54  inline void SetMatchingBucket(const MatchingBucket& value) { m_matchingBucketHasBeenSet = true; m_matchingBucket = value; }
55 
59  inline void SetMatchingBucket(MatchingBucket&& value) { m_matchingBucketHasBeenSet = true; m_matchingBucket = std::move(value); }
60 
64  inline MatchingResource& WithMatchingBucket(const MatchingBucket& value) { SetMatchingBucket(value); return *this;}
65 
69  inline MatchingResource& WithMatchingBucket(MatchingBucket&& value) { SetMatchingBucket(std::move(value)); return *this;}
70 
71  private:
72 
73  MatchingBucket m_matchingBucket;
74  bool m_matchingBucketHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace Macie2
79 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::MatchingResource::SetMatchingBucket
void SetMatchingBucket(const MatchingBucket &value)
Definition: MatchingResource.h:54
Aws::Macie2::Model::MatchingResource::SetMatchingBucket
void SetMatchingBucket(MatchingBucket &&value)
Definition: MatchingResource.h:59
Aws::Macie2::Model::MatchingResource::GetMatchingBucket
const MatchingBucket & GetMatchingBucket() const
Definition: MatchingResource.h:44
Macie2_EXPORTS.h
Aws::Macie2::Model::MatchingResource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::MatchingResource::MatchingBucketHasBeenSet
bool MatchingBucketHasBeenSet() const
Definition: MatchingResource.h:49
Aws::Macie2::Model::MatchingResource::operator=
MatchingResource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::MatchingResource::WithMatchingBucket
MatchingResource & WithMatchingBucket(MatchingBucket &&value)
Definition: MatchingResource.h:69
Aws::Macie2::Model::MatchingBucket
Definition: MatchingBucket.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::MatchingResource::MatchingResource
MatchingResource()
Aws::Macie2::Model::MatchingResource
Definition: MatchingResource.h:33
MatchingBucket.h
Aws::Macie2::Model::MatchingResource::MatchingResource
MatchingResource(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::MatchingResource::WithMatchingBucket
MatchingResource & WithMatchingBucket(const MatchingBucket &value)
Definition: MatchingResource.h:64