AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccessPointArnT = Aws::String>
51 void SetAccessPointArn(AccessPointArnT&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::forward<AccessPointArnT>(value); }
52 template<typename AccessPointArnT = Aws::String>
53 AwsS3AccessPointDetails& WithAccessPointArn(AccessPointArnT&& value) { SetAccessPointArn(std::forward<AccessPointArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetAlias() const { return m_alias; }
61 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
62 template<typename AliasT = Aws::String>
63 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
64 template<typename AliasT = Aws::String>
65 AwsS3AccessPointDetails& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
67
69
72 inline const Aws::String& GetBucket() const { return m_bucket; }
73 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
74 template<typename BucketT = Aws::String>
75 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
76 template<typename BucketT = Aws::String>
77 AwsS3AccessPointDetails& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
79
81
85 inline const Aws::String& GetBucketAccountId() const { return m_bucketAccountId; }
86 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
87 template<typename BucketAccountIdT = Aws::String>
88 void SetBucketAccountId(BucketAccountIdT&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
89 template<typename BucketAccountIdT = Aws::String>
90 AwsS3AccessPointDetails& WithBucketAccountId(BucketAccountIdT&& value) { SetBucketAccountId(std::forward<BucketAccountIdT>(value)); return *this;}
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 AwsS3AccessPointDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
110 inline const Aws::String& GetNetworkOrigin() const { return m_networkOrigin; }
111 inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
112 template<typename NetworkOriginT = Aws::String>
113 void SetNetworkOrigin(NetworkOriginT&& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = std::forward<NetworkOriginT>(value); }
114 template<typename NetworkOriginT = Aws::String>
115 AwsS3AccessPointDetails& WithNetworkOrigin(NetworkOriginT&& value) { SetNetworkOrigin(std::forward<NetworkOriginT>(value)); return *this;}
117
119
120 inline const AwsS3AccountPublicAccessBlockDetails& GetPublicAccessBlockConfiguration() const { return m_publicAccessBlockConfiguration; }
121 inline bool PublicAccessBlockConfigurationHasBeenSet() const { return m_publicAccessBlockConfigurationHasBeenSet; }
122 template<typename PublicAccessBlockConfigurationT = AwsS3AccountPublicAccessBlockDetails>
123 void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT&& value) { m_publicAccessBlockConfigurationHasBeenSet = true; m_publicAccessBlockConfiguration = std::forward<PublicAccessBlockConfigurationT>(value); }
124 template<typename PublicAccessBlockConfigurationT = AwsS3AccountPublicAccessBlockDetails>
125 AwsS3AccessPointDetails& WithPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT&& value) { SetPublicAccessBlockConfiguration(std::forward<PublicAccessBlockConfigurationT>(value)); return *this;}
127
129
133 inline const AwsS3AccessPointVpcConfigurationDetails& GetVpcConfiguration() const { return m_vpcConfiguration; }
134 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
135 template<typename VpcConfigurationT = AwsS3AccessPointVpcConfigurationDetails>
136 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
137 template<typename VpcConfigurationT = AwsS3AccessPointVpcConfigurationDetails>
138 AwsS3AccessPointDetails& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
140 private:
141
142 Aws::String m_accessPointArn;
143 bool m_accessPointArnHasBeenSet = false;
144
145 Aws::String m_alias;
146 bool m_aliasHasBeenSet = false;
147
148 Aws::String m_bucket;
149 bool m_bucketHasBeenSet = false;
150
151 Aws::String m_bucketAccountId;
152 bool m_bucketAccountIdHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_networkOrigin;
158 bool m_networkOriginHasBeenSet = false;
159
160 AwsS3AccountPublicAccessBlockDetails m_publicAccessBlockConfiguration;
161 bool m_publicAccessBlockConfigurationHasBeenSet = false;
162
164 bool m_vpcConfigurationHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SecurityHub
169} // namespace Aws
AwsS3AccessPointDetails & WithBucket(BucketT &&value)
AWS_SECURITYHUB_API AwsS3AccessPointDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsS3AccountPublicAccessBlockDetails & GetPublicAccessBlockConfiguration() const
AwsS3AccessPointDetails & WithVpcConfiguration(VpcConfigurationT &&value)
const AwsS3AccessPointVpcConfigurationDetails & GetVpcConfiguration() const
AWS_SECURITYHUB_API AwsS3AccessPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
AwsS3AccessPointDetails & WithPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
AwsS3AccessPointDetails & WithNetworkOrigin(NetworkOriginT &&value)
AwsS3AccessPointDetails & WithName(NameT &&value)
AwsS3AccessPointDetails & WithBucketAccountId(BucketAccountIdT &&value)
AwsS3AccessPointDetails & WithAlias(AliasT &&value)
AwsS3AccessPointDetails & WithAccessPointArn(AccessPointArnT &&value)
AWS_SECURITYHUB_API AwsS3AccessPointDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue