AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
36
37
39
42 inline const Aws::String& GetAccountId() const { return m_accountId; }
43 template<typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
45 template<typename AccountIdT = Aws::String>
46 GetMemberResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetAdministratorAccountId() const { return m_administratorAccountId; }
54 template<typename AdministratorAccountIdT = Aws::String>
55 void SetAdministratorAccountId(AdministratorAccountIdT&& value) { m_administratorAccountIdHasBeenSet = true; m_administratorAccountId = std::forward<AdministratorAccountIdT>(value); }
56 template<typename AdministratorAccountIdT = Aws::String>
57 GetMemberResult& WithAdministratorAccountId(AdministratorAccountIdT&& value) { SetAdministratorAccountId(std::forward<AdministratorAccountIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 template<typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 GetMemberResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
76 inline const Aws::String& GetEmail() const { return m_email; }
77 template<typename EmailT = Aws::String>
78 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
79 template<typename EmailT = Aws::String>
80 GetMemberResult& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
82
84
89 inline const Aws::Utils::DateTime& GetInvitedAt() const { return m_invitedAt; }
90 template<typename InvitedAtT = Aws::Utils::DateTime>
91 void SetInvitedAt(InvitedAtT&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::forward<InvitedAtT>(value); }
92 template<typename InvitedAtT = Aws::Utils::DateTime>
93 GetMemberResult& WithInvitedAt(InvitedAtT&& value) { SetInvitedAt(std::forward<InvitedAtT>(value)); return *this;}
95
97
102 inline const Aws::String& GetMasterAccountId() const { return m_masterAccountId; }
103 template<typename MasterAccountIdT = Aws::String>
104 void SetMasterAccountId(MasterAccountIdT&& value) { m_masterAccountIdHasBeenSet = true; m_masterAccountId = std::forward<MasterAccountIdT>(value); }
105 template<typename MasterAccountIdT = Aws::String>
106 GetMemberResult& WithMasterAccountId(MasterAccountIdT&& value) { SetMasterAccountId(std::forward<MasterAccountIdT>(value)); return *this;}
108
110
114 inline RelationshipStatus GetRelationshipStatus() const { return m_relationshipStatus; }
115 inline void SetRelationshipStatus(RelationshipStatus value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; }
118
120
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 GetMemberResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
129 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 GetMemberResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
132 }
134
136
141 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
142 template<typename UpdatedAtT = Aws::Utils::DateTime>
143 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
144 template<typename UpdatedAtT = Aws::Utils::DateTime>
145 GetMemberResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template<typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
153 template<typename RequestIdT = Aws::String>
154 GetMemberResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
156 private:
157
158 Aws::String m_accountId;
159 bool m_accountIdHasBeenSet = false;
160
161 Aws::String m_administratorAccountId;
162 bool m_administratorAccountIdHasBeenSet = false;
163
164 Aws::String m_arn;
165 bool m_arnHasBeenSet = false;
166
167 Aws::String m_email;
168 bool m_emailHasBeenSet = false;
169
170 Aws::Utils::DateTime m_invitedAt{};
171 bool m_invitedAtHasBeenSet = false;
172
173 Aws::String m_masterAccountId;
174 bool m_masterAccountIdHasBeenSet = false;
175
177 bool m_relationshipStatusHasBeenSet = false;
178
180 bool m_tagsHasBeenSet = false;
181
182 Aws::Utils::DateTime m_updatedAt{};
183 bool m_updatedAtHasBeenSet = false;
184
185 Aws::String m_requestId;
186 bool m_requestIdHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace Macie2
191} // namespace Aws
GetMemberResult & WithAccountId(AccountIdT &&value)
AWS_MACIE2_API GetMemberResult()=default
const Aws::String & GetMasterAccountId() const
const Aws::Utils::DateTime & GetInvitedAt() const
GetMemberResult & WithRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetMemberResult & WithArn(ArnT &&value)
GetMemberResult & WithAdministratorAccountId(AdministratorAccountIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAccountId() const
GetMemberResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_MACIE2_API GetMemberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAccountId(AccountIdT &&value)
GetMemberResult & WithEmail(EmailT &&value)
GetMemberResult & WithRelationshipStatus(RelationshipStatus value)
void SetInvitedAt(InvitedAtT &&value)
GetMemberResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetAdministratorAccountId(AdministratorAccountIdT &&value)
AWS_MACIE2_API GetMemberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMemberResult & WithTags(TagsT &&value)
const Aws::String & GetAdministratorAccountId() const
GetMemberResult & WithMasterAccountId(MasterAccountIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetEmail() const
void SetRequestId(RequestIdT &&value)
void SetMasterAccountId(MasterAccountIdT &&value)
RelationshipStatus GetRelationshipStatus() const
void SetRelationshipStatus(RelationshipStatus value)
GetMemberResult & WithInvitedAt(InvitedAtT &&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