/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the state of an Amazon Lightsail bucket.See Also:
* AWS
* API Reference
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
The state code of the bucket.
The following codes are possible:
* OK
- The bucket is in a running state.
Unknown
- Creation of the bucket might have timed-out. You
* might want to delete the bucket and create a new one.
A message that describes the state of the bucket.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message that describes the state of the bucket.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message that describes the state of the bucket.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message that describes the state of the bucket.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message that describes the state of the bucket.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message that describes the state of the bucket.
*/ inline BucketState& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message that describes the state of the bucket.
*/ inline BucketState& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message that describes the state of the bucket.
*/ inline BucketState& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace Lightsail } // namespace Aws