AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3ExpressDirectoryBucketConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AccessAnalyzer
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_ACCESSANALYZER_API S3ExpressDirectoryBucketConfiguration();
49 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetBucketPolicy() const{ return m_bucketPolicy; }
57 inline bool BucketPolicyHasBeenSet() const { return m_bucketPolicyHasBeenSet; }
58 inline void SetBucketPolicy(const Aws::String& value) { m_bucketPolicyHasBeenSet = true; m_bucketPolicy = value; }
59 inline void SetBucketPolicy(Aws::String&& value) { m_bucketPolicyHasBeenSet = true; m_bucketPolicy = std::move(value); }
60 inline void SetBucketPolicy(const char* value) { m_bucketPolicyHasBeenSet = true; m_bucketPolicy.assign(value); }
62 inline S3ExpressDirectoryBucketConfiguration& WithBucketPolicy(Aws::String&& value) { SetBucketPolicy(std::move(value)); return *this;}
63 inline S3ExpressDirectoryBucketConfiguration& WithBucketPolicy(const char* value) { SetBucketPolicy(value); return *this;}
65 private:
66
67 Aws::String m_bucketPolicy;
68 bool m_bucketPolicyHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace AccessAnalyzer
73} // namespace Aws
AWS_ACCESSANALYZER_API S3ExpressDirectoryBucketConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ExpressDirectoryBucketConfiguration & WithBucketPolicy(const Aws::String &value)
S3ExpressDirectoryBucketConfiguration & WithBucketPolicy(const char *value)
AWS_ACCESSANALYZER_API S3ExpressDirectoryBucketConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3ExpressDirectoryBucketConfiguration & WithBucketPolicy(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue