AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMemberResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/macie2/model/RelationshipStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MACIE2_API GetMemberResult();
36
37
39
42 inline const Aws::String& GetAccountId() const{ return m_accountId; }
43 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
44 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
45 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
46 inline GetMemberResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
47 inline GetMemberResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
48 inline GetMemberResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
50
52
55 inline const Aws::String& GetAdministratorAccountId() const{ return m_administratorAccountId; }
56 inline void SetAdministratorAccountId(const Aws::String& value) { m_administratorAccountId = value; }
57 inline void SetAdministratorAccountId(Aws::String&& value) { m_administratorAccountId = std::move(value); }
58 inline void SetAdministratorAccountId(const char* value) { m_administratorAccountId.assign(value); }
60 inline GetMemberResult& WithAdministratorAccountId(Aws::String&& value) { SetAdministratorAccountId(std::move(value)); return *this;}
61 inline GetMemberResult& WithAdministratorAccountId(const char* value) { SetAdministratorAccountId(value); return *this;}
63
65
68 inline const Aws::String& GetArn() const{ return m_arn; }
69 inline void SetArn(const Aws::String& value) { m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arn.assign(value); }
72 inline GetMemberResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline GetMemberResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline GetMemberResult& WithArn(const char* value) { SetArn(value); return *this;}
76
78
82 inline const Aws::String& GetEmail() const{ return m_email; }
83 inline void SetEmail(const Aws::String& value) { m_email = value; }
84 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
85 inline void SetEmail(const char* value) { m_email.assign(value); }
86 inline GetMemberResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
87 inline GetMemberResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
88 inline GetMemberResult& WithEmail(const char* value) { SetEmail(value); return *this;}
90
92
97 inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; }
98 inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAt = value; }
99 inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAt = std::move(value); }
100 inline GetMemberResult& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;}
101 inline GetMemberResult& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;}
103
105
110 inline const Aws::String& GetMasterAccountId() const{ return m_masterAccountId; }
111 inline void SetMasterAccountId(const Aws::String& value) { m_masterAccountId = value; }
112 inline void SetMasterAccountId(Aws::String&& value) { m_masterAccountId = std::move(value); }
113 inline void SetMasterAccountId(const char* value) { m_masterAccountId.assign(value); }
114 inline GetMemberResult& WithMasterAccountId(const Aws::String& value) { SetMasterAccountId(value); return *this;}
115 inline GetMemberResult& WithMasterAccountId(Aws::String&& value) { SetMasterAccountId(std::move(value)); return *this;}
116 inline GetMemberResult& WithMasterAccountId(const char* value) { SetMasterAccountId(value); return *this;}
118
120
124 inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; }
125 inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatus = value; }
126 inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatus = std::move(value); }
128 inline GetMemberResult& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;}
130
132
136 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
137 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
138 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
139 inline GetMemberResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
140 inline GetMemberResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 inline GetMemberResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
142 inline GetMemberResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
143 inline GetMemberResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
144 inline GetMemberResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
145 inline GetMemberResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
146 inline GetMemberResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
147 inline GetMemberResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
149
151
156 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
157 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
158 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
159 inline GetMemberResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
160 inline GetMemberResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
162
164
165 inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
167 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
168 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
169 inline GetMemberResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
170 inline GetMemberResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
171 inline GetMemberResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 private:
174
175 Aws::String m_accountId;
176
177 Aws::String m_administratorAccountId;
178
179 Aws::String m_arn;
180
181 Aws::String m_email;
182
183 Aws::Utils::DateTime m_invitedAt;
184
185 Aws::String m_masterAccountId;
186
187 RelationshipStatus m_relationshipStatus;
188
190
191 Aws::Utils::DateTime m_updatedAt;
192
193 Aws::String m_requestId;
194 };
195
196} // namespace Model
197} // namespace Macie2
198} // namespace Aws
GetMemberResult & WithAccountId(const Aws::String &value)
GetMemberResult & WithInvitedAt(Aws::Utils::DateTime &&value)
void SetEmail(Aws::String &&value)
void SetRequestId(const char *value)
void SetAdministratorAccountId(const Aws::String &value)
GetMemberResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const RelationshipStatus & GetRelationshipStatus() const
const Aws::String & GetMasterAccountId() const
const Aws::Utils::DateTime & GetInvitedAt() const
GetMemberResult & WithAdministratorAccountId(const char *value)
void SetRelationshipStatus(const RelationshipStatus &value)
GetMemberResult & WithAccountId(const char *value)
GetMemberResult & WithRelationshipStatus(RelationshipStatus &&value)
void SetRequestId(const Aws::String &value)
void SetAdministratorAccountId(Aws::String &&value)
void SetMasterAccountId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
GetMemberResult & WithRequestId(Aws::String &&value)
GetMemberResult & WithAccountId(Aws::String &&value)
GetMemberResult & AddTags(const char *key, Aws::String &&value)
void SetInvitedAt(const Aws::Utils::DateTime &value)
GetMemberResult & WithArn(const Aws::String &value)
GetMemberResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetMemberResult & AddTags(Aws::String &&key, Aws::String &&value)
GetMemberResult & AddTags(Aws::String &&key, const char *value)
GetMemberResult & WithEmail(Aws::String &&value)
void SetAccountId(const char *value)
GetMemberResult & WithRelationshipStatus(const RelationshipStatus &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetMemberResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetMemberResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetAccountId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetMemberResult & WithRequestId(const Aws::String &value)
GetMemberResult & WithMasterAccountId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAccountId(const Aws::String &value)
const Aws::String & GetAccountId() const
GetMemberResult & WithAdministratorAccountId(const Aws::String &value)
AWS_MACIE2_API GetMemberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdministratorAccountId(const char *value)
GetMemberResult & WithRequestId(const char *value)
void SetArn(const Aws::String &value)
GetMemberResult & WithEmail(const Aws::String &value)
GetMemberResult & AddTags(const Aws::String &key, const Aws::String &value)
GetMemberResult & AddTags(const Aws::String &key, Aws::String &&value)
GetMemberResult & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MACIE2_API GetMemberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAdministratorAccountId() const
GetMemberResult & WithArn(const char *value)
void SetArn(Aws::String &&value)
void SetMasterAccountId(const char *value)
GetMemberResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetRelationshipStatus(RelationshipStatus &&value)
void SetInvitedAt(Aws::Utils::DateTime &&value)
GetMemberResult & WithEmail(const char *value)
GetMemberResult & WithMasterAccountId(const char *value)
const Aws::String & GetArn() const
const Aws::String & GetEmail() const
GetMemberResult & WithAdministratorAccountId(Aws::String &&value)
GetMemberResult & WithMasterAccountId(Aws::String &&value)
GetMemberResult & WithArn(Aws::String &&value)
void SetMasterAccountId(const Aws::String &value)
GetMemberResult & WithInvitedAt(const Aws::Utils::DateTime &value)
void SetEmail(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue