AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationFsxOpenZfsResult.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/datasync/model/FsxProtocol.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataSync
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
43 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
44 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
45 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
46 inline DescribeLocationFsxOpenZfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
47 inline DescribeLocationFsxOpenZfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
48 inline DescribeLocationFsxOpenZfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
50
52
57 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
58 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
59 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
60 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
61 inline DescribeLocationFsxOpenZfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
62 inline DescribeLocationFsxOpenZfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
63 inline DescribeLocationFsxOpenZfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
65
67
71 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
72 inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArns = value; }
73 inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArns = std::move(value); }
76 inline DescribeLocationFsxOpenZfsResult& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArns.push_back(value); return *this; }
77 inline DescribeLocationFsxOpenZfsResult& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArns.push_back(std::move(value)); return *this; }
78 inline DescribeLocationFsxOpenZfsResult& AddSecurityGroupArns(const char* value) { m_securityGroupArns.push_back(value); return *this; }
80
82
85 inline const FsxProtocol& GetProtocol() const{ return m_protocol; }
86 inline void SetProtocol(const FsxProtocol& value) { m_protocol = value; }
87 inline void SetProtocol(FsxProtocol&& value) { m_protocol = std::move(value); }
88 inline DescribeLocationFsxOpenZfsResult& WithProtocol(const FsxProtocol& value) { SetProtocol(value); return *this;}
89 inline DescribeLocationFsxOpenZfsResult& WithProtocol(FsxProtocol&& value) { SetProtocol(std::move(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
97 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
98 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
102
104
105 inline const Aws::String& GetRequestId() const{ return m_requestId; }
106 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
107 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
108 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
109 inline DescribeLocationFsxOpenZfsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 inline DescribeLocationFsxOpenZfsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
111 inline DescribeLocationFsxOpenZfsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
113 private:
114
115 Aws::String m_locationArn;
116
117 Aws::String m_locationUri;
118
119 Aws::Vector<Aws::String> m_securityGroupArns;
120
121 FsxProtocol m_protocol;
122
123 Aws::Utils::DateTime m_creationTime;
124
125 Aws::String m_requestId;
126 };
127
128} // namespace Model
129} // namespace DataSync
130} // namespace Aws
DescribeLocationFsxOpenZfsResult & WithRequestId(const char *value)
DescribeLocationFsxOpenZfsResult & WithProtocol(const FsxProtocol &value)
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxOpenZfsResult & WithLocationUri(Aws::String &&value)
DescribeLocationFsxOpenZfsResult & WithRequestId(Aws::String &&value)
DescribeLocationFsxOpenZfsResult & WithLocationUri(const Aws::String &value)
DescribeLocationFsxOpenZfsResult & AddSecurityGroupArns(const char *value)
AWS_DATASYNC_API DescribeLocationFsxOpenZfsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOpenZfsResult & WithProtocol(FsxProtocol &&value)
DescribeLocationFsxOpenZfsResult & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
DescribeLocationFsxOpenZfsResult & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
DescribeLocationFsxOpenZfsResult & AddSecurityGroupArns(const Aws::String &value)
DescribeLocationFsxOpenZfsResult & WithLocationUri(const char *value)
AWS_DATASYNC_API DescribeLocationFsxOpenZfsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationFsxOpenZfsResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationFsxOpenZfsResult & WithLocationArn(const char *value)
DescribeLocationFsxOpenZfsResult & WithLocationArn(const Aws::String &value)
DescribeLocationFsxOpenZfsResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationFsxOpenZfsResult & AddSecurityGroupArns(Aws::String &&value)
DescribeLocationFsxOpenZfsResult & WithRequestId(const Aws::String &value)
DescribeLocationFsxOpenZfsResult & WithLocationArn(Aws::String &&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