AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
DescribeLocationFsxLustreResult.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
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 DescribeLocationFsxLustreResult() = default;
31
33
37 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
38 template <typename LocationArnT = Aws::String>
39 void SetLocationArn(LocationArnT&& value) {
40 m_locationArnHasBeenSet = true;
41 m_locationArn = std::forward<LocationArnT>(value);
42 }
43 template <typename LocationArnT = Aws::String>
45 SetLocationArn(std::forward<LocationArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
55 template <typename LocationUriT = Aws::String>
56 void SetLocationUri(LocationUriT&& value) {
57 m_locationUriHasBeenSet = true;
58 m_locationUri = std::forward<LocationUriT>(value);
59 }
60 template <typename LocationUriT = Aws::String>
62 SetLocationUri(std::forward<LocationUriT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
73 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
74 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
75 m_securityGroupArnsHasBeenSet = true;
76 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
77 }
78 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
80 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
81 return *this;
82 }
83 template <typename SecurityGroupArnsT = Aws::String>
85 m_securityGroupArnsHasBeenSet = true;
86 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template <typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) {
113 m_requestIdHasBeenSet = true;
114 m_requestId = std::forward<RequestIdT>(value);
115 }
116 template <typename RequestIdT = Aws::String>
118 SetRequestId(std::forward<RequestIdT>(value));
119 return *this;
120 }
122 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
123
124 private:
125 Aws::String m_locationArn;
126
127 Aws::String m_locationUri;
128
129 Aws::Vector<Aws::String> m_securityGroupArns;
130
131 Aws::Utils::DateTime m_creationTime{};
132
133 Aws::String m_requestId;
134 Aws::Http::HttpResponseCode m_HttpResponseCode;
135 bool m_locationArnHasBeenSet = false;
136 bool m_locationUriHasBeenSet = false;
137 bool m_securityGroupArnsHasBeenSet = false;
138 bool m_creationTimeHasBeenSet = false;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace DataSync
144} // namespace Aws
DescribeLocationFsxLustreResult & WithCreationTime(CreationTimeT &&value)
DescribeLocationFsxLustreResult & WithLocationUri(LocationUriT &&value)
DescribeLocationFsxLustreResult & WithRequestId(RequestIdT &&value)
DescribeLocationFsxLustreResult & WithSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API DescribeLocationFsxLustreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxLustreResult & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API DescribeLocationFsxLustreResult()=default
DescribeLocationFsxLustreResult & WithLocationArn(LocationArnT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
AWS_DATASYNC_API DescribeLocationFsxLustreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue