AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsS3AccessPointDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsS3AccountPublicAccessBlockDetails.h>
10#include <aws/securityhub/model/AwsS3AccessPointVpcConfigurationDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_SECURITYHUB_API AwsS3AccessPointDetails();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
49 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
50 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; }
51 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); }
52 inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); }
53 inline AwsS3AccessPointDetails& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
54 inline AwsS3AccessPointDetails& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
55 inline AwsS3AccessPointDetails& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
57
59
62 inline const Aws::String& GetAlias() const{ return m_alias; }
63 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
64 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
65 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
66 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
67 inline AwsS3AccessPointDetails& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
68 inline AwsS3AccessPointDetails& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
69 inline AwsS3AccessPointDetails& WithAlias(const char* value) { SetAlias(value); return *this;}
71
73
76 inline const Aws::String& GetBucket() const{ return m_bucket; }
77 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
78 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
79 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
80 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
81 inline AwsS3AccessPointDetails& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
82 inline AwsS3AccessPointDetails& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
83 inline AwsS3AccessPointDetails& WithBucket(const char* value) { SetBucket(value); return *this;}
85
87
91 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
92 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
93 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; }
94 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); }
95 inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); }
96 inline AwsS3AccessPointDetails& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;}
97 inline AwsS3AccessPointDetails& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
98 inline AwsS3AccessPointDetails& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
108 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
109 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
110 inline AwsS3AccessPointDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
111 inline AwsS3AccessPointDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 inline AwsS3AccessPointDetails& WithName(const char* value) { SetName(value); return *this;}
114
116
120 inline const Aws::String& GetNetworkOrigin() const{ return m_networkOrigin; }
121 inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
122 inline void SetNetworkOrigin(const Aws::String& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = value; }
123 inline void SetNetworkOrigin(Aws::String&& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = std::move(value); }
124 inline void SetNetworkOrigin(const char* value) { m_networkOriginHasBeenSet = true; m_networkOrigin.assign(value); }
125 inline AwsS3AccessPointDetails& WithNetworkOrigin(const Aws::String& value) { SetNetworkOrigin(value); return *this;}
126 inline AwsS3AccessPointDetails& WithNetworkOrigin(Aws::String&& value) { SetNetworkOrigin(std::move(value)); return *this;}
127 inline AwsS3AccessPointDetails& WithNetworkOrigin(const char* value) { SetNetworkOrigin(value); return *this;}
129
131
132 inline const AwsS3AccountPublicAccessBlockDetails& GetPublicAccessBlockConfiguration() const{ return m_publicAccessBlockConfiguration; }
133 inline bool PublicAccessBlockConfigurationHasBeenSet() const { return m_publicAccessBlockConfigurationHasBeenSet; }
134 inline void SetPublicAccessBlockConfiguration(const AwsS3AccountPublicAccessBlockDetails& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = value; }
135 inline void SetPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails&& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = std::move(value); }
139
141
145 inline const AwsS3AccessPointVpcConfigurationDetails& GetVpcConfiguration() const{ return m_vpcConfiguration; }
146 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
147 inline void SetVpcConfiguration(const AwsS3AccessPointVpcConfigurationDetails& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
148 inline void SetVpcConfiguration(AwsS3AccessPointVpcConfigurationDetails&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
152 private:
153
154 Aws::String m_accessPointArn;
155 bool m_accessPointArnHasBeenSet = false;
156
157 Aws::String m_alias;
158 bool m_aliasHasBeenSet = false;
159
160 Aws::String m_bucket;
161 bool m_bucketHasBeenSet = false;
162
163 Aws::String m_bucketAccountId;
164 bool m_bucketAccountIdHasBeenSet = false;
165
166 Aws::String m_name;
167 bool m_nameHasBeenSet = false;
168
169 Aws::String m_networkOrigin;
170 bool m_networkOriginHasBeenSet = false;
171
172 AwsS3AccountPublicAccessBlockDetails m_publicAccessBlockConfiguration;
173 bool m_publicAccessBlockConfigurationHasBeenSet = false;
174
176 bool m_vpcConfigurationHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace SecurityHub
181} // namespace Aws
AwsS3AccessPointDetails & WithBucket(const Aws::String &value)
AwsS3AccessPointDetails & WithBucketAccountId(const char *value)
AwsS3AccessPointDetails & WithName(Aws::String &&value)
AwsS3AccessPointDetails & WithNetworkOrigin(const Aws::String &value)
void SetVpcConfiguration(const AwsS3AccessPointVpcConfigurationDetails &value)
AwsS3AccessPointDetails & WithBucket(const char *value)
void SetPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3AccessPointDetails & WithAlias(const char *value)
AwsS3AccessPointDetails & WithNetworkOrigin(Aws::String &&value)
AwsS3AccessPointDetails & WithPublicAccessBlockConfiguration(const AwsS3AccountPublicAccessBlockDetails &value)
AwsS3AccessPointDetails & WithName(const Aws::String &value)
AwsS3AccessPointDetails & WithAlias(const Aws::String &value)
AwsS3AccessPointDetails & WithAccessPointArn(const char *value)
void SetPublicAccessBlockConfiguration(const AwsS3AccountPublicAccessBlockDetails &value)
AwsS3AccessPointDetails & WithPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails &&value)
AwsS3AccessPointDetails & WithName(const char *value)
AwsS3AccessPointDetails & WithNetworkOrigin(const char *value)
AwsS3AccessPointDetails & WithBucketAccountId(const Aws::String &value)
const AwsS3AccountPublicAccessBlockDetails & GetPublicAccessBlockConfiguration() const
void SetVpcConfiguration(AwsS3AccessPointVpcConfigurationDetails &&value)
AwsS3AccessPointDetails & WithAlias(Aws::String &&value)
AwsS3AccessPointDetails & WithBucketAccountId(Aws::String &&value)
const AwsS3AccessPointVpcConfigurationDetails & GetVpcConfiguration() const
AWS_SECURITYHUB_API AwsS3AccessPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3AccessPointDetails & WithBucket(Aws::String &&value)
AwsS3AccessPointDetails & WithVpcConfiguration(AwsS3AccessPointVpcConfigurationDetails &&value)
AWS_SECURITYHUB_API AwsS3AccessPointDetails(Aws::Utils::Json::JsonView jsonValue)
AwsS3AccessPointDetails & WithAccessPointArn(const Aws::String &value)
AwsS3AccessPointDetails & WithAccessPointArn(Aws::String &&value)
AwsS3AccessPointDetails & WithVpcConfiguration(const AwsS3AccessPointVpcConfigurationDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue