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

Contains the details of the primary contact information associated with an * Amazon Web Services account.

*/ inline const ContactInformation& GetContactInformation() const{ return m_contactInformation; } /** *

Contains the details of the primary contact information associated with an * Amazon Web Services account.

*/ inline void SetContactInformation(const ContactInformation& value) { m_contactInformation = value; } /** *

Contains the details of the primary contact information associated with an * Amazon Web Services account.

*/ inline void SetContactInformation(ContactInformation&& value) { m_contactInformation = std::move(value); } /** *

Contains the details of the primary contact information associated with an * Amazon Web Services account.

*/ inline GetContactInformationResult& WithContactInformation(const ContactInformation& value) { SetContactInformation(value); return *this;} /** *

Contains the details of the primary contact information associated with an * Amazon Web Services account.

*/ inline GetContactInformationResult& WithContactInformation(ContactInformation&& value) { SetContactInformation(std::move(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 GetContactInformationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetContactInformationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetContactInformationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ContactInformation m_contactInformation; Aws::String m_requestId; }; } // namespace Model } // namespace Account } // namespace Aws