AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLocationFsxOntapResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/FsxProtocol.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataSync
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATASYNC_API DescribeLocationFsxOntapResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
43 template<typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
45 template<typename CreationTimeT = Aws::Utils::DateTime>
46 DescribeLocationFsxOntapResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
48
50
53 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
54 template<typename LocationArnT = Aws::String>
55 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
56 template<typename LocationArnT = Aws::String>
57 DescribeLocationFsxOntapResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
59
61
65 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
66 template<typename LocationUriT = Aws::String>
67 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
68 template<typename LocationUriT = Aws::String>
69 DescribeLocationFsxOntapResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
71
73
74 inline const FsxProtocol& GetProtocol() const { return m_protocol; }
75 template<typename ProtocolT = FsxProtocol>
76 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
77 template<typename ProtocolT = FsxProtocol>
78 DescribeLocationFsxOntapResult& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
80
82
86 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
87 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
88 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
89 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
90 DescribeLocationFsxOntapResult& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
91 template<typename SecurityGroupArnsT = Aws::String>
92 DescribeLocationFsxOntapResult& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
94
96
100 inline const Aws::String& GetStorageVirtualMachineArn() const { return m_storageVirtualMachineArn; }
101 template<typename StorageVirtualMachineArnT = Aws::String>
102 void SetStorageVirtualMachineArn(StorageVirtualMachineArnT&& value) { m_storageVirtualMachineArnHasBeenSet = true; m_storageVirtualMachineArn = std::forward<StorageVirtualMachineArnT>(value); }
103 template<typename StorageVirtualMachineArnT = Aws::String>
104 DescribeLocationFsxOntapResult& WithStorageVirtualMachineArn(StorageVirtualMachineArnT&& value) { SetStorageVirtualMachineArn(std::forward<StorageVirtualMachineArnT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
112 template<typename FsxFilesystemArnT = Aws::String>
113 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value); }
114 template<typename FsxFilesystemArnT = Aws::String>
115 DescribeLocationFsxOntapResult& WithFsxFilesystemArn(FsxFilesystemArnT&& value) { SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value)); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template<typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
123 template<typename RequestIdT = Aws::String>
124 DescribeLocationFsxOntapResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
126 private:
127
128 Aws::Utils::DateTime m_creationTime{};
129 bool m_creationTimeHasBeenSet = false;
130
131 Aws::String m_locationArn;
132 bool m_locationArnHasBeenSet = false;
133
134 Aws::String m_locationUri;
135 bool m_locationUriHasBeenSet = false;
136
137 FsxProtocol m_protocol;
138 bool m_protocolHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_securityGroupArns;
141 bool m_securityGroupArnsHasBeenSet = false;
142
143 Aws::String m_storageVirtualMachineArn;
144 bool m_storageVirtualMachineArnHasBeenSet = false;
145
146 Aws::String m_fsxFilesystemArn;
147 bool m_fsxFilesystemArnHasBeenSet = false;
148
149 Aws::String m_requestId;
150 bool m_requestIdHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace DataSync
155} // 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