AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProtectedResource.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/CreateS3BucketResource.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 GuardDuty
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_GUARDDUTY_API CreateProtectedResource();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CreateS3BucketResource& GetS3Bucket() const{ return m_s3Bucket; }
47 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
48 inline void SetS3Bucket(const CreateS3BucketResource& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
49 inline void SetS3Bucket(CreateS3BucketResource&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
50 inline CreateProtectedResource& WithS3Bucket(const CreateS3BucketResource& value) { SetS3Bucket(value); return *this;}
51 inline CreateProtectedResource& WithS3Bucket(CreateS3BucketResource&& value) { SetS3Bucket(std::move(value)); return *this;}
53 private:
54
55 CreateS3BucketResource m_s3Bucket;
56 bool m_s3BucketHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace GuardDuty
61} // namespace Aws
void SetS3Bucket(CreateS3BucketResource &&value)
CreateProtectedResource & WithS3Bucket(const CreateS3BucketResource &value)
AWS_GUARDDUTY_API CreateProtectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Bucket(const CreateS3BucketResource &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
CreateProtectedResource & WithS3Bucket(CreateS3BucketResource &&value)
const CreateS3BucketResource & GetS3Bucket() const
AWS_GUARDDUTY_API CreateProtectedResource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue