AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAccessGrantsLocationResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace S3Control
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3CONTROL_API UpdateAccessGrantsLocationResult() = default;
34
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
44 UpdateAccessGrantsLocationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
46
48
54 inline const Aws::String& GetAccessGrantsLocationId() const { return m_accessGrantsLocationId; }
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>
58 UpdateAccessGrantsLocationResult& WithAccessGrantsLocationId(AccessGrantsLocationIdT&& value) { SetAccessGrantsLocationId(std::forward<AccessGrantsLocationIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetAccessGrantsLocationArn() const { return m_accessGrantsLocationArn; }
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>
70 UpdateAccessGrantsLocationResult& WithAccessGrantsLocationArn(AccessGrantsLocationArnT&& value) { SetAccessGrantsLocationArn(std::forward<AccessGrantsLocationArnT>(value)); return *this;}
72
74
81 inline const Aws::String& GetLocationScope() const { return m_locationScope; }
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>
85 UpdateAccessGrantsLocationResult& WithLocationScope(LocationScopeT&& value) { SetLocationScope(std::forward<LocationScopeT>(value)); return *this;}
87
89
94 inline const Aws::String& GetIAMRoleArn() const { return m_iAMRoleArn; }
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>
98 UpdateAccessGrantsLocationResult& WithIAMRoleArn(IAMRoleArnT&& value) { SetIAMRoleArn(std::forward<IAMRoleArnT>(value)); return *this;}
100
102
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
109 UpdateAccessGrantsLocationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
111
113
116 inline const Aws::String& GetHostId() const { return m_hostId; }
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>
120 UpdateAccessGrantsLocationResult& WithHostId(HostIdT&& value) { SetHostId(std::forward<HostIdT>(value)); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_createdAt{};
125 bool m_createdAtHasBeenSet = false;
126
127 Aws::String m_accessGrantsLocationId;
128 bool m_accessGrantsLocationIdHasBeenSet = false;
129
130 Aws::String m_accessGrantsLocationArn;
131 bool m_accessGrantsLocationArnHasBeenSet = false;
132
133 Aws::String m_locationScope;
134 bool m_locationScopeHasBeenSet = false;
135
136 Aws::String m_iAMRoleArn;
137 bool m_iAMRoleArnHasBeenSet = false;
138
139 Aws::String m_requestId;
140 bool m_requestIdHasBeenSet = false;
141
142 Aws::String m_hostId;
143 bool m_hostIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace S3Control
148} // 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