AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3AccessPointConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/S3PublicAccessBlockConfiguration.h>
10#include <aws/accessanalyzer/model/NetworkOriginConfiguration.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 AccessAnalyzer
24{
25namespace Model
26{
27
44 {
45 public:
46 AWS_ACCESSANALYZER_API S3AccessPointConfiguration();
47 AWS_ACCESSANALYZER_API S3AccessPointConfiguration(Aws::Utils::Json::JsonView jsonValue);
49 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetAccessPointPolicy() const{ return m_accessPointPolicy; }
57 inline bool AccessPointPolicyHasBeenSet() const { return m_accessPointPolicyHasBeenSet; }
58 inline void SetAccessPointPolicy(const Aws::String& value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy = value; }
59 inline void SetAccessPointPolicy(Aws::String&& value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy = std::move(value); }
60 inline void SetAccessPointPolicy(const char* value) { m_accessPointPolicyHasBeenSet = true; m_accessPointPolicy.assign(value); }
62 inline S3AccessPointConfiguration& WithAccessPointPolicy(Aws::String&& value) { SetAccessPointPolicy(std::move(value)); return *this;}
63 inline S3AccessPointConfiguration& WithAccessPointPolicy(const char* value) { SetAccessPointPolicy(value); return *this;}
65
67
71 inline const S3PublicAccessBlockConfiguration& GetPublicAccessBlock() const{ return m_publicAccessBlock; }
72 inline bool PublicAccessBlockHasBeenSet() const { return m_publicAccessBlockHasBeenSet; }
73 inline void SetPublicAccessBlock(const S3PublicAccessBlockConfiguration& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = value; }
74 inline void SetPublicAccessBlock(S3PublicAccessBlockConfiguration&& value) { m_publicAccessBlockHasBeenSet = true; m_publicAccessBlock = std::move(value); }
78
80
88 inline const NetworkOriginConfiguration& GetNetworkOrigin() const{ return m_networkOrigin; }
89 inline bool NetworkOriginHasBeenSet() const { return m_networkOriginHasBeenSet; }
90 inline void SetNetworkOrigin(const NetworkOriginConfiguration& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = value; }
91 inline void SetNetworkOrigin(NetworkOriginConfiguration&& value) { m_networkOriginHasBeenSet = true; m_networkOrigin = std::move(value); }
95 private:
96
97 Aws::String m_accessPointPolicy;
98 bool m_accessPointPolicyHasBeenSet = false;
99
100 S3PublicAccessBlockConfiguration m_publicAccessBlock;
101 bool m_publicAccessBlockHasBeenSet = false;
102
103 NetworkOriginConfiguration m_networkOrigin;
104 bool m_networkOriginHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AccessAnalyzer
109} // namespace Aws
S3AccessPointConfiguration & WithAccessPointPolicy(const char *value)
S3AccessPointConfiguration & WithAccessPointPolicy(const Aws::String &value)
const NetworkOriginConfiguration & GetNetworkOrigin() const
const S3PublicAccessBlockConfiguration & GetPublicAccessBlock() const
AWS_ACCESSANALYZER_API S3AccessPointConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPublicAccessBlock(S3PublicAccessBlockConfiguration &&value)
AWS_ACCESSANALYZER_API S3AccessPointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3AccessPointConfiguration & WithPublicAccessBlock(S3PublicAccessBlockConfiguration &&value)
S3AccessPointConfiguration & WithAccessPointPolicy(Aws::String &&value)
S3AccessPointConfiguration & WithNetworkOrigin(const NetworkOriginConfiguration &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
S3AccessPointConfiguration & WithNetworkOrigin(NetworkOriginConfiguration &&value)
void SetPublicAccessBlock(const S3PublicAccessBlockConfiguration &value)
void SetNetworkOrigin(const NetworkOriginConfiguration &value)
S3AccessPointConfiguration & WithPublicAccessBlock(const S3PublicAccessBlockConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue