AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeLocationFsxLustreResult.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 DescribeLocationFsxLustreResult() = default;
30
32
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
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
71 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
72 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
73 void SetSecurityGroupArns(SecurityGroupArnsT&& value) {
74 m_securityGroupArnsHasBeenSet = true;
75 m_securityGroupArns = std::forward<SecurityGroupArnsT>(value);
76 }
77 template <typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
79 SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value));
80 return *this;
81 }
82 template <typename SecurityGroupArnsT = Aws::String>
84 m_securityGroupArnsHasBeenSet = true;
85 m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
96 void SetCreationTime(CreationTimeT&& value) {
97 m_creationTimeHasBeenSet = true;
98 m_creationTime = std::forward<CreationTimeT>(value);
99 }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
102 SetCreationTime(std::forward<CreationTimeT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template <typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) {
112 m_requestIdHasBeenSet = true;
113 m_requestId = std::forward<RequestIdT>(value);
114 }
115 template <typename RequestIdT = Aws::String>
117 SetRequestId(std::forward<RequestIdT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_locationArn;
123
124 Aws::String m_locationUri;
125
126 Aws::Vector<Aws::String> m_securityGroupArns;
127
128 Aws::Utils::DateTime m_creationTime{};
129
130 Aws::String m_requestId;
131 bool m_locationArnHasBeenSet = false;
132 bool m_locationUriHasBeenSet = false;
133 bool m_securityGroupArnsHasBeenSet = false;
134 bool m_creationTimeHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace DataSync
140} // 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