AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeLocationFsxWindowsResult.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 DescribeLocationFsxWindowsResult() = default;
31
33
36 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
37 template <typename LocationArnT = Aws::String>
38 void SetLocationArn(LocationArnT&& value) {
39 m_locationArnHasBeenSet = true;
40 m_locationArn = std::forward<LocationArnT>(value);
41 }
42 template <typename LocationArnT = Aws::String>
44 SetLocationArn(std::forward<LocationArnT>(value));
45 return *this;
46 }
48
50
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
75 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
76 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
77 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
78 m_securityGroupArnsHasBeenSet = true;
79 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
80 }
81 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
83 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
84 return *this;
85 }
86 template <typename SecurityGroupArnsT = Aws::String>
88 m_securityGroupArnsHasBeenSet = true;
89 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
99 template <typename CreationTimeT = Aws::Utils::DateTime>
100 void SetCreationTime(CreationTimeT&& value) {
101 m_creationTimeHasBeenSet = true;
102 m_creationTime = std::forward<CreationTimeT>(value);
103 }
104 template <typename CreationTimeT = Aws::Utils::DateTime>
106 SetCreationTime(std::forward<CreationTimeT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetUser() const { return m_user; }
117 template <typename UserT = Aws::String>
118 void SetUser(UserT&& value) {
119 m_userHasBeenSet = true;
120 m_user = std::forward<UserT>(value);
121 }
122 template <typename UserT = Aws::String>
124 SetUser(std::forward<UserT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetDomain() const { return m_domain; }
135 template <typename DomainT = Aws::String>
136 void SetDomain(DomainT&& value) {
137 m_domainHasBeenSet = true;
138 m_domain = std::forward<DomainT>(value);
139 }
140 template <typename DomainT = Aws::String>
142 SetDomain(std::forward<DomainT>(value));
143 return *this;
144 }
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template <typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) {
152 m_requestIdHasBeenSet = true;
153 m_requestId = std::forward<RequestIdT>(value);
154 }
155 template <typename RequestIdT = Aws::String>
157 SetRequestId(std::forward<RequestIdT>(value));
158 return *this;
159 }
161 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
162
163 private:
164 Aws::String m_locationArn;
165
166 Aws::String m_locationUri;
167
168 Aws::Vector<Aws::String> m_securityGroupArns;
169
170 Aws::Utils::DateTime m_creationTime{};
171
172 Aws::String m_user;
173
174 Aws::String m_domain;
175
176 Aws::String m_requestId;
177 Aws::Http::HttpResponseCode m_HttpResponseCode;
178 bool m_locationArnHasBeenSet = false;
179 bool m_locationUriHasBeenSet = false;
180 bool m_securityGroupArnsHasBeenSet = false;
181 bool m_creationTimeHasBeenSet = false;
182 bool m_userHasBeenSet = false;
183 bool m_domainHasBeenSet = false;
184 bool m_requestIdHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace DataSync
189} // namespace Aws
DescribeLocationFsxWindowsResult & WithDomain(DomainT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & WithUser(UserT &&value)
DescribeLocationFsxWindowsResult & WithLocationArn(LocationArnT &&value)
DescribeLocationFsxWindowsResult & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxWindowsResult & WithRequestId(RequestIdT &&value)
DescribeLocationFsxWindowsResult & WithCreationTime(CreationTimeT &&value)
AWS_DATASYNC_API DescribeLocationFsxWindowsResult()=default
DescribeLocationFsxWindowsResult & WithSecurityGroupArns(SecurityGroupArnsT &&value)
DescribeLocationFsxWindowsResult & WithLocationUri(LocationUriT &&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