7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename CreatedAtT = Aws::Utils::DateTime>
42 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
43 template<
typename CreatedAtT = Aws::Utils::DateTime>
55 template<
typename AccessGrantsLocationIdT = Aws::String>
56 void SetAccessGrantsLocationId(AccessGrantsLocationIdT&& value) { m_accessGrantsLocationIdHasBeenSet =
true; m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value); }
57 template<
typename AccessGrantsLocationIdT = Aws::String>
66 template<
typename AccessGrantsLocationArnT = Aws::String>
67 void SetAccessGrantsLocationArn(AccessGrantsLocationArnT&& value) { m_accessGrantsLocationArnHasBeenSet =
true; m_accessGrantsLocationArn = std::forward<AccessGrantsLocationArnT>(value); }
68 template<
typename AccessGrantsLocationArnT = Aws::String>
83 template<
typename LocationScopeT = Aws::String>
84 void SetLocationScope(LocationScopeT&& value) { m_locationScopeHasBeenSet =
true; m_locationScope = std::forward<LocationScopeT>(value); }
85 template<
typename LocationScopeT = Aws::String>
96 template<
typename IAMRoleArnT = Aws::String>
97 void SetIAMRoleArn(IAMRoleArnT&& value) { m_iAMRoleArnHasBeenSet =
true; m_iAMRoleArn = std::forward<IAMRoleArnT>(value); }
98 template<
typename IAMRoleArnT = Aws::String>
107 template<
typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
109 template<
typename RequestIdT = Aws::String>
118 template<
typename HostIdT = Aws::String>
119 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet =
true; m_hostId = std::forward<HostIdT>(value); }
120 template<
typename HostIdT = Aws::String>
126 bool m_createdAtHasBeenSet =
false;
129 bool m_accessGrantsLocationIdHasBeenSet =
false;
132 bool m_accessGrantsLocationArnHasBeenSet =
false;
135 bool m_locationScopeHasBeenSet =
false;
138 bool m_iAMRoleArnHasBeenSet =
false;
141 bool m_requestIdHasBeenSet =
false;
144 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