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>
67 template<
typename AccessGrantsLocationArnT = Aws::String>
68 void SetAccessGrantsLocationArn(AccessGrantsLocationArnT&& value) { m_accessGrantsLocationArnHasBeenSet =
true; m_accessGrantsLocationArn = std::forward<AccessGrantsLocationArnT>(value); }
69 template<
typename AccessGrantsLocationArnT = Aws::String>
82 template<
typename LocationScopeT = Aws::String>
83 void SetLocationScope(LocationScopeT&& value) { m_locationScopeHasBeenSet =
true; m_locationScope = std::forward<LocationScopeT>(value); }
84 template<
typename LocationScopeT = Aws::String>
95 template<
typename IAMRoleArnT = Aws::String>
96 void SetIAMRoleArn(IAMRoleArnT&& value) { m_iAMRoleArnHasBeenSet =
true; m_iAMRoleArn = std::forward<IAMRoleArnT>(value); }
97 template<
typename IAMRoleArnT = Aws::String>
106 template<
typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
108 template<
typename RequestIdT = Aws::String>
117 template<
typename HostIdT = Aws::String>
118 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet =
true; m_hostId = std::forward<HostIdT>(value); }
119 template<
typename HostIdT = Aws::String>
125 bool m_createdAtHasBeenSet =
false;
128 bool m_accessGrantsLocationIdHasBeenSet =
false;
131 bool m_accessGrantsLocationArnHasBeenSet =
false;
134 bool m_locationScopeHasBeenSet =
false;
137 bool m_iAMRoleArnHasBeenSet =
false;
140 bool m_requestIdHasBeenSet =
false;
143 bool m_hostIdHasBeenSet =
false;
void SetLocationScope(LocationScopeT &&value)
void SetCreatedAt(CreatedAtT &&value)
UpdateAccessGrantsLocationResult & WithIAMRoleArn(IAMRoleArnT &&value)
void SetRequestId(RequestIdT &&value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationArn(AccessGrantsLocationArnT &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetAccessGrantsLocationId() const
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult()=default
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
UpdateAccessGrantsLocationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetHostId() const
UpdateAccessGrantsLocationResult & WithRequestId(RequestIdT &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAccessGrantsLocationArn() const
void SetHostId(HostIdT &&value)
const Aws::String & GetLocationScope() const
UpdateAccessGrantsLocationResult & WithHostId(HostIdT &&value)
void SetAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
UpdateAccessGrantsLocationResult & WithLocationScope(LocationScopeT &&value)
void SetIAMRoleArn(IAMRoleArnT &&value)
void SetAccessGrantsLocationArn(AccessGrantsLocationArnT &&value)
const Aws::String & GetIAMRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument