AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeLocationFsxOntapResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/DataSync_EXPORTS.h>
12#include <aws/datasync/model/FsxProtocol.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataSync {
26namespace Model {
28 public:
29 AWS_DATASYNC_API DescribeLocationFsxOntapResult() = default;
32
34
37 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
38 template <typename CreationTimeT = Aws::Utils::DateTime>
39 void SetCreationTime(CreationTimeT&& value) {
40 m_creationTimeHasBeenSet = true;
41 m_creationTime = std::forward<CreationTimeT>(value);
42 }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
45 SetCreationTime(std::forward<CreationTimeT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
55 template <typename LocationArnT = Aws::String>
56 void SetLocationArn(LocationArnT&& value) {
57 m_locationArnHasBeenSet = true;
58 m_locationArn = std::forward<LocationArnT>(value);
59 }
60 template <typename LocationArnT = Aws::String>
62 SetLocationArn(std::forward<LocationArnT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
73 template <typename LocationUriT = Aws::String>
74 void SetLocationUri(LocationUriT&& value) {
75 m_locationUriHasBeenSet = true;
76 m_locationUri = std::forward<LocationUriT>(value);
77 }
78 template <typename LocationUriT = Aws::String>
80 SetLocationUri(std::forward<LocationUriT>(value));
81 return *this;
82 }
84
86
87 inline const FsxProtocol& GetProtocol() const { return m_protocol; }
88 template <typename ProtocolT = FsxProtocol>
89 void SetProtocol(ProtocolT&& value) {
90 m_protocolHasBeenSet = true;
91 m_protocol = std::forward<ProtocolT>(value);
92 }
93 template <typename ProtocolT = FsxProtocol>
95 SetProtocol(std::forward<ProtocolT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
106 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
107 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
108 m_securityGroupArnsHasBeenSet = true;
109 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
110 }
111 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
113 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
114 return *this;
115 }
116 template <typename SecurityGroupArnsT = Aws::String>
118 m_securityGroupArnsHasBeenSet = true;
119 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetStorageVirtualMachineArn() const { return m_storageVirtualMachineArn; }
130 template <typename StorageVirtualMachineArnT = Aws::String>
131 void SetStorageVirtualMachineArn(StorageVirtualMachineArnT&& value) {
132 m_storageVirtualMachineArnHasBeenSet = true;
133 m_storageVirtualMachineArn = std::forward<StorageVirtualMachineArnT>(value);
134 }
135 template <typename StorageVirtualMachineArnT = Aws::String>
137 SetStorageVirtualMachineArn(std::forward<StorageVirtualMachineArnT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
147 template <typename FsxFilesystemArnT = Aws::String>
148 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) {
149 m_fsxFilesystemArnHasBeenSet = true;
150 m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value);
151 }
152 template <typename FsxFilesystemArnT = Aws::String>
154 SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value));
155 return *this;
156 }
158
160
161 inline const Aws::String& GetRequestId() const { return m_requestId; }
162 template <typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) {
164 m_requestIdHasBeenSet = true;
165 m_requestId = std::forward<RequestIdT>(value);
166 }
167 template <typename RequestIdT = Aws::String>
169 SetRequestId(std::forward<RequestIdT>(value));
170 return *this;
171 }
173 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
174
175 private:
176 Aws::Utils::DateTime m_creationTime{};
177
178 Aws::String m_locationArn;
179
180 Aws::String m_locationUri;
181
182 FsxProtocol m_protocol;
183
184 Aws::Vector<Aws::String> m_securityGroupArns;
185
186 Aws::String m_storageVirtualMachineArn;
187
188 Aws::String m_fsxFilesystemArn;
189
190 Aws::String m_requestId;
191 Aws::Http::HttpResponseCode m_HttpResponseCode;
192 bool m_creationTimeHasBeenSet = false;
193 bool m_locationArnHasBeenSet = false;
194 bool m_locationUriHasBeenSet = false;
195 bool m_protocolHasBeenSet = false;
196 bool m_securityGroupArnsHasBeenSet = false;
197 bool m_storageVirtualMachineArnHasBeenSet = false;
198 bool m_fsxFilesystemArnHasBeenSet = false;
199 bool m_requestIdHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace DataSync
204} // namespace Aws
DescribeLocationFsxOntapResult & WithProtocol(ProtocolT &&value)
DescribeLocationFsxOntapResult & WithLocationArn(LocationArnT &&value)
DescribeLocationFsxOntapResult & WithCreationTime(CreationTimeT &&value)
DescribeLocationFsxOntapResult & AddSecurityGroupArns(SecurityGroupArnsT &&value)
DescribeLocationFsxOntapResult & WithFsxFilesystemArn(FsxFilesystemArnT &&value)
DescribeLocationFsxOntapResult & WithLocationUri(LocationUriT &&value)
void SetStorageVirtualMachineArn(StorageVirtualMachineArnT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
DescribeLocationFsxOntapResult & WithSecurityGroupArns(SecurityGroupArnsT &&value)
DescribeLocationFsxOntapResult & WithStorageVirtualMachineArn(StorageVirtualMachineArnT &&value)
DescribeLocationFsxOntapResult & WithRequestId(RequestIdT &&value)
AWS_DATASYNC_API DescribeLocationFsxOntapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API DescribeLocationFsxOntapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATASYNC_API DescribeLocationFsxOntapResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue