AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
34
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
41 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
42 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
44 inline UpdateAccessGrantsLocationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
46
48
54 inline const Aws::String& GetAccessGrantsLocationId() const{ return m_accessGrantsLocationId; }
55 inline void SetAccessGrantsLocationId(const Aws::String& value) { m_accessGrantsLocationId = value; }
56 inline void SetAccessGrantsLocationId(Aws::String&& value) { m_accessGrantsLocationId = std::move(value); }
57 inline void SetAccessGrantsLocationId(const char* value) { m_accessGrantsLocationId.assign(value); }
62
64
68 inline const Aws::String& GetAccessGrantsLocationArn() const{ return m_accessGrantsLocationArn; }
69 inline void SetAccessGrantsLocationArn(const Aws::String& value) { m_accessGrantsLocationArn = value; }
70 inline void SetAccessGrantsLocationArn(Aws::String&& value) { m_accessGrantsLocationArn = std::move(value); }
71 inline void SetAccessGrantsLocationArn(const char* value) { m_accessGrantsLocationArn.assign(value); }
76
78
85 inline const Aws::String& GetLocationScope() const{ return m_locationScope; }
86 inline void SetLocationScope(const Aws::String& value) { m_locationScope = value; }
87 inline void SetLocationScope(Aws::String&& value) { m_locationScope = std::move(value); }
88 inline void SetLocationScope(const char* value) { m_locationScope.assign(value); }
90 inline UpdateAccessGrantsLocationResult& WithLocationScope(Aws::String&& value) { SetLocationScope(std::move(value)); return *this;}
91 inline UpdateAccessGrantsLocationResult& WithLocationScope(const char* value) { SetLocationScope(value); return *this;}
93
95
100 inline const Aws::String& GetIAMRoleArn() const{ return m_iAMRoleArn; }
101 inline void SetIAMRoleArn(const Aws::String& value) { m_iAMRoleArn = value; }
102 inline void SetIAMRoleArn(Aws::String&& value) { m_iAMRoleArn = std::move(value); }
103 inline void SetIAMRoleArn(const char* value) { m_iAMRoleArn.assign(value); }
104 inline UpdateAccessGrantsLocationResult& WithIAMRoleArn(const Aws::String& value) { SetIAMRoleArn(value); return *this;}
105 inline UpdateAccessGrantsLocationResult& WithIAMRoleArn(Aws::String&& value) { SetIAMRoleArn(std::move(value)); return *this;}
106 inline UpdateAccessGrantsLocationResult& WithIAMRoleArn(const char* value) { SetIAMRoleArn(value); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const{ return m_requestId; }
112 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
113 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
114 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
115 inline UpdateAccessGrantsLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
116 inline UpdateAccessGrantsLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
117 inline UpdateAccessGrantsLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
119 private:
120
121 Aws::Utils::DateTime m_createdAt;
122
123 Aws::String m_accessGrantsLocationId;
124
125 Aws::String m_accessGrantsLocationArn;
126
127 Aws::String m_locationScope;
128
129 Aws::String m_iAMRoleArn;
130
131 Aws::String m_requestId;
132 };
133
134} // namespace Model
135} // namespace S3Control
136} // namespace Aws
UpdateAccessGrantsLocationResult & WithRequestId(const char *value)
UpdateAccessGrantsLocationResult & WithIAMRoleArn(const Aws::String &value)
UpdateAccessGrantsLocationResult & WithRequestId(Aws::String &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateAccessGrantsLocationResult & WithIAMRoleArn(const char *value)
UpdateAccessGrantsLocationResult & WithLocationScope(const Aws::String &value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationArn(const char *value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationArn(Aws::String &&value)
UpdateAccessGrantsLocationResult & WithIAMRoleArn(Aws::String &&value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationId(const char *value)
UpdateAccessGrantsLocationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationArn(const Aws::String &value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationId(Aws::String &&value)
AWS_S3CONTROL_API UpdateAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdateAccessGrantsLocationResult & WithRequestId(const Aws::String &value)
UpdateAccessGrantsLocationResult & WithAccessGrantsLocationId(const Aws::String &value)
UpdateAccessGrantsLocationResult & WithLocationScope(Aws::String &&value)
UpdateAccessGrantsLocationResult & WithLocationScope(const char *value)
UpdateAccessGrantsLocationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument