AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
S3AccessPoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/S3AccessPointVpcConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace FSx {
21namespace Model {
22
30 public:
31 AWS_FSX_API S3AccessPoint() = default;
35
37
40 inline const Aws::String& GetResourceARN() const { return m_resourceARN; }
41 inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
42 template <typename ResourceARNT = Aws::String>
43 void SetResourceARN(ResourceARNT&& value) {
44 m_resourceARNHasBeenSet = true;
45 m_resourceARN = std::forward<ResourceARNT>(value);
46 }
47 template <typename ResourceARNT = Aws::String>
48 S3AccessPoint& WithResourceARN(ResourceARNT&& value) {
49 SetResourceARN(std::forward<ResourceARNT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAlias() const { return m_alias; }
59 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
60 template <typename AliasT = Aws::String>
61 void SetAlias(AliasT&& value) {
62 m_aliasHasBeenSet = true;
63 m_alias = std::forward<AliasT>(value);
64 }
65 template <typename AliasT = Aws::String>
66 S3AccessPoint& WithAlias(AliasT&& value) {
67 SetAlias(std::forward<AliasT>(value));
68 return *this;
69 }
71
73
76 inline const S3AccessPointVpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
77 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
78 template <typename VpcConfigurationT = S3AccessPointVpcConfiguration>
79 void SetVpcConfiguration(VpcConfigurationT&& value) {
80 m_vpcConfigurationHasBeenSet = true;
81 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
82 }
83 template <typename VpcConfigurationT = S3AccessPointVpcConfiguration>
84 S3AccessPoint& WithVpcConfiguration(VpcConfigurationT&& value) {
85 SetVpcConfiguration(std::forward<VpcConfigurationT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_resourceARN;
91
92 Aws::String m_alias;
93
94 S3AccessPointVpcConfiguration m_vpcConfiguration;
95 bool m_resourceARNHasBeenSet = false;
96 bool m_aliasHasBeenSet = false;
97 bool m_vpcConfigurationHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace FSx
102} // namespace Aws
AWS_FSX_API S3AccessPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
S3AccessPoint & WithAlias(AliasT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAlias() const
const S3AccessPointVpcConfiguration & GetVpcConfiguration() const
const Aws::String & GetResourceARN() const
AWS_FSX_API S3AccessPoint(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API S3AccessPoint()=default
void SetResourceARN(ResourceARNT &&value)
void SetAlias(AliasT &&value)
S3AccessPoint & WithVpcConfiguration(VpcConfigurationT &&value)
S3AccessPoint & WithResourceARN(ResourceARNT &&value)
void SetVpcConfiguration(VpcConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue