AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
43 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
44 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
46 inline DescribeLocationFsxOntapResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
54 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
55 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
56 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
57 inline DescribeLocationFsxOntapResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
58 inline DescribeLocationFsxOntapResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
59 inline DescribeLocationFsxOntapResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
61
63
67 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
68 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
69 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
70 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
71 inline DescribeLocationFsxOntapResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
72 inline DescribeLocationFsxOntapResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
73 inline DescribeLocationFsxOntapResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
75
77
78 inline const FsxProtocol& GetProtocol() const{ return m_protocol; }
79 inline void SetProtocol(const FsxProtocol& value) { m_protocol = value; }
80 inline void SetProtocol(FsxProtocol&& value) { m_protocol = std::move(value); }
81 inline DescribeLocationFsxOntapResult& WithProtocol(const FsxProtocol& value) { SetProtocol(value); return *this;}
82 inline DescribeLocationFsxOntapResult& WithProtocol(FsxProtocol&& value) { SetProtocol(std::move(value)); return *this;}
84
86
90 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
91 inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArns = value; }
92 inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArns = std::move(value); }
95 inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArns.push_back(value); return *this; }
96 inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArns.push_back(std::move(value)); return *this; }
97 inline DescribeLocationFsxOntapResult& AddSecurityGroupArns(const char* value) { m_securityGroupArns.push_back(value); return *this; }
99
101
105 inline const Aws::String& GetStorageVirtualMachineArn() const{ return m_storageVirtualMachineArn; }
106 inline void SetStorageVirtualMachineArn(const Aws::String& value) { m_storageVirtualMachineArn = value; }
107 inline void SetStorageVirtualMachineArn(Aws::String&& value) { m_storageVirtualMachineArn = std::move(value); }
108 inline void SetStorageVirtualMachineArn(const char* value) { m_storageVirtualMachineArn.assign(value); }
113
115
118 inline const Aws::String& GetFsxFilesystemArn() const{ return m_fsxFilesystemArn; }
119 inline void SetFsxFilesystemArn(const Aws::String& value) { m_fsxFilesystemArn = value; }
120 inline void SetFsxFilesystemArn(Aws::String&& value) { m_fsxFilesystemArn = std::move(value); }
121 inline void SetFsxFilesystemArn(const char* value) { m_fsxFilesystemArn.assign(value); }
123 inline DescribeLocationFsxOntapResult& WithFsxFilesystemArn(Aws::String&& value) { SetFsxFilesystemArn(std::move(value)); return *this;}
124 inline DescribeLocationFsxOntapResult& WithFsxFilesystemArn(const char* value) { SetFsxFilesystemArn(value); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline DescribeLocationFsxOntapResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline DescribeLocationFsxOntapResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline DescribeLocationFsxOntapResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::Utils::DateTime m_creationTime;
140
141 Aws::String m_locationArn;
142
143 Aws::String m_locationUri;
144
145 FsxProtocol m_protocol;
146
147 Aws::Vector<Aws::String> m_securityGroupArns;
148
149 Aws::String m_storageVirtualMachineArn;
150
151 Aws::String m_fsxFilesystemArn;
152
153 Aws::String m_requestId;
154 };
155
156} // namespace Model
157} // namespace DataSync
158} // namespace Aws
DescribeLocationFsxOntapResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationFsxOntapResult & WithFsxFilesystemArn(Aws::String &&value)
DescribeLocationFsxOntapResult & WithFsxFilesystemArn(const char *value)
DescribeLocationFsxOntapResult & WithRequestId(const char *value)
DescribeLocationFsxOntapResult & WithProtocol(const FsxProtocol &value)
DescribeLocationFsxOntapResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationFsxOntapResult & WithLocationUri(const Aws::String &value)
DescribeLocationFsxOntapResult & WithLocationArn(const char *value)
DescribeLocationFsxOntapResult & WithLocationUri(Aws::String &&value)
DescribeLocationFsxOntapResult & WithStorageVirtualMachineArn(Aws::String &&value)
DescribeLocationFsxOntapResult & AddSecurityGroupArns(const char *value)
DescribeLocationFsxOntapResult & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxOntapResult & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
DescribeLocationFsxOntapResult & WithRequestId(Aws::String &&value)
DescribeLocationFsxOntapResult & WithLocationArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
DescribeLocationFsxOntapResult & WithStorageVirtualMachineArn(const Aws::String &value)
DescribeLocationFsxOntapResult & WithLocationUri(const char *value)
DescribeLocationFsxOntapResult & WithStorageVirtualMachineArn(const char *value)
DescribeLocationFsxOntapResult & WithProtocol(FsxProtocol &&value)
DescribeLocationFsxOntapResult & AddSecurityGroupArns(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationFsxOntapResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOntapResult & WithFsxFilesystemArn(const Aws::String &value)
AWS_DATASYNC_API DescribeLocationFsxOntapResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOntapResult & WithLocationArn(Aws::String &&value)
DescribeLocationFsxOntapResult & WithRequestId(const Aws::String &value)
DescribeLocationFsxOntapResult & AddSecurityGroupArns(Aws::String &&value)
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &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