AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileSystemAssociationInfo.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/model/CacheAttributes.h>
11#include <aws/storagegateway/model/EndpointNetworkConfiguration.h>
12#include <aws/storagegateway/model/Tag.h>
13#include <aws/storagegateway/model/FileSystemAssociationStatusDetail.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace StorageGateway
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_STORAGEGATEWAY_API FileSystemAssociationInfo() = default;
41 AWS_STORAGEGATEWAY_API FileSystemAssociationInfo(Aws::Utils::Json::JsonView jsonValue);
43 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetFileSystemAssociationARN() const { return m_fileSystemAssociationARN; }
51 inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
52 template<typename FileSystemAssociationARNT = Aws::String>
53 void SetFileSystemAssociationARN(FileSystemAssociationARNT&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::forward<FileSystemAssociationARNT>(value); }
54 template<typename FileSystemAssociationARNT = Aws::String>
55 FileSystemAssociationInfo& WithFileSystemAssociationARN(FileSystemAssociationARNT&& value) { SetFileSystemAssociationARN(std::forward<FileSystemAssociationARNT>(value)); return *this;}
57
59
65 inline const Aws::String& GetLocationARN() const { return m_locationARN; }
66 inline bool LocationARNHasBeenSet() const { return m_locationARNHasBeenSet; }
67 template<typename LocationARNT = Aws::String>
68 void SetLocationARN(LocationARNT&& value) { m_locationARNHasBeenSet = true; m_locationARN = std::forward<LocationARNT>(value); }
69 template<typename LocationARNT = Aws::String>
70 FileSystemAssociationInfo& WithLocationARN(LocationARNT&& value) { SetLocationARN(std::forward<LocationARNT>(value)); return *this;}
72
74
79 inline const Aws::String& GetFileSystemAssociationStatus() const { return m_fileSystemAssociationStatus; }
80 inline bool FileSystemAssociationStatusHasBeenSet() const { return m_fileSystemAssociationStatusHasBeenSet; }
81 template<typename FileSystemAssociationStatusT = Aws::String>
82 void SetFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = std::forward<FileSystemAssociationStatusT>(value); }
83 template<typename FileSystemAssociationStatusT = Aws::String>
84 FileSystemAssociationInfo& WithFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) { SetFileSystemAssociationStatus(std::forward<FileSystemAssociationStatusT>(value)); return *this;}
86
88
91 inline const Aws::String& GetAuditDestinationARN() const { return m_auditDestinationARN; }
92 inline bool AuditDestinationARNHasBeenSet() const { return m_auditDestinationARNHasBeenSet; }
93 template<typename AuditDestinationARNT = Aws::String>
94 void SetAuditDestinationARN(AuditDestinationARNT&& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = std::forward<AuditDestinationARNT>(value); }
95 template<typename AuditDestinationARNT = Aws::String>
96 FileSystemAssociationInfo& WithAuditDestinationARN(AuditDestinationARNT&& value) { SetAuditDestinationARN(std::forward<AuditDestinationARNT>(value)); return *this;}
98
100
101 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
102 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
103 template<typename GatewayARNT = Aws::String>
104 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
105 template<typename GatewayARNT = Aws::String>
106 FileSystemAssociationInfo& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
108
110
114 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 template<typename TagsT = Aws::Vector<Tag>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
118 template<typename TagsT = Aws::Vector<Tag>>
119 FileSystemAssociationInfo& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
120 template<typename TagsT = Tag>
121 FileSystemAssociationInfo& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
123
125
126 inline const CacheAttributes& GetCacheAttributes() const { return m_cacheAttributes; }
127 inline bool CacheAttributesHasBeenSet() const { return m_cacheAttributesHasBeenSet; }
128 template<typename CacheAttributesT = CacheAttributes>
129 void SetCacheAttributes(CacheAttributesT&& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = std::forward<CacheAttributesT>(value); }
130 template<typename CacheAttributesT = CacheAttributes>
131 FileSystemAssociationInfo& WithCacheAttributes(CacheAttributesT&& value) { SetCacheAttributes(std::forward<CacheAttributesT>(value)); return *this;}
133
135
141 inline const EndpointNetworkConfiguration& GetEndpointNetworkConfiguration() const { return m_endpointNetworkConfiguration; }
142 inline bool EndpointNetworkConfigurationHasBeenSet() const { return m_endpointNetworkConfigurationHasBeenSet; }
143 template<typename EndpointNetworkConfigurationT = EndpointNetworkConfiguration>
144 void SetEndpointNetworkConfiguration(EndpointNetworkConfigurationT&& value) { m_endpointNetworkConfigurationHasBeenSet = true; m_endpointNetworkConfiguration = std::forward<EndpointNetworkConfigurationT>(value); }
145 template<typename EndpointNetworkConfigurationT = EndpointNetworkConfiguration>
146 FileSystemAssociationInfo& WithEndpointNetworkConfiguration(EndpointNetworkConfigurationT&& value) { SetEndpointNetworkConfiguration(std::forward<EndpointNetworkConfigurationT>(value)); return *this;}
148
150
154 inline const Aws::Vector<FileSystemAssociationStatusDetail>& GetFileSystemAssociationStatusDetails() const { return m_fileSystemAssociationStatusDetails; }
155 inline bool FileSystemAssociationStatusDetailsHasBeenSet() const { return m_fileSystemAssociationStatusDetailsHasBeenSet; }
156 template<typename FileSystemAssociationStatusDetailsT = Aws::Vector<FileSystemAssociationStatusDetail>>
157 void SetFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT&& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails = std::forward<FileSystemAssociationStatusDetailsT>(value); }
158 template<typename FileSystemAssociationStatusDetailsT = Aws::Vector<FileSystemAssociationStatusDetail>>
159 FileSystemAssociationInfo& WithFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT&& value) { SetFileSystemAssociationStatusDetails(std::forward<FileSystemAssociationStatusDetailsT>(value)); return *this;}
160 template<typename FileSystemAssociationStatusDetailsT = FileSystemAssociationStatusDetail>
161 FileSystemAssociationInfo& AddFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT&& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails.emplace_back(std::forward<FileSystemAssociationStatusDetailsT>(value)); return *this; }
163 private:
164
165 Aws::String m_fileSystemAssociationARN;
166 bool m_fileSystemAssociationARNHasBeenSet = false;
167
168 Aws::String m_locationARN;
169 bool m_locationARNHasBeenSet = false;
170
171 Aws::String m_fileSystemAssociationStatus;
172 bool m_fileSystemAssociationStatusHasBeenSet = false;
173
174 Aws::String m_auditDestinationARN;
175 bool m_auditDestinationARNHasBeenSet = false;
176
177 Aws::String m_gatewayARN;
178 bool m_gatewayARNHasBeenSet = false;
179
180 Aws::Vector<Tag> m_tags;
181 bool m_tagsHasBeenSet = false;
182
183 CacheAttributes m_cacheAttributes;
184 bool m_cacheAttributesHasBeenSet = false;
185
186 EndpointNetworkConfiguration m_endpointNetworkConfiguration;
187 bool m_endpointNetworkConfigurationHasBeenSet = false;
188
189 Aws::Vector<FileSystemAssociationStatusDetail> m_fileSystemAssociationStatusDetails;
190 bool m_fileSystemAssociationStatusDetailsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace StorageGateway
195} // namespace Aws
AWS_STORAGEGATEWAY_API FileSystemAssociationInfo()=default
FileSystemAssociationInfo & WithFileSystemAssociationARN(FileSystemAssociationARNT &&value)
FileSystemAssociationInfo & WithFileSystemAssociationStatus(FileSystemAssociationStatusT &&value)
FileSystemAssociationInfo & WithEndpointNetworkConfiguration(EndpointNetworkConfigurationT &&value)
FileSystemAssociationInfo & WithAuditDestinationARN(AuditDestinationARNT &&value)
void SetFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT &&value)
const Aws::Vector< FileSystemAssociationStatusDetail > & GetFileSystemAssociationStatusDetails() const
void SetFileSystemAssociationStatus(FileSystemAssociationStatusT &&value)
AWS_STORAGEGATEWAY_API FileSystemAssociationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationInfo & AddFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT &&value)
FileSystemAssociationInfo & WithLocationARN(LocationARNT &&value)
AWS_STORAGEGATEWAY_API FileSystemAssociationInfo(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationInfo & WithCacheAttributes(CacheAttributesT &&value)
const EndpointNetworkConfiguration & GetEndpointNetworkConfiguration() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpointNetworkConfiguration(EndpointNetworkConfigurationT &&value)
FileSystemAssociationInfo & WithFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetailsT &&value)
void SetFileSystemAssociationARN(FileSystemAssociationARNT &&value)
FileSystemAssociationInfo & WithGatewayARN(GatewayARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue