/** * 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 GetRegisterAccountStatusResult { public: AWS_IOTFLEETWISE_API GetRegisterAccountStatusResult(); AWS_IOTFLEETWISE_API GetRegisterAccountStatusResult(const Aws::AmazonWebServiceResult& result); AWS_IOTFLEETWISE_API GetRegisterAccountStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID of the Amazon Web Services account, provided at account * creation.

*/ inline const Aws::String& GetCustomerAccountId() const{ return m_customerAccountId; } /** *

The unique ID of the Amazon Web Services account, provided at account * creation.

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

The unique ID of the Amazon Web Services account, provided at account * creation.

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

The unique ID of the Amazon Web Services account, provided at account * creation.

*/ inline void SetCustomerAccountId(const char* value) { m_customerAccountId.assign(value); } /** *

The unique ID of the Amazon Web Services account, provided at account * creation.

*/ inline GetRegisterAccountStatusResult& WithCustomerAccountId(const Aws::String& value) { SetCustomerAccountId(value); return *this;} /** *

The unique ID of the Amazon Web Services account, provided at account * creation.

*/ inline GetRegisterAccountStatusResult& WithCustomerAccountId(Aws::String&& value) { SetCustomerAccountId(std::move(value)); return *this;} /** *

The unique ID of the Amazon Web Services account, provided at account * creation.

*/ inline GetRegisterAccountStatusResult& WithCustomerAccountId(const char* value) { SetCustomerAccountId(value); return *this;} /** *

The status of registering your account and resources. The status can be one * of:

  • REGISTRATION_SUCCESS - The Amazon Web * Services resource is successfully registered.

  • * REGISTRATION_PENDING - Amazon Web Services IoT FleetWise is * processing the registration request. This process takes approximately five * minutes to complete.

  • REGISTRATION_FAILURE - * Amazon Web Services IoT FleetWise can't register the AWS resource. Try again * later.

*/ inline const RegistrationStatus& GetAccountStatus() const{ return m_accountStatus; } /** *

The status of registering your account and resources. The status can be one * of:

  • REGISTRATION_SUCCESS - The Amazon Web * Services resource is successfully registered.

  • * REGISTRATION_PENDING - Amazon Web Services IoT FleetWise is * processing the registration request. This process takes approximately five * minutes to complete.

  • REGISTRATION_FAILURE - * Amazon Web Services IoT FleetWise can't register the AWS resource. Try again * later.

*/ inline void SetAccountStatus(const RegistrationStatus& value) { m_accountStatus = value; } /** *

The status of registering your account and resources. The status can be one * of:

  • REGISTRATION_SUCCESS - The Amazon Web * Services resource is successfully registered.

  • * REGISTRATION_PENDING - Amazon Web Services IoT FleetWise is * processing the registration request. This process takes approximately five * minutes to complete.

  • REGISTRATION_FAILURE - * Amazon Web Services IoT FleetWise can't register the AWS resource. Try again * later.

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

The status of registering your account and resources. The status can be one * of:

  • REGISTRATION_SUCCESS - The Amazon Web * Services resource is successfully registered.

  • * REGISTRATION_PENDING - Amazon Web Services IoT FleetWise is * processing the registration request. This process takes approximately five * minutes to complete.

  • REGISTRATION_FAILURE - * Amazon Web Services IoT FleetWise can't register the AWS resource. Try again * later.

*/ inline GetRegisterAccountStatusResult& WithAccountStatus(const RegistrationStatus& value) { SetAccountStatus(value); return *this;} /** *

The status of registering your account and resources. The status can be one * of:

  • REGISTRATION_SUCCESS - The Amazon Web * Services resource is successfully registered.

  • * REGISTRATION_PENDING - Amazon Web Services IoT FleetWise is * processing the registration request. This process takes approximately five * minutes to complete.

  • REGISTRATION_FAILURE - * Amazon Web Services IoT FleetWise can't register the AWS resource. Try again * later.

*/ inline GetRegisterAccountStatusResult& WithAccountStatus(RegistrationStatus&& value) { SetAccountStatus(std::move(value)); return *this;} /** *

Information about the registered Amazon Timestream resources or errors, if * any.

*/ inline const TimestreamRegistrationResponse& GetTimestreamRegistrationResponse() const{ return m_timestreamRegistrationResponse; } /** *

Information about the registered Amazon Timestream resources or errors, if * any.

*/ inline void SetTimestreamRegistrationResponse(const TimestreamRegistrationResponse& value) { m_timestreamRegistrationResponse = value; } /** *

Information about the registered Amazon Timestream resources or errors, if * any.

*/ inline void SetTimestreamRegistrationResponse(TimestreamRegistrationResponse&& value) { m_timestreamRegistrationResponse = std::move(value); } /** *

Information about the registered Amazon Timestream resources or errors, if * any.

*/ inline GetRegisterAccountStatusResult& WithTimestreamRegistrationResponse(const TimestreamRegistrationResponse& value) { SetTimestreamRegistrationResponse(value); return *this;} /** *

Information about the registered Amazon Timestream resources or errors, if * any.

*/ inline GetRegisterAccountStatusResult& WithTimestreamRegistrationResponse(TimestreamRegistrationResponse&& value) { SetTimestreamRegistrationResponse(std::move(value)); return *this;} /** *

Information about the registered IAM resources or errors, if any.

*/ inline const IamRegistrationResponse& GetIamRegistrationResponse() const{ return m_iamRegistrationResponse; } /** *

Information about the registered IAM resources or errors, if any.

*/ inline void SetIamRegistrationResponse(const IamRegistrationResponse& value) { m_iamRegistrationResponse = value; } /** *

Information about the registered IAM resources or errors, if any.

*/ inline void SetIamRegistrationResponse(IamRegistrationResponse&& value) { m_iamRegistrationResponse = std::move(value); } /** *

Information about the registered IAM resources or errors, if any.

*/ inline GetRegisterAccountStatusResult& WithIamRegistrationResponse(const IamRegistrationResponse& value) { SetIamRegistrationResponse(value); return *this;} /** *

Information about the registered IAM resources or errors, if any.

*/ inline GetRegisterAccountStatusResult& WithIamRegistrationResponse(IamRegistrationResponse&& value) { SetIamRegistrationResponse(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 GetRegisterAccountStatusResult& 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 GetRegisterAccountStatusResult& 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 GetRegisterAccountStatusResult& 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 GetRegisterAccountStatusResult& 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 GetRegisterAccountStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRegisterAccountStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRegisterAccountStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_customerAccountId; RegistrationStatus m_accountStatus; TimestreamRegistrationResponse m_timestreamRegistrationResponse; IamRegistrationResponse m_iamRegistrationResponse; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModificationTime; Aws::String m_requestId; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws