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

The output from the GetRegistrationCode operation.

See Also:

* AWS * API Reference

*/ class AWS_IOT_API GetRegistrationCodeResult { public: GetRegistrationCodeResult(); GetRegistrationCodeResult(const Aws::AmazonWebServiceResult& result); GetRegistrationCodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The CA certificate registration code.

*/ inline const Aws::String& GetRegistrationCode() const{ return m_registrationCode; } /** *

The CA certificate registration code.

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

The CA certificate registration code.

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

The CA certificate registration code.

*/ inline void SetRegistrationCode(const char* value) { m_registrationCode.assign(value); } /** *

The CA certificate registration code.

*/ inline GetRegistrationCodeResult& WithRegistrationCode(const Aws::String& value) { SetRegistrationCode(value); return *this;} /** *

The CA certificate registration code.

*/ inline GetRegistrationCodeResult& WithRegistrationCode(Aws::String&& value) { SetRegistrationCode(std::move(value)); return *this;} /** *

The CA certificate registration code.

*/ inline GetRegistrationCodeResult& WithRegistrationCode(const char* value) { SetRegistrationCode(value); return *this;} private: Aws::String m_registrationCode; }; } // namespace Model } // namespace IoT } // namespace Aws