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

The ARN of the API destination that was updated.

*/ inline const Aws::String& GetApiDestinationArn() const{ return m_apiDestinationArn; } /** *

The ARN of the API destination that was updated.

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

The ARN of the API destination that was updated.

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

The ARN of the API destination that was updated.

*/ inline void SetApiDestinationArn(const char* value) { m_apiDestinationArn.assign(value); } /** *

The ARN of the API destination that was updated.

*/ inline UpdateApiDestinationResult& WithApiDestinationArn(const Aws::String& value) { SetApiDestinationArn(value); return *this;} /** *

The ARN of the API destination that was updated.

*/ inline UpdateApiDestinationResult& WithApiDestinationArn(Aws::String&& value) { SetApiDestinationArn(std::move(value)); return *this;} /** *

The ARN of the API destination that was updated.

*/ inline UpdateApiDestinationResult& WithApiDestinationArn(const char* value) { SetApiDestinationArn(value); return *this;} /** *

The state of the API destination that was updated.

*/ inline const ApiDestinationState& GetApiDestinationState() const{ return m_apiDestinationState; } /** *

The state of the API destination that was updated.

*/ inline void SetApiDestinationState(const ApiDestinationState& value) { m_apiDestinationState = value; } /** *

The state of the API destination that was updated.

*/ inline void SetApiDestinationState(ApiDestinationState&& value) { m_apiDestinationState = std::move(value); } /** *

The state of the API destination that was updated.

*/ inline UpdateApiDestinationResult& WithApiDestinationState(const ApiDestinationState& value) { SetApiDestinationState(value); return *this;} /** *

The state of the API destination that was updated.

*/ inline UpdateApiDestinationResult& WithApiDestinationState(ApiDestinationState&& value) { SetApiDestinationState(std::move(value)); return *this;} /** *

A time stamp for the time that the API destination was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

A time stamp for the time that the API destination was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

A time stamp for the time that the API destination was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

A time stamp for the time that the API destination was created.

*/ inline UpdateApiDestinationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

A time stamp for the time that the API destination was created.

*/ inline UpdateApiDestinationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

A time stamp for the time that the API destination was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

A time stamp for the time that the API destination was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

A time stamp for the time that the API destination was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

A time stamp for the time that the API destination was last modified.

*/ inline UpdateApiDestinationResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

A time stamp for the time that the API destination was last modified.

*/ inline UpdateApiDestinationResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 UpdateApiDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateApiDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateApiDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_apiDestinationArn; ApiDestinationState m_apiDestinationState; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_requestId; }; } // namespace Model } // namespace EventBridge } // namespace Aws