AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
30 public:
31 AWS_GUARDDUTY_API CreateProtectedResource() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const CreateS3BucketResource& GetS3Bucket() const { return m_s3Bucket; }
41 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
42 template <typename S3BucketT = CreateS3BucketResource>
43 void SetS3Bucket(S3BucketT&& value) {
44 m_s3BucketHasBeenSet = true;
45 m_s3Bucket = std::forward<S3BucketT>(value);
46 }
47 template <typename S3BucketT = CreateS3BucketResource>
49 SetS3Bucket(std::forward<S3BucketT>(value));
50 return *this;
51 }
53 private:
54 CreateS3BucketResource m_s3Bucket;
55 bool m_s3BucketHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace GuardDuty
60} // namespace Aws
AWS_GUARDDUTY_API CreateProtectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateProtectedResource & WithS3Bucket(S3BucketT &&value)
AWS_GUARDDUTY_API CreateProtectedResource()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const CreateS3BucketResource & GetS3Bucket() const
AWS_GUARDDUTY_API CreateProtectedResource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue