AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccessGrantsInstanceResult.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 CreateAccessGrantsInstanceResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
46
48
52 inline const Aws::String& GetAccessGrantsInstanceId() const{ return m_accessGrantsInstanceId; }
53 inline void SetAccessGrantsInstanceId(const Aws::String& value) { m_accessGrantsInstanceId = value; }
54 inline void SetAccessGrantsInstanceId(Aws::String&& value) { m_accessGrantsInstanceId = std::move(value); }
55 inline void SetAccessGrantsInstanceId(const char* value) { m_accessGrantsInstanceId.assign(value); }
60
62
71 inline const Aws::String& GetAccessGrantsInstanceArn() const{ return m_accessGrantsInstanceArn; }
72 inline void SetAccessGrantsInstanceArn(const Aws::String& value) { m_accessGrantsInstanceArn = value; }
73 inline void SetAccessGrantsInstanceArn(Aws::String&& value) { m_accessGrantsInstanceArn = std::move(value); }
74 inline void SetAccessGrantsInstanceArn(const char* value) { m_accessGrantsInstanceArn.assign(value); }
79
81
90 inline const Aws::String& GetIdentityCenterInstanceArn() const{ return m_identityCenterInstanceArn; }
91 inline void SetIdentityCenterInstanceArn(const Aws::String& value) { m_identityCenterInstanceArn = value; }
92 inline void SetIdentityCenterInstanceArn(Aws::String&& value) { m_identityCenterInstanceArn = std::move(value); }
93 inline void SetIdentityCenterInstanceArn(const char* value) { m_identityCenterInstanceArn.assign(value); }
98
100
107 inline const Aws::String& GetIdentityCenterApplicationArn() const{ return m_identityCenterApplicationArn; }
108 inline void SetIdentityCenterApplicationArn(const Aws::String& value) { m_identityCenterApplicationArn = value; }
109 inline void SetIdentityCenterApplicationArn(Aws::String&& value) { m_identityCenterApplicationArn = std::move(value); }
110 inline void SetIdentityCenterApplicationArn(const char* value) { m_identityCenterApplicationArn.assign(value); }
115
117
118 inline const Aws::String& GetRequestId() const{ return m_requestId; }
119 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
120 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
121 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
122 inline CreateAccessGrantsInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
123 inline CreateAccessGrantsInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
124 inline CreateAccessGrantsInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
126 private:
127
128 Aws::Utils::DateTime m_createdAt;
129
130 Aws::String m_accessGrantsInstanceId;
131
132 Aws::String m_accessGrantsInstanceArn;
133
134 Aws::String m_identityCenterInstanceArn;
135
136 Aws::String m_identityCenterApplicationArn;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace S3Control
143} // namespace Aws
CreateAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(const Aws::String &value)
CreateAccessGrantsInstanceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceId(const char *value)
CreateAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(const char *value)
AWS_S3CONTROL_API CreateAccessGrantsInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(const char *value)
CreateAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(Aws::String &&value)
CreateAccessGrantsInstanceResult & WithRequestId(const Aws::String &value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceId(Aws::String &&value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(const char *value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceId(const Aws::String &value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(const Aws::String &value)
CreateAccessGrantsInstanceResult & WithAccessGrantsInstanceArn(Aws::String &&value)
AWS_S3CONTROL_API CreateAccessGrantsInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateAccessGrantsInstanceResult & WithRequestId(Aws::String &&value)
CreateAccessGrantsInstanceResult & WithIdentityCenterInstanceArn(const Aws::String &value)
CreateAccessGrantsInstanceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateAccessGrantsInstanceResult & WithIdentityCenterApplicationArn(Aws::String &&value)
CreateAccessGrantsInstanceResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument