AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataAccessResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/Credentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CONTROL_API GetDataAccessResult();
34
35
37
40 inline const Credentials& GetCredentials() const{ return m_credentials; }
41 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
42 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
43 inline GetDataAccessResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
44 inline GetDataAccessResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
46
48
52 inline const Aws::String& GetMatchedGrantTarget() const{ return m_matchedGrantTarget; }
53 inline void SetMatchedGrantTarget(const Aws::String& value) { m_matchedGrantTarget = value; }
54 inline void SetMatchedGrantTarget(Aws::String&& value) { m_matchedGrantTarget = std::move(value); }
55 inline void SetMatchedGrantTarget(const char* value) { m_matchedGrantTarget.assign(value); }
56 inline GetDataAccessResult& WithMatchedGrantTarget(const Aws::String& value) { SetMatchedGrantTarget(value); return *this;}
57 inline GetDataAccessResult& WithMatchedGrantTarget(Aws::String&& value) { SetMatchedGrantTarget(std::move(value)); return *this;}
58 inline GetDataAccessResult& WithMatchedGrantTarget(const char* value) { SetMatchedGrantTarget(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 GetDataAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetDataAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetDataAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Credentials m_credentials;
74
75 Aws::String m_matchedGrantTarget;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace S3Control
82} // namespace Aws
GetDataAccessResult & WithMatchedGrantTarget(Aws::String &&value)
GetDataAccessResult & WithCredentials(Credentials &&value)
GetDataAccessResult & WithMatchedGrantTarget(const Aws::String &value)
GetDataAccessResult & WithCredentials(const Credentials &value)
void SetCredentials(const Credentials &value)
GetDataAccessResult & WithRequestId(const Aws::String &value)
void SetMatchedGrantTarget(const Aws::String &value)
AWS_S3CONTROL_API GetDataAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetDataAccessResult & WithMatchedGrantTarget(const char *value)
void SetRequestId(const Aws::String &value)
GetDataAccessResult & WithRequestId(Aws::String &&value)
GetDataAccessResult & WithRequestId(const char *value)
const Aws::String & GetMatchedGrantTarget() const
AWS_S3CONTROL_API GetDataAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument