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

The status of registering your Amazon Web Services account, IAM role, and * Timestream resources.

*/ inline const RegistrationStatus& GetRegisterAccountStatus() const{ return m_registerAccountStatus; } /** *

The status of registering your Amazon Web Services account, IAM role, and * Timestream resources.

*/ inline void SetRegisterAccountStatus(const RegistrationStatus& value) { m_registerAccountStatus = value; } /** *

The status of registering your Amazon Web Services account, IAM role, and * Timestream resources.

*/ inline void SetRegisterAccountStatus(RegistrationStatus&& value) { m_registerAccountStatus = std::move(value); } /** *

The status of registering your Amazon Web Services account, IAM role, and * Timestream resources.

*/ inline RegisterAccountResult& WithRegisterAccountStatus(const RegistrationStatus& value) { SetRegisterAccountStatus(value); return *this;} /** *

The status of registering your Amazon Web Services account, IAM role, and * Timestream resources.

*/ inline RegisterAccountResult& WithRegisterAccountStatus(RegistrationStatus&& value) { SetRegisterAccountStatus(std::move(value)); return *this;} inline const TimestreamResources& GetTimestreamResources() const{ return m_timestreamResources; } inline void SetTimestreamResources(const TimestreamResources& value) { m_timestreamResources = value; } inline void SetTimestreamResources(TimestreamResources&& value) { m_timestreamResources = std::move(value); } inline RegisterAccountResult& WithTimestreamResources(const TimestreamResources& value) { SetTimestreamResources(value); return *this;} inline RegisterAccountResult& WithTimestreamResources(TimestreamResources&& value) { SetTimestreamResources(std::move(value)); return *this;} /** *

The registered IAM resource that allows Amazon Web Services IoT FleetWise to * send data to Amazon Timestream.

*/ inline const IamResources& GetIamResources() const{ return m_iamResources; } /** *

The registered IAM resource that allows Amazon Web Services IoT FleetWise to * send data to Amazon Timestream.

*/ inline void SetIamResources(const IamResources& value) { m_iamResources = value; } /** *

The registered IAM resource that allows Amazon Web Services IoT FleetWise to * send data to Amazon Timestream.

*/ inline void SetIamResources(IamResources&& value) { m_iamResources = std::move(value); } /** *

The registered IAM resource that allows Amazon Web Services IoT FleetWise to * send data to Amazon Timestream.

*/ inline RegisterAccountResult& WithIamResources(const IamResources& value) { SetIamResources(value); return *this;} /** *

The registered IAM resource that allows Amazon Web Services IoT FleetWise to * send data to Amazon Timestream.

*/ inline RegisterAccountResult& WithIamResources(IamResources&& value) { SetIamResources(std::move(value)); return *this;} /** *

The time the account was registered, in seconds since epoch (January 1, 1970 * at midnight UTC time).

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

The time the account was registered, in seconds since epoch (January 1, 1970 * at midnight UTC time).

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

The time the account was registered, in seconds since epoch (January 1, 1970 * at midnight UTC time).

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

The time the account was registered, in seconds since epoch (January 1, 1970 * at midnight UTC time).

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

The time the account was registered, in seconds since epoch (January 1, 1970 * at midnight UTC time).

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

The time this registration was last updated, in seconds since epoch (January * 1, 1970 at midnight UTC time).

*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *

The time this registration was last updated, in seconds since epoch (January * 1, 1970 at midnight UTC time).

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

The time this registration was last updated, in seconds since epoch (January * 1, 1970 at midnight UTC time).

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

The time this registration was last updated, in seconds since epoch (January * 1, 1970 at midnight UTC time).

*/ inline RegisterAccountResult& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *

The time this registration was last updated, in seconds since epoch (January * 1, 1970 at midnight UTC time).

*/ inline RegisterAccountResult& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(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 RegisterAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RegistrationStatus m_registerAccountStatus; TimestreamResources m_timestreamResources; IamResources m_iamResources; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws