AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3AccessPoint.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/S3AccessPointVpcConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FSX_API S3AccessPoint() = default;
40
41
43
46 inline const Aws::String& GetResourceARN() const { return m_resourceARN; }
47 inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
48 template<typename ResourceARNT = Aws::String>
49 void SetResourceARN(ResourceARNT&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::forward<ResourceARNT>(value); }
50 template<typename ResourceARNT = Aws::String>
51 S3AccessPoint& WithResourceARN(ResourceARNT&& value) { SetResourceARN(std::forward<ResourceARNT>(value)); return *this;}
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) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
62 template<typename AliasT = Aws::String>
63 S3AccessPoint& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
65
67
70 inline const S3AccessPointVpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
71 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
72 template<typename VpcConfigurationT = S3AccessPointVpcConfiguration>
73 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
74 template<typename VpcConfigurationT = S3AccessPointVpcConfiguration>
75 S3AccessPoint& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
77 private:
78
79 Aws::String m_resourceARN;
80 bool m_resourceARNHasBeenSet = false;
81
82 Aws::String m_alias;
83 bool m_aliasHasBeenSet = false;
84
85 S3AccessPointVpcConfiguration m_vpcConfiguration;
86 bool m_vpcConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace FSx
91} // 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