7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/S3Control_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename CreatedAtT = Aws::Utils::DateTime>
38 m_createdAtHasBeenSet =
true;
39 m_createdAt = std::forward<CreatedAtT>(value);
41 template <
typename CreatedAtT = Aws::Utils::DateTime>
56 template <
typename AccessGrantsLocationIdT = Aws::String>
58 m_accessGrantsLocationIdHasBeenSet =
true;
59 m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value);
61 template <
typename AccessGrantsLocationIdT = Aws::String>
73 template <
typename AccessGrantsLocationArnT = Aws::String>
75 m_accessGrantsLocationArnHasBeenSet =
true;
76 m_accessGrantsLocationArn = std::forward<AccessGrantsLocationArnT>(value);
78 template <
typename AccessGrantsLocationArnT = Aws::String>
96 template <
typename LocationScopeT = Aws::String>
98 m_locationScopeHasBeenSet =
true;
99 m_locationScope = std::forward<LocationScopeT>(value);
101 template <
typename LocationScopeT = Aws::String>
115 template <
typename IAMRoleArnT = Aws::String>
117 m_iAMRoleArnHasBeenSet =
true;
118 m_iAMRoleArn = std::forward<IAMRoleArnT>(value);
120 template <
typename IAMRoleArnT = Aws::String>
132 template <
typename RequestIdT = Aws::String>
134 m_requestIdHasBeenSet =
true;
135 m_requestId = std::forward<RequestIdT>(value);
137 template <
typename RequestIdT = Aws::String>
149 template <
typename HostIdT = Aws::String>
151 m_hostIdHasBeenSet =
true;
152 m_hostId = std::forward<HostIdT>(value);
154 template <
typename HostIdT = Aws::String>
177 bool m_createdAtHasBeenSet =
false;
178 bool m_accessGrantsLocationIdHasBeenSet =
false;
179 bool m_accessGrantsLocationArnHasBeenSet =
false;
180 bool m_locationScopeHasBeenSet =
false;
181 bool m_iAMRoleArnHasBeenSet =
false;
182 bool m_requestIdHasBeenSet =
false;
183 bool m_hostIdHasBeenSet =
false;
void SetIAMRoleArn(IAMRoleArnT &&value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
CreateAccessGrantsLocationResult & WithIAMRoleArn(IAMRoleArnT &&value)
AWS_S3CONTROL_API CreateAccessGrantsLocationResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetAccessGrantsLocationArn() const
void SetLocationScope(LocationScopeT &&value)
void SetAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
const Aws::String & GetAccessGrantsLocationId() const
const Aws::String & GetLocationScope() const
const Aws::Utils::DateTime & GetCreatedAt() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateAccessGrantsLocationResult & WithHostId(HostIdT &&value)
void SetHostId(HostIdT &&value)
CreateAccessGrantsLocationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
CreateAccessGrantsLocationResult & WithAccessGrantsLocationArn(AccessGrantsLocationArnT &&value)
CreateAccessGrantsLocationResult & WithLocationScope(LocationScopeT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_S3CONTROL_API CreateAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetHostId() const
void SetAccessGrantsLocationArn(AccessGrantsLocationArnT &&value)
const Aws::String & GetIAMRoleArn() const
AWS_S3CONTROL_API CreateAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateAccessGrantsLocationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument