AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeLocationFsxLustreResult.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 DescribeLocationFsxLustreResult() = default;
35
36
38
42 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
43 template<typename LocationArnT = Aws::String>
44 void SetLocationArn(LocationArnT&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::forward<LocationArnT>(value); }
45 template<typename LocationArnT = Aws::String>
46 DescribeLocationFsxLustreResult& WithLocationArn(LocationArnT&& value) { SetLocationArn(std::forward<LocationArnT>(value)); return *this;}
48
50
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 DescribeLocationFsxLustreResult& WithLocationUri(LocationUriT&& value) { SetLocationUri(std::forward<LocationUriT>(value)); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
66 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
67 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
68 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
69 DescribeLocationFsxLustreResult& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
70 template<typename SecurityGroupArnsT = Aws::String>
71 DescribeLocationFsxLustreResult& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 DescribeLocationFsxLustreResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 DescribeLocationFsxLustreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 Aws::String m_locationArn;
96 bool m_locationArnHasBeenSet = false;
97
98 Aws::String m_locationUri;
99 bool m_locationUriHasBeenSet = false;
100
101 Aws::Vector<Aws::String> m_securityGroupArns;
102 bool m_securityGroupArnsHasBeenSet = false;
103
104 Aws::Utils::DateTime m_creationTime{};
105 bool m_creationTimeHasBeenSet = false;
106
107 Aws::String m_requestId;
108 bool m_requestIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace DataSync
113} // 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