/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53RecoveryReadiness { namespace Model { class CreateCrossAccountAuthorizationResult { public: AWS_ROUTE53RECOVERYREADINESS_API CreateCrossAccountAuthorizationResult(); AWS_ROUTE53RECOVERYREADINESS_API CreateCrossAccountAuthorizationResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYREADINESS_API CreateCrossAccountAuthorizationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The cross-account authorization.

*/ inline const Aws::String& GetCrossAccountAuthorization() const{ return m_crossAccountAuthorization; } /** *

The cross-account authorization.

*/ inline void SetCrossAccountAuthorization(const Aws::String& value) { m_crossAccountAuthorization = value; } /** *

The cross-account authorization.

*/ inline void SetCrossAccountAuthorization(Aws::String&& value) { m_crossAccountAuthorization = std::move(value); } /** *

The cross-account authorization.

*/ inline void SetCrossAccountAuthorization(const char* value) { m_crossAccountAuthorization.assign(value); } /** *

The cross-account authorization.

*/ inline CreateCrossAccountAuthorizationResult& WithCrossAccountAuthorization(const Aws::String& value) { SetCrossAccountAuthorization(value); return *this;} /** *

The cross-account authorization.

*/ inline CreateCrossAccountAuthorizationResult& WithCrossAccountAuthorization(Aws::String&& value) { SetCrossAccountAuthorization(std::move(value)); return *this;} /** *

The cross-account authorization.

*/ inline CreateCrossAccountAuthorizationResult& WithCrossAccountAuthorization(const char* value) { SetCrossAccountAuthorization(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateCrossAccountAuthorizationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateCrossAccountAuthorizationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateCrossAccountAuthorizationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_crossAccountAuthorization; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws