AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccessGrantsLocationResult.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 CreateAccessGrantsLocationResult& 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
67 inline const Aws::String& GetAccessGrantsLocationArn() const{ return m_accessGrantsLocationArn; }
68 inline void SetAccessGrantsLocationArn(const Aws::String& value) { m_accessGrantsLocationArn = value; }
69 inline void SetAccessGrantsLocationArn(Aws::String&& value) { m_accessGrantsLocationArn = std::move(value); }
70 inline void SetAccessGrantsLocationArn(const char* value) { m_accessGrantsLocationArn.assign(value); }
75
77
86 inline const Aws::String& GetLocationScope() const{ return m_locationScope; }
87 inline void SetLocationScope(const Aws::String& value) { m_locationScope = value; }
88 inline void SetLocationScope(Aws::String&& value) { m_locationScope = std::move(value); }
89 inline void SetLocationScope(const char* value) { m_locationScope.assign(value); }
91 inline CreateAccessGrantsLocationResult& WithLocationScope(Aws::String&& value) { SetLocationScope(std::move(value)); return *this;}
92 inline CreateAccessGrantsLocationResult& WithLocationScope(const char* value) { SetLocationScope(value); return *this;}
94
96
101 inline const Aws::String& GetIAMRoleArn() const{ return m_iAMRoleArn; }
102 inline void SetIAMRoleArn(const Aws::String& value) { m_iAMRoleArn = value; }
103 inline void SetIAMRoleArn(Aws::String&& value) { m_iAMRoleArn = std::move(value); }
104 inline void SetIAMRoleArn(const char* value) { m_iAMRoleArn.assign(value); }
105 inline CreateAccessGrantsLocationResult& WithIAMRoleArn(const Aws::String& value) { SetIAMRoleArn(value); return *this;}
106 inline CreateAccessGrantsLocationResult& WithIAMRoleArn(Aws::String&& value) { SetIAMRoleArn(std::move(value)); return *this;}
107 inline CreateAccessGrantsLocationResult& WithIAMRoleArn(const char* value) { SetIAMRoleArn(value); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline CreateAccessGrantsLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline CreateAccessGrantsLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline CreateAccessGrantsLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_createdAt;
123
124 Aws::String m_accessGrantsLocationId;
125
126 Aws::String m_accessGrantsLocationArn;
127
128 Aws::String m_locationScope;
129
130 Aws::String m_iAMRoleArn;
131
132 Aws::String m_requestId;
133 };
134
135} // namespace Model
136} // namespace S3Control
137} // namespace Aws
CreateAccessGrantsLocationResult & WithAccessGrantsLocationId(const char *value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationArn(Aws::String &&value)
CreateAccessGrantsLocationResult & WithIAMRoleArn(Aws::String &&value)
CreateAccessGrantsLocationResult & WithLocationScope(const char *value)
CreateAccessGrantsLocationResult & WithLocationScope(const Aws::String &value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationArn(const Aws::String &value)
CreateAccessGrantsLocationResult & WithIAMRoleArn(const Aws::String &value)
CreateAccessGrantsLocationResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateAccessGrantsLocationResult & WithRequestId(const Aws::String &value)
CreateAccessGrantsLocationResult & WithLocationScope(Aws::String &&value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationId(Aws::String &&value)
AWS_S3CONTROL_API CreateAccessGrantsLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateAccessGrantsLocationResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateAccessGrantsLocationResult & WithRequestId(const char *value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationId(const Aws::String &value)
CreateAccessGrantsLocationResult & WithAccessGrantsLocationArn(const char *value)
CreateAccessGrantsLocationResult & WithIAMRoleArn(const char *value)
CreateAccessGrantsLocationResult & WithRequestId(Aws::String &&value)
AWS_S3CONTROL_API CreateAccessGrantsLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument