/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the ID format for a resource.See Also:
AWS API
* Reference
The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline const Aws::Utils::DateTime& GetDeadline() const{ return m_deadline; } /** *The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline bool DeadlineHasBeenSet() const { return m_deadlineHasBeenSet; } /** *The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline void SetDeadline(const Aws::Utils::DateTime& value) { m_deadlineHasBeenSet = true; m_deadline = value; } /** *The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline void SetDeadline(Aws::Utils::DateTime&& value) { m_deadlineHasBeenSet = true; m_deadline = std::move(value); } /** *The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline IdFormat& WithDeadline(const Aws::Utils::DateTime& value) { SetDeadline(value); return *this;} /** *The date in UTC at which you are permanently switched over to using longer * IDs. If a deadline is not yet available for this resource type, this field is * not returned.
*/ inline IdFormat& WithDeadline(Aws::Utils::DateTime&& value) { SetDeadline(std::move(value)); return *this;} /** *The type of resource.
*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *The type of resource.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *The type of resource.
*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *The type of resource.
*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *The type of resource.
*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *The type of resource.
*/ inline IdFormat& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *The type of resource.
*/ inline IdFormat& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *The type of resource.
*/ inline IdFormat& WithResource(const char* value) { SetResource(value); return *this;} /** *Indicates whether longer IDs (17-character IDs) are enabled for the * resource.
*/ inline bool GetUseLongIds() const{ return m_useLongIds; } /** *Indicates whether longer IDs (17-character IDs) are enabled for the * resource.
*/ inline bool UseLongIdsHasBeenSet() const { return m_useLongIdsHasBeenSet; } /** *Indicates whether longer IDs (17-character IDs) are enabled for the * resource.
*/ inline void SetUseLongIds(bool value) { m_useLongIdsHasBeenSet = true; m_useLongIds = value; } /** *Indicates whether longer IDs (17-character IDs) are enabled for the * resource.
*/ inline IdFormat& WithUseLongIds(bool value) { SetUseLongIds(value); return *this;} private: Aws::Utils::DateTime m_deadline; bool m_deadlineHasBeenSet = false; Aws::String m_resource; bool m_resourceHasBeenSet = false; bool m_useLongIds; bool m_useLongIdsHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws