AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = value; }
53 inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::move(value); }
54 inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN.assign(value); }
59
61
67 inline const Aws::String& GetLocationARN() const{ return m_locationARN; }
68 inline bool LocationARNHasBeenSet() const { return m_locationARNHasBeenSet; }
69 inline void SetLocationARN(const Aws::String& value) { m_locationARNHasBeenSet = true; m_locationARN = value; }
70 inline void SetLocationARN(Aws::String&& value) { m_locationARNHasBeenSet = true; m_locationARN = std::move(value); }
71 inline void SetLocationARN(const char* value) { m_locationARNHasBeenSet = true; m_locationARN.assign(value); }
72 inline FileSystemAssociationInfo& WithLocationARN(const Aws::String& value) { SetLocationARN(value); return *this;}
73 inline FileSystemAssociationInfo& WithLocationARN(Aws::String&& value) { SetLocationARN(std::move(value)); return *this;}
74 inline FileSystemAssociationInfo& WithLocationARN(const char* value) { SetLocationARN(value); return *this;}
76
78
83 inline const Aws::String& GetFileSystemAssociationStatus() const{ return m_fileSystemAssociationStatus; }
84 inline bool FileSystemAssociationStatusHasBeenSet() const { return m_fileSystemAssociationStatusHasBeenSet; }
85 inline void SetFileSystemAssociationStatus(const Aws::String& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = value; }
86 inline void SetFileSystemAssociationStatus(Aws::String&& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = std::move(value); }
87 inline void SetFileSystemAssociationStatus(const char* value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus.assign(value); }
92
94
97 inline const Aws::String& GetAuditDestinationARN() const{ return m_auditDestinationARN; }
98 inline bool AuditDestinationARNHasBeenSet() const { return m_auditDestinationARNHasBeenSet; }
99 inline void SetAuditDestinationARN(const Aws::String& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = value; }
100 inline void SetAuditDestinationARN(Aws::String&& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = std::move(value); }
101 inline void SetAuditDestinationARN(const char* value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN.assign(value); }
103 inline FileSystemAssociationInfo& WithAuditDestinationARN(Aws::String&& value) { SetAuditDestinationARN(std::move(value)); return *this;}
104 inline FileSystemAssociationInfo& WithAuditDestinationARN(const char* value) { SetAuditDestinationARN(value); return *this;}
106
108
109 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
110 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
111 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
112 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
113 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
114 inline FileSystemAssociationInfo& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
115 inline FileSystemAssociationInfo& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
116 inline FileSystemAssociationInfo& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
118
120
124 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
128 inline FileSystemAssociationInfo& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
129 inline FileSystemAssociationInfo& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
130 inline FileSystemAssociationInfo& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
131 inline FileSystemAssociationInfo& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
133
135
136 inline const CacheAttributes& GetCacheAttributes() const{ return m_cacheAttributes; }
137 inline bool CacheAttributesHasBeenSet() const { return m_cacheAttributesHasBeenSet; }
138 inline void SetCacheAttributes(const CacheAttributes& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = value; }
139 inline void SetCacheAttributes(CacheAttributes&& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = std::move(value); }
141 inline FileSystemAssociationInfo& WithCacheAttributes(CacheAttributes&& value) { SetCacheAttributes(std::move(value)); return *this;}
143
145
151 inline const EndpointNetworkConfiguration& GetEndpointNetworkConfiguration() const{ return m_endpointNetworkConfiguration; }
152 inline bool EndpointNetworkConfigurationHasBeenSet() const { return m_endpointNetworkConfigurationHasBeenSet; }
153 inline void SetEndpointNetworkConfiguration(const EndpointNetworkConfiguration& value) { m_endpointNetworkConfigurationHasBeenSet = true; m_endpointNetworkConfiguration = value; }
154 inline void SetEndpointNetworkConfiguration(EndpointNetworkConfiguration&& value) { m_endpointNetworkConfigurationHasBeenSet = true; m_endpointNetworkConfiguration = std::move(value); }
158
160
164 inline const Aws::Vector<FileSystemAssociationStatusDetail>& GetFileSystemAssociationStatusDetails() const{ return m_fileSystemAssociationStatusDetails; }
165 inline bool FileSystemAssociationStatusDetailsHasBeenSet() const { return m_fileSystemAssociationStatusDetailsHasBeenSet; }
166 inline void SetFileSystemAssociationStatusDetails(const Aws::Vector<FileSystemAssociationStatusDetail>& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails = value; }
167 inline void SetFileSystemAssociationStatusDetails(Aws::Vector<FileSystemAssociationStatusDetail>&& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails = std::move(value); }
170 inline FileSystemAssociationInfo& AddFileSystemAssociationStatusDetails(const FileSystemAssociationStatusDetail& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails.push_back(value); return *this; }
171 inline FileSystemAssociationInfo& AddFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetail&& value) { m_fileSystemAssociationStatusDetailsHasBeenSet = true; m_fileSystemAssociationStatusDetails.push_back(std::move(value)); return *this; }
173 private:
174
175 Aws::String m_fileSystemAssociationARN;
176 bool m_fileSystemAssociationARNHasBeenSet = false;
177
178 Aws::String m_locationARN;
179 bool m_locationARNHasBeenSet = false;
180
181 Aws::String m_fileSystemAssociationStatus;
182 bool m_fileSystemAssociationStatusHasBeenSet = false;
183
184 Aws::String m_auditDestinationARN;
185 bool m_auditDestinationARNHasBeenSet = false;
186
187 Aws::String m_gatewayARN;
188 bool m_gatewayARNHasBeenSet = false;
189
190 Aws::Vector<Tag> m_tags;
191 bool m_tagsHasBeenSet = false;
192
193 CacheAttributes m_cacheAttributes;
194 bool m_cacheAttributesHasBeenSet = false;
195
196 EndpointNetworkConfiguration m_endpointNetworkConfiguration;
197 bool m_endpointNetworkConfigurationHasBeenSet = false;
198
199 Aws::Vector<FileSystemAssociationStatusDetail> m_fileSystemAssociationStatusDetails;
200 bool m_fileSystemAssociationStatusDetailsHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace StorageGateway
205} // namespace Aws
FileSystemAssociationInfo & AddFileSystemAssociationStatusDetails(const FileSystemAssociationStatusDetail &value)
FileSystemAssociationInfo & WithCacheAttributes(const CacheAttributes &value)
FileSystemAssociationInfo & WithFileSystemAssociationARN(const Aws::String &value)
FileSystemAssociationInfo & WithFileSystemAssociationARN(const char *value)
FileSystemAssociationInfo & AddFileSystemAssociationStatusDetails(FileSystemAssociationStatusDetail &&value)
FileSystemAssociationInfo & WithTags(const Aws::Vector< Tag > &value)
void SetEndpointNetworkConfiguration(EndpointNetworkConfiguration &&value)
void SetFileSystemAssociationStatusDetails(const Aws::Vector< FileSystemAssociationStatusDetail > &value)
FileSystemAssociationInfo & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< FileSystemAssociationStatusDetail > & GetFileSystemAssociationStatusDetails() const
FileSystemAssociationInfo & WithAuditDestinationARN(const Aws::String &value)
FileSystemAssociationInfo & WithGatewayARN(const char *value)
FileSystemAssociationInfo & WithFileSystemAssociationStatus(Aws::String &&value)
FileSystemAssociationInfo & WithAuditDestinationARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API FileSystemAssociationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationInfo & WithFileSystemAssociationStatus(const char *value)
FileSystemAssociationInfo & WithGatewayARN(Aws::String &&value)
void SetEndpointNetworkConfiguration(const EndpointNetworkConfiguration &value)
FileSystemAssociationInfo & WithFileSystemAssociationARN(Aws::String &&value)
FileSystemAssociationInfo & WithGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API FileSystemAssociationInfo(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationInfo & WithEndpointNetworkConfiguration(EndpointNetworkConfiguration &&value)
FileSystemAssociationInfo & WithLocationARN(const Aws::String &value)
FileSystemAssociationInfo & WithEndpointNetworkConfiguration(const EndpointNetworkConfiguration &value)
const EndpointNetworkConfiguration & GetEndpointNetworkConfiguration() const
FileSystemAssociationInfo & WithAuditDestinationARN(const char *value)
FileSystemAssociationInfo & WithCacheAttributes(CacheAttributes &&value)
FileSystemAssociationInfo & WithFileSystemAssociationStatus(const Aws::String &value)
FileSystemAssociationInfo & WithFileSystemAssociationStatusDetails(const Aws::Vector< FileSystemAssociationStatusDetail > &value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemAssociationInfo & WithFileSystemAssociationStatusDetails(Aws::Vector< FileSystemAssociationStatusDetail > &&value)
FileSystemAssociationInfo & AddTags(const Tag &value)
FileSystemAssociationInfo & WithLocationARN(Aws::String &&value)
FileSystemAssociationInfo & WithLocationARN(const char *value)
void SetFileSystemAssociationStatusDetails(Aws::Vector< FileSystemAssociationStatusDetail > &&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