AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetMembershipResult.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/model/AwsRegion.h>
10#include <aws/security-ir/model/MembershipStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/security-ir/model/CustomerType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/security-ir/model/MembershipAccountsConfigurations.h>
15#include <aws/security-ir/model/IncidentResponder.h>
16#include <aws/security-ir/model/OptInFeature.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SecurityIR
32{
33namespace Model
34{
36 {
37 public:
38 AWS_SECURITYIR_API GetMembershipResult() = default;
41
42
44
48 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
49 template<typename MembershipIdT = Aws::String>
50 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::forward<MembershipIdT>(value); }
51 template<typename MembershipIdT = Aws::String>
52 GetMembershipResult& WithMembershipId(MembershipIdT&& value) { SetMembershipId(std::forward<MembershipIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetAccountId() const { return m_accountId; }
61 template<typename AccountIdT = Aws::String>
62 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
63 template<typename AccountIdT = Aws::String>
64 GetMembershipResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
66
68
72 inline AwsRegion GetRegion() const { return m_region; }
73 inline void SetRegion(AwsRegion value) { m_regionHasBeenSet = true; m_region = value; }
74 inline GetMembershipResult& WithRegion(AwsRegion value) { SetRegion(value); return *this;}
76
78
82 inline const Aws::String& GetMembershipName() const { return m_membershipName; }
83 template<typename MembershipNameT = Aws::String>
84 void SetMembershipName(MembershipNameT&& value) { m_membershipNameHasBeenSet = true; m_membershipName = std::forward<MembershipNameT>(value); }
85 template<typename MembershipNameT = Aws::String>
86 GetMembershipResult& WithMembershipName(MembershipNameT&& value) { SetMembershipName(std::forward<MembershipNameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
94 template<typename MembershipArnT = Aws::String>
95 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::forward<MembershipArnT>(value); }
96 template<typename MembershipArnT = Aws::String>
97 GetMembershipResult& WithMembershipArn(MembershipArnT&& value) { SetMembershipArn(std::forward<MembershipArnT>(value)); return *this;}
99
101
105 inline MembershipStatus GetMembershipStatus() const { return m_membershipStatus; }
106 inline void SetMembershipStatus(MembershipStatus value) { m_membershipStatusHasBeenSet = true; m_membershipStatus = value; }
109
111
115 inline const Aws::Utils::DateTime& GetMembershipActivationTimestamp() const { return m_membershipActivationTimestamp; }
116 template<typename MembershipActivationTimestampT = Aws::Utils::DateTime>
117 void SetMembershipActivationTimestamp(MembershipActivationTimestampT&& value) { m_membershipActivationTimestampHasBeenSet = true; m_membershipActivationTimestamp = std::forward<MembershipActivationTimestampT>(value); }
118 template<typename MembershipActivationTimestampT = Aws::Utils::DateTime>
119 GetMembershipResult& WithMembershipActivationTimestamp(MembershipActivationTimestampT&& value) { SetMembershipActivationTimestamp(std::forward<MembershipActivationTimestampT>(value)); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetMembershipDeactivationTimestamp() const { return m_membershipDeactivationTimestamp; }
128 template<typename MembershipDeactivationTimestampT = Aws::Utils::DateTime>
129 void SetMembershipDeactivationTimestamp(MembershipDeactivationTimestampT&& value) { m_membershipDeactivationTimestampHasBeenSet = true; m_membershipDeactivationTimestamp = std::forward<MembershipDeactivationTimestampT>(value); }
130 template<typename MembershipDeactivationTimestampT = Aws::Utils::DateTime>
131 GetMembershipResult& WithMembershipDeactivationTimestamp(MembershipDeactivationTimestampT&& value) { SetMembershipDeactivationTimestamp(std::forward<MembershipDeactivationTimestampT>(value)); return *this;}
133
135
139 inline CustomerType GetCustomerType() const { return m_customerType; }
140 inline void SetCustomerType(CustomerType value) { m_customerTypeHasBeenSet = true; m_customerType = value; }
141 inline GetMembershipResult& WithCustomerType(CustomerType value) { SetCustomerType(value); return *this;}
143
145
149 inline long long GetNumberOfAccountsCovered() const { return m_numberOfAccountsCovered; }
150 inline void SetNumberOfAccountsCovered(long long value) { m_numberOfAccountsCoveredHasBeenSet = true; m_numberOfAccountsCovered = value; }
151 inline GetMembershipResult& WithNumberOfAccountsCovered(long long value) { SetNumberOfAccountsCovered(value); return *this;}
153
155
159 inline const Aws::Vector<IncidentResponder>& GetIncidentResponseTeam() const { return m_incidentResponseTeam; }
160 template<typename IncidentResponseTeamT = Aws::Vector<IncidentResponder>>
161 void SetIncidentResponseTeam(IncidentResponseTeamT&& value) { m_incidentResponseTeamHasBeenSet = true; m_incidentResponseTeam = std::forward<IncidentResponseTeamT>(value); }
162 template<typename IncidentResponseTeamT = Aws::Vector<IncidentResponder>>
163 GetMembershipResult& WithIncidentResponseTeam(IncidentResponseTeamT&& value) { SetIncidentResponseTeam(std::forward<IncidentResponseTeamT>(value)); return *this;}
164 template<typename IncidentResponseTeamT = IncidentResponder>
165 GetMembershipResult& AddIncidentResponseTeam(IncidentResponseTeamT&& value) { m_incidentResponseTeamHasBeenSet = true; m_incidentResponseTeam.emplace_back(std::forward<IncidentResponseTeamT>(value)); return *this; }
167
169
173 inline const Aws::Vector<OptInFeature>& GetOptInFeatures() const { return m_optInFeatures; }
174 template<typename OptInFeaturesT = Aws::Vector<OptInFeature>>
175 void SetOptInFeatures(OptInFeaturesT&& value) { m_optInFeaturesHasBeenSet = true; m_optInFeatures = std::forward<OptInFeaturesT>(value); }
176 template<typename OptInFeaturesT = Aws::Vector<OptInFeature>>
177 GetMembershipResult& WithOptInFeatures(OptInFeaturesT&& value) { SetOptInFeatures(std::forward<OptInFeaturesT>(value)); return *this;}
178 template<typename OptInFeaturesT = OptInFeature>
179 GetMembershipResult& AddOptInFeatures(OptInFeaturesT&& value) { m_optInFeaturesHasBeenSet = true; m_optInFeatures.emplace_back(std::forward<OptInFeaturesT>(value)); return *this; }
181
183
191 inline const MembershipAccountsConfigurations& GetMembershipAccountsConfigurations() const { return m_membershipAccountsConfigurations; }
192 template<typename MembershipAccountsConfigurationsT = MembershipAccountsConfigurations>
193 void SetMembershipAccountsConfigurations(MembershipAccountsConfigurationsT&& value) { m_membershipAccountsConfigurationsHasBeenSet = true; m_membershipAccountsConfigurations = std::forward<MembershipAccountsConfigurationsT>(value); }
194 template<typename MembershipAccountsConfigurationsT = MembershipAccountsConfigurations>
195 GetMembershipResult& WithMembershipAccountsConfigurations(MembershipAccountsConfigurationsT&& value) { SetMembershipAccountsConfigurations(std::forward<MembershipAccountsConfigurationsT>(value)); return *this;}
197
199
200 inline const Aws::String& GetRequestId() const { return m_requestId; }
201 template<typename RequestIdT = Aws::String>
202 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
203 template<typename RequestIdT = Aws::String>
204 GetMembershipResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
206 private:
207
208 Aws::String m_membershipId;
209 bool m_membershipIdHasBeenSet = false;
210
211 Aws::String m_accountId;
212 bool m_accountIdHasBeenSet = false;
213
215 bool m_regionHasBeenSet = false;
216
217 Aws::String m_membershipName;
218 bool m_membershipNameHasBeenSet = false;
219
220 Aws::String m_membershipArn;
221 bool m_membershipArnHasBeenSet = false;
222
224 bool m_membershipStatusHasBeenSet = false;
225
226 Aws::Utils::DateTime m_membershipActivationTimestamp{};
227 bool m_membershipActivationTimestampHasBeenSet = false;
228
229 Aws::Utils::DateTime m_membershipDeactivationTimestamp{};
230 bool m_membershipDeactivationTimestampHasBeenSet = false;
231
232 CustomerType m_customerType{CustomerType::NOT_SET};
233 bool m_customerTypeHasBeenSet = false;
234
235 long long m_numberOfAccountsCovered{0};
236 bool m_numberOfAccountsCoveredHasBeenSet = false;
237
238 Aws::Vector<IncidentResponder> m_incidentResponseTeam;
239 bool m_incidentResponseTeamHasBeenSet = false;
240
241 Aws::Vector<OptInFeature> m_optInFeatures;
242 bool m_optInFeaturesHasBeenSet = false;
243
244 MembershipAccountsConfigurations m_membershipAccountsConfigurations;
245 bool m_membershipAccountsConfigurationsHasBeenSet = false;
246
247 Aws::String m_requestId;
248 bool m_requestIdHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace SecurityIR
253} // namespace Aws
GetMembershipResult & WithMembershipId(MembershipIdT &&value)
GetMembershipResult & WithRegion(AwsRegion value)
void SetMembershipDeactivationTimestamp(MembershipDeactivationTimestampT &&value)
const Aws::Vector< IncidentResponder > & GetIncidentResponseTeam() const
const MembershipAccountsConfigurations & GetMembershipAccountsConfigurations() const
GetMembershipResult & WithMembershipDeactivationTimestamp(MembershipDeactivationTimestampT &&value)
GetMembershipResult & WithCustomerType(CustomerType value)
GetMembershipResult & AddOptInFeatures(OptInFeaturesT &&value)
GetMembershipResult & WithOptInFeatures(OptInFeaturesT &&value)
AWS_SECURITYIR_API GetMembershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetMembershipDeactivationTimestamp() const
GetMembershipResult & WithMembershipStatus(MembershipStatus value)
AWS_SECURITYIR_API GetMembershipResult()=default
GetMembershipResult & WithMembershipName(MembershipNameT &&value)
GetMembershipResult & WithNumberOfAccountsCovered(long long value)
GetMembershipResult & WithMembershipArn(MembershipArnT &&value)
GetMembershipResult & WithMembershipActivationTimestamp(MembershipActivationTimestampT &&value)
GetMembershipResult & WithMembershipAccountsConfigurations(MembershipAccountsConfigurationsT &&value)
GetMembershipResult & AddIncidentResponseTeam(IncidentResponseTeamT &&value)
AWS_SECURITYIR_API GetMembershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMembershipResult & WithIncidentResponseTeam(IncidentResponseTeamT &&value)
const Aws::Utils::DateTime & GetMembershipActivationTimestamp() const
void SetMembershipName(MembershipNameT &&value)
const Aws::Vector< OptInFeature > & GetOptInFeatures() const
GetMembershipResult & WithRequestId(RequestIdT &&value)
void SetIncidentResponseTeam(IncidentResponseTeamT &&value)
GetMembershipResult & WithAccountId(AccountIdT &&value)
void SetMembershipActivationTimestamp(MembershipActivationTimestampT &&value)
void SetMembershipAccountsConfigurations(MembershipAccountsConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue