7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename CreatedAtT = Aws::Utils::DateTime>
37 m_createdAtHasBeenSet =
true;
38 m_createdAt = std::forward<CreatedAtT>(value);
40 template <
typename CreatedAtT = Aws::Utils::DateTime>
55 template <
typename AccessGrantsLocationIdT = Aws::String>
57 m_accessGrantsLocationIdHasBeenSet =
true;
58 m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value);
60 template <
typename AccessGrantsLocationIdT = Aws::String>
72 template <
typename AccessGrantsLocationArnT = Aws::String>
74 m_accessGrantsLocationArnHasBeenSet =
true;
75 m_accessGrantsLocationArn = std::forward<AccessGrantsLocationArnT>(value);
77 template <
typename AccessGrantsLocationArnT = Aws::String>
95 template <
typename LocationScopeT = Aws::String>
97 m_locationScopeHasBeenSet =
true;
98 m_locationScope = std::forward<LocationScopeT>(value);
100 template <
typename LocationScopeT = Aws::String>
114 template <
typename IAMRoleArnT = Aws::String>
116 m_iAMRoleArnHasBeenSet =
true;
117 m_iAMRoleArn = std::forward<IAMRoleArnT>(value);
119 template <
typename IAMRoleArnT = Aws::String>
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
148 template <
typename HostIdT = Aws::String>
150 m_hostIdHasBeenSet =
true;
151 m_hostId = std::forward<HostIdT>(value);
153 template <
typename HostIdT = Aws::String>
173 bool m_createdAtHasBeenSet =
false;
174 bool m_accessGrantsLocationIdHasBeenSet =
false;
175 bool m_accessGrantsLocationArnHasBeenSet =
false;
176 bool m_locationScopeHasBeenSet =
false;
177 bool m_iAMRoleArnHasBeenSet =
false;
178 bool m_requestIdHasBeenSet =
false;
179 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
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