AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeLocationFsxWindowsResult.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/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataSync
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATASYNC_API DescribeLocationFsxWindowsResult() = default;
35
36
38
41 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
42 template<typename LocationArnT = Aws::String>
43 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
44 template<typename LocationArnT = Aws::String>
45 DescribeLocationFsxWindowsResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
47
49
53 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
54 template<typename LocationUriT = Aws::String>
55 void SetLocationUri(LocationUriT&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::forward<LocationUriT>(value); }
56 template<typename LocationUriT = Aws::String>
57 DescribeLocationFsxWindowsResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
59
61
68 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
69 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
70 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
71 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
72 DescribeLocationFsxWindowsResult& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
73 template<typename SecurityGroupArnsT = Aws::String>
74 DescribeLocationFsxWindowsResult& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
76
78
81 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
82 template<typename CreationTimeT = Aws::Utils::DateTime>
83 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 DescribeLocationFsxWindowsResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
87
89
93 inline const Aws::String& GetUser() const { return m_user; }
94 template<typename UserT = Aws::String>
95 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
96 template<typename UserT = Aws::String>
97 DescribeLocationFsxWindowsResult& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
99
101
105 inline const Aws::String& GetDomain() const { return m_domain; }
106 template<typename DomainT = Aws::String>
107 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
108 template<typename DomainT = Aws::String>
109 DescribeLocationFsxWindowsResult& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 DescribeLocationFsxWindowsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_locationArn;
123 bool m_locationArnHasBeenSet = false;
124
125 Aws::String m_locationUri;
126 bool m_locationUriHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_securityGroupArns;
129 bool m_securityGroupArnsHasBeenSet = false;
130
131 Aws::Utils::DateTime m_creationTime{};
132 bool m_creationTimeHasBeenSet = false;
133
134 Aws::String m_user;
135 bool m_userHasBeenSet = false;
136
137 Aws::String m_domain;
138 bool m_domainHasBeenSet = false;
139
140 Aws::String m_requestId;
141 bool m_requestIdHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace DataSync
146} // 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