/** * 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 GetAlternateContactResult { public: AWS_ACCOUNT_API GetAlternateContactResult(); AWS_ACCOUNT_API GetAlternateContactResult(const Aws::AmazonWebServiceResult& result); AWS_ACCOUNT_API GetAlternateContactResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure that contains the details for the specified alternate * contact.

*/ inline const AlternateContact& GetAlternateContact() const{ return m_alternateContact; } /** *

A structure that contains the details for the specified alternate * contact.

*/ inline void SetAlternateContact(const AlternateContact& value) { m_alternateContact = value; } /** *

A structure that contains the details for the specified alternate * contact.

*/ inline void SetAlternateContact(AlternateContact&& value) { m_alternateContact = std::move(value); } /** *

A structure that contains the details for the specified alternate * contact.

*/ inline GetAlternateContactResult& WithAlternateContact(const AlternateContact& value) { SetAlternateContact(value); return *this;} /** *

A structure that contains the details for the specified alternate * contact.

*/ inline GetAlternateContactResult& WithAlternateContact(AlternateContact&& value) { SetAlternateContact(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 GetAlternateContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAlternateContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAlternateContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AlternateContact m_alternateContact; Aws::String m_requestId; }; } // namespace Model } // namespace Account } // namespace Aws