7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/InvitationStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/crt/cbor/Cbor.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename EnvironmentArnT = Aws::String>
40 m_environmentArnHasBeenSet =
true;
41 m_environmentArn = std::forward<EnvironmentArnT>(value);
43 template <
typename EnvironmentArnT = Aws::String>
55 template <
typename InviteeAccountIdT = Aws::String>
57 m_inviteeAccountIdHasBeenSet =
true;
58 m_inviteeAccountId = std::forward<InviteeAccountIdT>(value);
60 template <
typename InviteeAccountIdT = Aws::String>
73 m_statusHasBeenSet =
true;
88 template <
typename RoleArnT = Aws::String>
90 m_roleArnHasBeenSet =
true;
91 m_roleArn = std::forward<RoleArnT>(value);
93 template <
typename RoleArnT = Aws::String>
107 template <
typename CreatedAtT = Aws::Utils::DateTime>
109 m_createdAtHasBeenSet =
true;
110 m_createdAt = std::forward<CreatedAtT>(value);
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
124 template <
typename ExpiresAtT = Aws::Utils::DateTime>
126 m_expiresAtHasBeenSet =
true;
127 m_expiresAt = std::forward<ExpiresAtT>(value);
129 template <
typename ExpiresAtT = Aws::Utils::DateTime>
142 template <
typename UpdatedAtT = Aws::Utils::DateTime>
144 m_updatedAtHasBeenSet =
true;
145 m_updatedAt = std::forward<UpdatedAtT>(value);
147 template <
typename UpdatedAtT = Aws::Utils::DateTime>
157 template <
typename RequestIdT = Aws::String>
159 m_requestIdHasBeenSet =
true;
160 m_requestId = std::forward<RequestIdT>(value);
162 template <
typename RequestIdT = Aws::String>
187 bool m_environmentArnHasBeenSet =
false;
188 bool m_inviteeAccountIdHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
190 bool m_roleArnHasBeenSet =
false;
191 bool m_createdAtHasBeenSet =
false;
192 bool m_expiresAtHasBeenSet =
false;
193 bool m_updatedAtHasBeenSet =
false;
194 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
GetInvitationResult & WithRoleArn(RoleArnT &&value)
void SetExpiresAt(ExpiresAtT &&value)
GetInvitationResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_ASSURANCE_API GetInvitationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_ASSURANCE_API GetInvitationResult()=default
void SetEnvironmentArn(EnvironmentArnT &&value)
GetInvitationResult & WithEnvironmentArn(EnvironmentArnT &&value)
GetInvitationResult & WithRequestId(RequestIdT &&value)
AWS_ASSURANCE_API GetInvitationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
InvitationStatus GetStatus() const
const Aws::String & GetInviteeAccountId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetInvitationResult & WithInviteeAccountId(InviteeAccountIdT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetInviteeAccountId(InviteeAccountIdT &&value)
const Aws::String & GetRoleArn() const
GetInvitationResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetRequestId() const
GetInvitationResult & WithStatus(InvitationStatus value)
void SetRequestId(RequestIdT &&value)
void SetStatus(InvitationStatus value)
const Aws::String & GetEnvironmentArn() const
void SetRoleArn(RoleArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetInvitationResult & WithExpiresAt(ExpiresAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String