AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAccessResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/DescribedAccess.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Transfer
25{
26namespace Model
27{
29 {
30 public:
31 AWS_TRANSFER_API DescribeAccessResult();
34
35
37
41 inline const Aws::String& GetServerId() const{ return m_serverId; }
42 inline void SetServerId(const Aws::String& value) { m_serverId = value; }
43 inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
44 inline void SetServerId(const char* value) { m_serverId.assign(value); }
45 inline DescribeAccessResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
46 inline DescribeAccessResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
47 inline DescribeAccessResult& WithServerId(const char* value) { SetServerId(value); return *this;}
49
51
54 inline const DescribedAccess& GetAccess() const{ return m_access; }
55 inline void SetAccess(const DescribedAccess& value) { m_access = value; }
56 inline void SetAccess(DescribedAccess&& value) { m_access = std::move(value); }
57 inline DescribeAccessResult& WithAccess(const DescribedAccess& value) { SetAccess(value); return *this;}
58 inline DescribeAccessResult& WithAccess(DescribedAccess&& value) { SetAccess(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline DescribeAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline DescribeAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline DescribeAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_serverId;
74
75 DescribedAccess m_access;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Transfer
82} // namespace Aws
void SetAccess(const DescribedAccess &value)
DescribeAccessResult & WithServerId(Aws::String &&value)
const DescribedAccess & GetAccess() const
void SetRequestId(const Aws::String &value)
DescribeAccessResult & WithAccess(const DescribedAccess &value)
AWS_TRANSFER_API DescribeAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccessResult & WithRequestId(Aws::String &&value)
DescribeAccessResult & WithRequestId(const char *value)
DescribeAccessResult & WithAccess(DescribedAccess &&value)
DescribeAccessResult & WithServerId(const char *value)
DescribeAccessResult & WithServerId(const Aws::String &value)
DescribeAccessResult & WithRequestId(const Aws::String &value)
AWS_TRANSFER_API DescribeAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue