AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLocationFsxWindowsResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datasync/DataSync_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DataSync {
24namespace Model {
26 public:
27 AWS_DATASYNC_API DescribeLocationFsxWindowsResult() = default;
30
32
35 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
36 template <typename LocationArnT = Aws::String>
37 void SetLocationArn(LocationArnT&& value) {
38 m_locationArnHasBeenSet = true;
39 m_locationArn = std::forward<LocationArnT>(value);
40 }
41 template <typename LocationArnT = Aws::String>
43 SetLocationArn(std::forward<LocationArnT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
54 template <typename LocationUriT = Aws::String>
55 void SetLocationUri(LocationUriT&& value) {
56 m_locationUriHasBeenSet = true;
57 m_locationUri = std::forward<LocationUriT>(value);
58 }
59 template <typename LocationUriT = Aws::String>
61 SetLocationUri(std::forward<LocationUriT>(value));
62 return *this;
63 }
65
67
74 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
75 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
76 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
77 m_securityGroupArnsHasBeenSet = true;
78 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
79 }
80 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
82 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
83 return *this;
84 }
85 template <typename SecurityGroupArnsT = Aws::String>
87 m_securityGroupArnsHasBeenSet = true;
88 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 template <typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) {
100 m_creationTimeHasBeenSet = true;
101 m_creationTime = std::forward<CreationTimeT>(value);
102 }
103 template <typename CreationTimeT = Aws::Utils::DateTime>
105 SetCreationTime(std::forward<CreationTimeT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetUser() const { return m_user; }
116 template <typename UserT = Aws::String>
117 void SetUser(UserT&& value) {
118 m_userHasBeenSet = true;
119 m_user = std::forward<UserT>(value);
120 }
121 template <typename UserT = Aws::String>
123 SetUser(std::forward<UserT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetDomain() const { return m_domain; }
134 template <typename DomainT = Aws::String>
135 void SetDomain(DomainT&& value) {
136 m_domainHasBeenSet = true;
137 m_domain = std::forward<DomainT>(value);
138 }
139 template <typename DomainT = Aws::String>
141 SetDomain(std::forward<DomainT>(value));
142 return *this;
143 }
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template <typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) {
151 m_requestIdHasBeenSet = true;
152 m_requestId = std::forward<RequestIdT>(value);
153 }
154 template <typename RequestIdT = Aws::String>
156 SetRequestId(std::forward<RequestIdT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_locationArn;
162
163 Aws::String m_locationUri;
164
165 Aws::Vector<Aws::String> m_securityGroupArns;
166
167 Aws::Utils::DateTime m_creationTime{};
168
169 Aws::String m_user;
170
171 Aws::String m_domain;
172
173 Aws::String m_requestId;
174 bool m_locationArnHasBeenSet = false;
175 bool m_locationUriHasBeenSet = false;
176 bool m_securityGroupArnsHasBeenSet = false;
177 bool m_creationTimeHasBeenSet = false;
178 bool m_userHasBeenSet = false;
179 bool m_domainHasBeenSet = false;
180 bool m_requestIdHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace DataSync
185} // 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