/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the registered Amazon Timestream resources or errors, if
* any.See Also:
AWS
* API Reference
The name of the Timestream database.
*/ inline const Aws::String& GetTimestreamDatabaseName() const{ return m_timestreamDatabaseName; } /** *The name of the Timestream database.
*/ inline bool TimestreamDatabaseNameHasBeenSet() const { return m_timestreamDatabaseNameHasBeenSet; } /** *The name of the Timestream database.
*/ inline void SetTimestreamDatabaseName(const Aws::String& value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName = value; } /** *The name of the Timestream database.
*/ inline void SetTimestreamDatabaseName(Aws::String&& value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName = std::move(value); } /** *The name of the Timestream database.
*/ inline void SetTimestreamDatabaseName(const char* value) { m_timestreamDatabaseNameHasBeenSet = true; m_timestreamDatabaseName.assign(value); } /** *The name of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseName(const Aws::String& value) { SetTimestreamDatabaseName(value); return *this;} /** *The name of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseName(Aws::String&& value) { SetTimestreamDatabaseName(std::move(value)); return *this;} /** *The name of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseName(const char* value) { SetTimestreamDatabaseName(value); return *this;} /** *The name of the Timestream database table.
*/ inline const Aws::String& GetTimestreamTableName() const{ return m_timestreamTableName; } /** *The name of the Timestream database table.
*/ inline bool TimestreamTableNameHasBeenSet() const { return m_timestreamTableNameHasBeenSet; } /** *The name of the Timestream database table.
*/ inline void SetTimestreamTableName(const Aws::String& value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName = value; } /** *The name of the Timestream database table.
*/ inline void SetTimestreamTableName(Aws::String&& value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName = std::move(value); } /** *The name of the Timestream database table.
*/ inline void SetTimestreamTableName(const char* value) { m_timestreamTableNameHasBeenSet = true; m_timestreamTableName.assign(value); } /** *The name of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableName(const Aws::String& value) { SetTimestreamTableName(value); return *this;} /** *The name of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableName(Aws::String&& value) { SetTimestreamTableName(std::move(value)); return *this;} /** *The name of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableName(const char* value) { SetTimestreamTableName(value); return *this;} /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline const Aws::String& GetTimestreamDatabaseArn() const{ return m_timestreamDatabaseArn; } /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline bool TimestreamDatabaseArnHasBeenSet() const { return m_timestreamDatabaseArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline void SetTimestreamDatabaseArn(const Aws::String& value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn = value; } /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline void SetTimestreamDatabaseArn(Aws::String&& value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline void SetTimestreamDatabaseArn(const char* value) { m_timestreamDatabaseArnHasBeenSet = true; m_timestreamDatabaseArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseArn(const Aws::String& value) { SetTimestreamDatabaseArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseArn(Aws::String&& value) { SetTimestreamDatabaseArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Timestream database.
*/ inline TimestreamRegistrationResponse& WithTimestreamDatabaseArn(const char* value) { SetTimestreamDatabaseArn(value); return *this;} /** *The ARN of the Timestream database table.
*/ inline const Aws::String& GetTimestreamTableArn() const{ return m_timestreamTableArn; } /** *The ARN of the Timestream database table.
*/ inline bool TimestreamTableArnHasBeenSet() const { return m_timestreamTableArnHasBeenSet; } /** *The ARN of the Timestream database table.
*/ inline void SetTimestreamTableArn(const Aws::String& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = value; } /** *The ARN of the Timestream database table.
*/ inline void SetTimestreamTableArn(Aws::String&& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = std::move(value); } /** *The ARN of the Timestream database table.
*/ inline void SetTimestreamTableArn(const char* value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn.assign(value); } /** *The ARN of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableArn(const Aws::String& value) { SetTimestreamTableArn(value); return *this;} /** *The ARN of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableArn(Aws::String&& value) { SetTimestreamTableArn(std::move(value)); return *this;} /** *The ARN of the Timestream database table.
*/ inline TimestreamRegistrationResponse& WithTimestreamTableArn(const char* value) { SetTimestreamTableArn(value); return *this;} /** *The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
The status of registering your Amazon Timestream resources. The status can be
* one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
,
* REGISTRATION_FAILURE
.
A message associated with a registration error.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *A message associated with a registration error.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *A message associated with a registration error.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *A message associated with a registration error.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *A message associated with a registration error.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *A message associated with a registration error.
*/ inline TimestreamRegistrationResponse& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *A message associated with a registration error.
*/ inline TimestreamRegistrationResponse& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *A message associated with a registration error.
*/ inline TimestreamRegistrationResponse& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_timestreamDatabaseName; bool m_timestreamDatabaseNameHasBeenSet = false; Aws::String m_timestreamTableName; bool m_timestreamTableNameHasBeenSet = false; Aws::String m_timestreamDatabaseArn; bool m_timestreamDatabaseArnHasBeenSet = false; Aws::String m_timestreamTableArn; bool m_timestreamTableArnHasBeenSet = false; RegistrationStatus m_registrationStatus; bool m_registrationStatusHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws