/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ElasticsearchService { namespace Model { /** *

Specifies change details of the domain configuration change.

See * Also:

AWS * API Reference

*/ class ChangeProgressDetails { public: AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails(); AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICSEARCHSERVICE_API ChangeProgressDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline const Aws::String& GetChangeId() const{ return m_changeId; } /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; } /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline void SetChangeId(const Aws::String& value) { m_changeIdHasBeenSet = true; m_changeId = value; } /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline void SetChangeId(Aws::String&& value) { m_changeIdHasBeenSet = true; m_changeId = std::move(value); } /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline void SetChangeId(const char* value) { m_changeIdHasBeenSet = true; m_changeId.assign(value); } /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline ChangeProgressDetails& WithChangeId(const Aws::String& value) { SetChangeId(value); return *this;} /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline ChangeProgressDetails& WithChangeId(Aws::String&& value) { SetChangeId(std::move(value)); return *this;} /** *

The unique change identifier associated with a specific domain configuration * change.

*/ inline ChangeProgressDetails& WithChangeId(const char* value) { SetChangeId(value); return *this;} /** *

Contains an optional message associated with the domain configuration * change.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

Contains an optional message associated with the domain configuration * change.

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

Contains an optional message associated with the domain configuration * change.

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

Contains an optional message associated with the domain configuration * change.

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

Contains an optional message associated with the domain configuration * change.

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

Contains an optional message associated with the domain configuration * change.

*/ inline ChangeProgressDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

Contains an optional message associated with the domain configuration * change.

*/ inline ChangeProgressDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

Contains an optional message associated with the domain configuration * change.

*/ inline ChangeProgressDetails& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_changeId; bool m_changeIdHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws