AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeLocationFsxOntapResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/FsxProtocol.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataSync {
25namespace Model {
27 public:
28 AWS_DATASYNC_API DescribeLocationFsxOntapResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
37 template <typename CreationTimeT = Aws::Utils::DateTime>
38 void SetCreationTime(CreationTimeT&& value) {
39 m_creationTimeHasBeenSet = true;
40 m_creationTime = std::forward<CreationTimeT>(value);
41 }
42 template <typename CreationTimeT = Aws::Utils::DateTime>
44 SetCreationTime(std::forward<CreationTimeT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
54 template <typename LocationArnT = Aws::String>
55 void SetLocationArn(LocationArnT&& value) {
56 m_locationArnHasBeenSet = true;
57 m_locationArn = std::forward<LocationArnT>(value);
58 }
59 template <typename LocationArnT = Aws::String>
61 SetLocationArn(std::forward<LocationArnT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
72 template <typename LocationUriT = Aws::String>
73 void SetLocationUri(LocationUriT&& value) {
74 m_locationUriHasBeenSet = true;
75 m_locationUri = std::forward<LocationUriT>(value);
76 }
77 template <typename LocationUriT = Aws::String>
79 SetLocationUri(std::forward<LocationUriT>(value));
80 return *this;
81 }
83
85
86 inline const FsxProtocol& GetProtocol() const { return m_protocol; }
87 template <typename ProtocolT = FsxProtocol>
88 void SetProtocol(ProtocolT&& value) {
89 m_protocolHasBeenSet = true;
90 m_protocol = std::forward<ProtocolT>(value);
91 }
92 template <typename ProtocolT = FsxProtocol>
94 SetProtocol(std::forward<ProtocolT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
105 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
106 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
107 m_securityGroupArnsHasBeenSet = true;
108 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
109 }
110 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
112 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
113 return *this;
114 }
115 template <typename SecurityGroupArnsT = Aws::String>
117 m_securityGroupArnsHasBeenSet = true;
118 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
119 return *this;
120 }
122
124
128 inline const Aws::String& GetStorageVirtualMachineArn() const { return m_storageVirtualMachineArn; }
129 template <typename StorageVirtualMachineArnT = Aws::String>
130 void SetStorageVirtualMachineArn(StorageVirtualMachineArnT&& value) {
131 m_storageVirtualMachineArnHasBeenSet = true;
132 m_storageVirtualMachineArn = std::forward<StorageVirtualMachineArnT>(value);
133 }
134 template <typename StorageVirtualMachineArnT = Aws::String>
136 SetStorageVirtualMachineArn(std::forward<StorageVirtualMachineArnT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
146 template <typename FsxFilesystemArnT = Aws::String>
147 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) {
148 m_fsxFilesystemArnHasBeenSet = true;
149 m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value);
150 }
151 template <typename FsxFilesystemArnT = Aws::String>
153 SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value));
154 return *this;
155 }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template <typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) {
163 m_requestIdHasBeenSet = true;
164 m_requestId = std::forward<RequestIdT>(value);
165 }
166 template <typename RequestIdT = Aws::String>
168 SetRequestId(std::forward<RequestIdT>(value));
169 return *this;
170 }
172 private:
173 Aws::Utils::DateTime m_creationTime{};
174
175 Aws::String m_locationArn;
176
177 Aws::String m_locationUri;
178
179 FsxProtocol m_protocol;
180
181 Aws::Vector<Aws::String> m_securityGroupArns;
182
183 Aws::String m_storageVirtualMachineArn;
184
185 Aws::String m_fsxFilesystemArn;
186
187 Aws::String m_requestId;
188 bool m_creationTimeHasBeenSet = false;
189 bool m_locationArnHasBeenSet = false;
190 bool m_locationUriHasBeenSet = false;
191 bool m_protocolHasBeenSet = false;
192 bool m_securityGroupArnsHasBeenSet = false;
193 bool m_storageVirtualMachineArnHasBeenSet = false;
194 bool m_fsxFilesystemArnHasBeenSet = false;
195 bool m_requestIdHasBeenSet = false;
196};
197
198} // namespace Model
199} // namespace DataSync
200} // 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