AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccessGrantsInstanceResult.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 GetAccessGrantsInstanceResult();
34
35
37
40 inline const Aws::String& GetAccessGrantsInstanceArn() const{ return m_accessGrantsInstanceArn; }
41 inline void SetAccessGrantsInstanceArn(const Aws::String& value) { m_accessGrantsInstanceArn = value; }
42 inline void SetAccessGrantsInstanceArn(Aws::String&& value) { m_accessGrantsInstanceArn = std::move(value); }
43 inline void SetAccessGrantsInstanceArn(const char* value) { m_accessGrantsInstanceArn.assign(value); }
48
50
54 inline const Aws::String& GetAccessGrantsInstanceId() const{ return m_accessGrantsInstanceId; }
55 inline void SetAccessGrantsInstanceId(const Aws::String& value) { m_accessGrantsInstanceId = value; }
56 inline void SetAccessGrantsInstanceId(Aws::String&& value) { m_accessGrantsInstanceId = std::move(value); }
57 inline void SetAccessGrantsInstanceId(const char* value) { m_accessGrantsInstanceId.assign(value); }
62
64
73 inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; }
74 inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArn = value; }
75 inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArn = std::move(value); }
76 inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArn.assign(value); }
81
83
90 inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; }
91 inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; }
92 inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); }
93 inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); }
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
107 inline GetAccessGrantsInstanceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(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 GetAccessGrantsInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline GetAccessGrantsInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline GetAccessGrantsInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_accessGrantsInstanceArn;
123
124 Aws::String m_accessGrantsInstanceId;
125
126 Aws::String m_identityCenterInstanceArn;
127
128 Aws::String m_identityCenterApplicationArn;
129
130 Aws::Utils::DateTime m_createdAt;
131
132 Aws::String m_requestId;
133 };
134
135} // namespace Model
136} // namespace S3Control
137} // namespace Aws
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceId(const char *value)
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceId(const Aws::String &value)
GetAccessGrantsInstanceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_S3CONTROL_API GetAccessGrantsInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API GetAccessGrantsInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessGrantsInstanceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetAccessGrantsInstanceResult & WithRequestId(const Aws::String &value)
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceId(Aws::String &&value)
GetAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(const char *value)
GetAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(const Aws::String &value)
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(const Aws::String &value)
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(const char *value)
GetAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(const Aws::String &value)
GetAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(Aws::String &&value)
GetAccessGrantsInstanceResult & WithRequestId(const char *value)
GetAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(Aws::String &&value)
GetAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(const char *value)
GetAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(Aws::String &&value)
GetAccessGrantsInstanceResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument