AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccessGrantsLocationResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 GetAccessGrantsLocationResult();
34
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
41 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
42 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
44 inline GetAccessGrantsLocationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
46
48
54 inline const Aws::String& GetAccessGrantsLocationId() const{ return m_accessGrantsLocationId; }
55 inline void SetAccessGrantsLocationId(const Aws::String& value) { m_accessGrantsLocationId = value; }
56 inline void SetAccessGrantsLocationId(Aws::String&& value) { m_accessGrantsLocationId = std::move(value); }
57 inline void SetAccessGrantsLocationId(const char* value) { m_accessGrantsLocationId.assign(value); }
62
64
67 inline const Aws::String& GetAccessGrantsLocationArn() const{ return m_accessGrantsLocationArn; }
68 inline void SetAccessGrantsLocationArn(const Aws::String& value) { m_accessGrantsLocationArn = value; }
69 inline void SetAccessGrantsLocationArn(Aws::String&& value) { m_accessGrantsLocationArn = std::move(value); }
70 inline void SetAccessGrantsLocationArn(const char* value) { m_accessGrantsLocationArn.assign(value); }
75
77
86 inline const Aws::String& GetLocationScope() const{ return m_locationScope; }
87 inline void SetLocationScope(const Aws::String& value) { m_locationScope = value; }
88 inline void SetLocationScope(Aws::String&& value) { m_locationScope = std::move(value); }
89 inline void SetLocationScope(const char* value) { m_locationScope.assign(value); }
90 inline GetAccessGrantsLocationResult& WithLocationScope(const Aws::String& value) { SetLocationScope(value); return *this;}
91 inline GetAccessGrantsLocationResult& WithLocationScope(Aws::String&& value) { SetLocationScope(std::move(value)); return *this;}
92 inline GetAccessGrantsLocationResult& WithLocationScope(const char* value) { SetLocationScope(value); return *this;}
94
96
101 inline const Aws::String& GetIAMRoleArn() const{ return m_iAMRoleArn; }
102 inline void SetIAMRoleArn(const Aws::String& value) { m_iAMRoleArn = value; }
103 inline void SetIAMRoleArn(Aws::String&& value) { m_iAMRoleArn = std::move(value); }
104 inline void SetIAMRoleArn(const char* value) { m_iAMRoleArn.assign(value); }
105 inline GetAccessGrantsLocationResult& WithIAMRoleArn(const Aws::String& value) { SetIAMRoleArn(value); return *this;}
106 inline GetAccessGrantsLocationResult& WithIAMRoleArn(Aws::String&& value) { SetIAMRoleArn(std::move(value)); return *this;}
107 inline GetAccessGrantsLocationResult& WithIAMRoleArn(const char* value) { SetIAMRoleArn(value); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline GetAccessGrantsLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline GetAccessGrantsLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline GetAccessGrantsLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_createdAt;
123
124 Aws::String m_accessGrantsLocationId;
125
126 Aws::String m_accessGrantsLocationArn;
127
128 Aws::String m_locationScope;
129
130 Aws::String m_iAMRoleArn;
131
132 Aws::String m_requestId;
133 };
134
135} // namespace Model
136} // namespace S3Control
137} // namespace Aws
GetAccessGrantsLocationResult & WithIAMRoleArn(Aws::String &&value)
GetAccessGrantsLocationResult & WithIAMRoleArn(const Aws::String &value)
GetAccessGrantsLocationResult & WithAccessGrantsLocationId(const char *value)
GetAccessGrantsLocationResult & WithAccessGrantsLocationId(const Aws::String &value)
GetAccessGrantsLocationResult & WithRequestId(const char *value)
GetAccessGrantsLocationResult & WithAccessGrantsLocationArn(Aws::String &&value)
GetAccessGrantsLocationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetAccessGrantsLocationResult & WithAccessGrantsLocationId(Aws::String &&value)
AWS_S3CONTROL_API GetAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessGrantsLocationResult & WithLocationScope(const char *value)
GetAccessGrantsLocationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_S3CONTROL_API GetAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessGrantsLocationResult & WithAccessGrantsLocationArn(const char *value)
GetAccessGrantsLocationResult & WithRequestId(Aws::String &&value)
GetAccessGrantsLocationResult & WithAccessGrantsLocationArn(const Aws::String &value)
GetAccessGrantsLocationResult & WithLocationScope(Aws::String &&value)
GetAccessGrantsLocationResult & WithRequestId(const Aws::String &value)
GetAccessGrantsLocationResult & WithLocationScope(const Aws::String &value)
GetAccessGrantsLocationResult & WithIAMRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument