/** * 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 Schemas { namespace Model { class StartDiscovererResult { public: AWS_SCHEMAS_API StartDiscovererResult(); AWS_SCHEMAS_API StartDiscovererResult(const Aws::AmazonWebServiceResult& result); AWS_SCHEMAS_API StartDiscovererResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the discoverer.

*/ inline const Aws::String& GetDiscovererId() const{ return m_discovererId; } /** *

The ID of the discoverer.

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

The ID of the discoverer.

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

The ID of the discoverer.

*/ inline void SetDiscovererId(const char* value) { m_discovererId.assign(value); } /** *

The ID of the discoverer.

*/ inline StartDiscovererResult& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;} /** *

The ID of the discoverer.

*/ inline StartDiscovererResult& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;} /** *

The ID of the discoverer.

*/ inline StartDiscovererResult& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;} /** *

The state of the discoverer.

*/ inline const DiscovererState& GetState() const{ return m_state; } /** *

The state of the discoverer.

*/ inline void SetState(const DiscovererState& value) { m_state = value; } /** *

The state of the discoverer.

*/ inline void SetState(DiscovererState&& value) { m_state = std::move(value); } /** *

The state of the discoverer.

*/ inline StartDiscovererResult& WithState(const DiscovererState& value) { SetState(value); return *this;} /** *

The state of the discoverer.

*/ inline StartDiscovererResult& WithState(DiscovererState&& value) { SetState(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 StartDiscovererResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartDiscovererResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartDiscovererResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_discovererId; DiscovererState m_state; Aws::String m_requestId; }; } // namespace Model } // namespace Schemas } // namespace Aws