AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateAccessGrantsLocationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace S3Control {
23namespace Model {
25 public:
26 AWS_S3CONTROL_API UpdateAccessGrantsLocationResult() = default;
29
31
34 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
35 template <typename CreatedAtT = Aws::Utils::DateTime>
36 void SetCreatedAt(CreatedAtT&& value) {
37 m_createdAtHasBeenSet = true;
38 m_createdAt = std::forward<CreatedAtT>(value);
39 }
40 template <typename CreatedAtT = Aws::Utils::DateTime>
42 SetCreatedAt(std::forward<CreatedAtT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetAccessGrantsLocationId() const { return m_accessGrantsLocationId; }
55 template <typename AccessGrantsLocationIdT = Aws::String>
56 void SetAccessGrantsLocationId(AccessGrantsLocationIdT&& value) {
57 m_accessGrantsLocationIdHasBeenSet = true;
58 m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value);
59 }
60 template <typename AccessGrantsLocationIdT = Aws::String>
62 SetAccessGrantsLocationId(std::forward<AccessGrantsLocationIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetAccessGrantsLocationArn() const { return m_accessGrantsLocationArn; }
73 template <typename AccessGrantsLocationArnT = Aws::String>
74 void SetAccessGrantsLocationArn(AccessGrantsLocationArnT&& value) {
75 m_accessGrantsLocationArnHasBeenSet = true;
76 m_accessGrantsLocationArn = std::forward<AccessGrantsLocationArnT>(value);
77 }
78 template <typename AccessGrantsLocationArnT = Aws::String>
80 SetAccessGrantsLocationArn(std::forward<AccessGrantsLocationArnT>(value));
81 return *this;
82 }
84
86
93 inline const Aws::String& GetLocationScope() const { return m_locationScope; }
94 template <typename LocationScopeT = Aws::String>
95 void SetLocationScope(LocationScopeT&& value) {
96 m_locationScopeHasBeenSet = true;
97 m_locationScope = std::forward<LocationScopeT>(value);
98 }
99 template <typename LocationScopeT = Aws::String>
101 SetLocationScope(std::forward<LocationScopeT>(value));
102 return *this;
103 }
105
107
112 inline const Aws::String& GetIAMRoleArn() const { return m_iAMRoleArn; }
113 template <typename IAMRoleArnT = Aws::String>
114 void SetIAMRoleArn(IAMRoleArnT&& value) {
115 m_iAMRoleArnHasBeenSet = true;
116 m_iAMRoleArn = std::forward<IAMRoleArnT>(value);
117 }
118 template <typename IAMRoleArnT = Aws::String>
120 SetIAMRoleArn(std::forward<IAMRoleArnT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetRequestId() const { return m_requestId; }
130 template <typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) {
132 m_requestIdHasBeenSet = true;
133 m_requestId = std::forward<RequestIdT>(value);
134 }
135 template <typename RequestIdT = Aws::String>
137 SetRequestId(std::forward<RequestIdT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetHostId() const { return m_hostId; }
147 template <typename HostIdT = Aws::String>
148 void SetHostId(HostIdT&& value) {
149 m_hostIdHasBeenSet = true;
150 m_hostId = std::forward<HostIdT>(value);
151 }
152 template <typename HostIdT = Aws::String>
154 SetHostId(std::forward<HostIdT>(value));
155 return *this;
156 }
158 private:
159 Aws::Utils::DateTime m_createdAt{};
160
161 Aws::String m_accessGrantsLocationId;
162
163 Aws::String m_accessGrantsLocationArn;
164
165 Aws::String m_locationScope;
166
167 Aws::String m_iAMRoleArn;
168
169 Aws::String m_requestId;
170
171 Aws::String m_hostId;
172 bool m_createdAtHasBeenSet = false;
173 bool m_accessGrantsLocationIdHasBeenSet = false;
174 bool m_accessGrantsLocationArnHasBeenSet = false;
175 bool m_locationScopeHasBeenSet = false;
176 bool m_iAMRoleArnHasBeenSet = false;
177 bool m_requestIdHasBeenSet = false;
178 bool m_hostIdHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace S3Control
183} // namespace Aws
UpdateAccessGrantsLocationResult & WithIAMRoleArn(IAMRoleArnT &&value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationArn(AccessGrantsLocationArnT &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult()=default
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
UpdateAccessGrantsLocationResult & WithCreatedAt(CreatedAtT &&value)
UpdateAccessGrantsLocationResult & WithRequestId(RequestIdT &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateAccessGrantsLocationResult & WithHostId(HostIdT &&value)
UpdateAccessGrantsLocationResult & WithLocationScope(LocationScopeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument