AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeLocationFsxOpenZfsResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/model/FsxProtocol.h>
11#include <aws/core/utils/DateTime.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 DescribeLocationFsxOpenZfsResult() = default;
36
37
39
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 template<typename LocationArnT = Aws::String>
44 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
45 template<typename LocationArnT = Aws::String>
46 DescribeLocationFsxOpenZfsResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
48
50
55 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
56 template<typename LocationUriT = Aws::String>
57 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
58 template<typename LocationUriT = Aws::String>
59 DescribeLocationFsxOpenZfsResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
68 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
69 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
70 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
71 DescribeLocationFsxOpenZfsResult& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
72 template<typename SecurityGroupArnsT = Aws::String>
73 DescribeLocationFsxOpenZfsResult& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
75
77
80 inline const FsxProtocol& GetProtocol() const { return m_protocol; }
81 template<typename ProtocolT = FsxProtocol>
82 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
83 template<typename ProtocolT = FsxProtocol>
84 DescribeLocationFsxOpenZfsResult& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
92 template<typename CreationTimeT = Aws::Utils::DateTime>
93 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
94 template<typename CreationTimeT = Aws::Utils::DateTime>
95 DescribeLocationFsxOpenZfsResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template<typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
103 template<typename RequestIdT = Aws::String>
104 DescribeLocationFsxOpenZfsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
106 private:
107
108 Aws::String m_locationArn;
109 bool m_locationArnHasBeenSet = false;
110
111 Aws::String m_locationUri;
112 bool m_locationUriHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_securityGroupArns;
115 bool m_securityGroupArnsHasBeenSet = false;
116
117 FsxProtocol m_protocol;
118 bool m_protocolHasBeenSet = false;
119
120 Aws::Utils::DateTime m_creationTime{};
121 bool m_creationTimeHasBeenSet = false;
122
123 Aws::String m_requestId;
124 bool m_requestIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DataSync
129} // namespace Aws
DescribeLocationFsxOpenZfsResult & WithSecurityGroupArns(SecurityGroupArnsT &&value)
DescribeLocationFsxOpenZfsResult & WithLocationUri(LocationUriT &&value)
AWS_DATASYNC_API DescribeLocationFsxOpenZfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOpenZfsResult & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API DescribeLocationFsxOpenZfsResult()=default
DescribeLocationFsxOpenZfsResult & WithCreationTime(CreationTimeT &&value)
DescribeLocationFsxOpenZfsResult & WithProtocol(ProtocolT &&value)
AWS_DATASYNC_API DescribeLocationFsxOpenZfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOpenZfsResult & WithRequestId(RequestIdT &&value)
DescribeLocationFsxOpenZfsResult & WithLocationArn(LocationArnT &&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