AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLocationObjectStorageResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/ObjectStorageServerProtocol.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/Array.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataSync
28{
29namespace Model
30{
37 {
38 public:
42
43
45
48 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
49 inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
50 inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
51 inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
53 inline DescribeLocationObjectStorageResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
54 inline DescribeLocationObjectStorageResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
56
58
61 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
62 inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
63 inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
64 inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
66 inline DescribeLocationObjectStorageResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
67 inline DescribeLocationObjectStorageResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
69
71
75 inline const Aws::String& GetAccessKey() const{ return m_accessKey; }
76 inline void SetAccessKey(const Aws::String& value) { m_accessKey = value; }
77 inline void SetAccessKey(Aws::String&& value) { m_accessKey = std::move(value); }
78 inline void SetAccessKey(const char* value) { m_accessKey.assign(value); }
79 inline DescribeLocationObjectStorageResult& WithAccessKey(const Aws::String& value) { SetAccessKey(value); return *this;}
80 inline DescribeLocationObjectStorageResult& WithAccessKey(Aws::String&& value) { SetAccessKey(std::move(value)); return *this;}
81 inline DescribeLocationObjectStorageResult& WithAccessKey(const char* value) { SetAccessKey(value); return *this;}
83
85
89 inline int GetServerPort() const{ return m_serverPort; }
90 inline void SetServerPort(int value) { m_serverPort = value; }
91 inline DescribeLocationObjectStorageResult& WithServerPort(int value) { SetServerPort(value); return *this;}
93
95
98 inline const ObjectStorageServerProtocol& GetServerProtocol() const{ return m_serverProtocol; }
99 inline void SetServerProtocol(const ObjectStorageServerProtocol& value) { m_serverProtocol = value; }
100 inline void SetServerProtocol(ObjectStorageServerProtocol&& value) { m_serverProtocol = std::move(value); }
104
106
110 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
111 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArns = value; }
112 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArns = std::move(value); }
115 inline DescribeLocationObjectStorageResult& AddAgentArns(const Aws::String& value) { m_agentArns.push_back(value); return *this; }
116 inline DescribeLocationObjectStorageResult& AddAgentArns(Aws::String&& value) { m_agentArns.push_back(std::move(value)); return *this; }
117 inline DescribeLocationObjectStorageResult& AddAgentArns(const char* value) { m_agentArns.push_back(value); return *this; }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
125 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
126 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
130
132
137 inline const Aws::Utils::ByteBuffer& GetServerCertificate() const{ return m_serverCertificate; }
138 inline void SetServerCertificate(const Aws::Utils::ByteBuffer& value) { m_serverCertificate = value; }
139 inline void SetServerCertificate(Aws::Utils::ByteBuffer&& value) { m_serverCertificate = std::move(value); }
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline DescribeLocationObjectStorageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline DescribeLocationObjectStorageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline DescribeLocationObjectStorageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_locationArn;
157
158 Aws::String m_locationUri;
159
160 Aws::String m_accessKey;
161
162 int m_serverPort;
163
164 ObjectStorageServerProtocol m_serverProtocol;
165
166 Aws::Vector<Aws::String> m_agentArns;
167
168 Aws::Utils::DateTime m_creationTime;
169
170 Aws::Utils::ByteBuffer m_serverCertificate;
171
172 Aws::String m_requestId;
173 };
174
175} // namespace Model
176} // namespace DataSync
177} // namespace Aws
DescribeLocationObjectStorageResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeLocationObjectStorageResult & WithRequestId(Aws::String &&value)
DescribeLocationObjectStorageResult & WithLocationUri(const Aws::String &value)
DescribeLocationObjectStorageResult & WithLocationArn(Aws::String &&value)
DescribeLocationObjectStorageResult & AddAgentArns(Aws::String &&value)
DescribeLocationObjectStorageResult & WithAccessKey(const Aws::String &value)
DescribeLocationObjectStorageResult & WithAccessKey(const char *value)
DescribeLocationObjectStorageResult & WithRequestId(const char *value)
DescribeLocationObjectStorageResult & WithAgentArns(Aws::Vector< Aws::String > &&value)
DescribeLocationObjectStorageResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeLocationObjectStorageResult & WithLocationArn(const char *value)
AWS_DATASYNC_API DescribeLocationObjectStorageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationObjectStorageResult & WithAgentArns(const Aws::Vector< Aws::String > &value)
DescribeLocationObjectStorageResult & WithServerProtocol(ObjectStorageServerProtocol &&value)
DescribeLocationObjectStorageResult & WithAccessKey(Aws::String &&value)
DescribeLocationObjectStorageResult & WithLocationUri(const char *value)
DescribeLocationObjectStorageResult & WithServerCertificate(const Aws::Utils::ByteBuffer &value)
AWS_DATASYNC_API DescribeLocationObjectStorageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLocationObjectStorageResult & AddAgentArns(const Aws::String &value)
DescribeLocationObjectStorageResult & WithServerCertificate(Aws::Utils::ByteBuffer &&value)
DescribeLocationObjectStorageResult & WithLocationArn(const Aws::String &value)
DescribeLocationObjectStorageResult & WithLocationUri(Aws::String &&value)
DescribeLocationObjectStorageResult & WithServerProtocol(const ObjectStorageServerProtocol &value)
DescribeLocationObjectStorageResult & WithRequestId(const Aws::String &value)
DescribeLocationObjectStorageResult & AddAgentArns(const char *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