AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcesAffected.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/S3Bucket.h>
9#include <aws/macie2/model/S3Object.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MACIE2_API ResourcesAffected();
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const S3Bucket& GetS3Bucket() const{ return m_s3Bucket; }
47 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
48 inline void SetS3Bucket(const S3Bucket& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
49 inline void SetS3Bucket(S3Bucket&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
50 inline ResourcesAffected& WithS3Bucket(const S3Bucket& value) { SetS3Bucket(value); return *this;}
51 inline ResourcesAffected& WithS3Bucket(S3Bucket&& value) { SetS3Bucket(std::move(value)); return *this;}
53
55
58 inline const S3Object& GetS3Object() const{ return m_s3Object; }
59 inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; }
60 inline void SetS3Object(const S3Object& value) { m_s3ObjectHasBeenSet = true; m_s3Object = value; }
61 inline void SetS3Object(S3Object&& value) { m_s3ObjectHasBeenSet = true; m_s3Object = std::move(value); }
62 inline ResourcesAffected& WithS3Object(const S3Object& value) { SetS3Object(value); return *this;}
63 inline ResourcesAffected& WithS3Object(S3Object&& value) { SetS3Object(std::move(value)); return *this;}
65 private:
66
67 S3Bucket m_s3Bucket;
68 bool m_s3BucketHasBeenSet = false;
69
70 S3Object m_s3Object;
71 bool m_s3ObjectHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Macie2
76} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Bucket(const S3Bucket &value)
ResourcesAffected & WithS3Object(S3Object &&value)
AWS_MACIE2_API ResourcesAffected(Aws::Utils::Json::JsonView jsonValue)
ResourcesAffected & WithS3Bucket(const S3Bucket &value)
ResourcesAffected & WithS3Bucket(S3Bucket &&value)
ResourcesAffected & WithS3Object(const S3Object &value)
void SetS3Object(const S3Object &value)
AWS_MACIE2_API ResourcesAffected & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue