/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A home region control is an object that specifies the home region for an
* account, with some additional information. It contains a target (always of type
* ACCOUNT
), an ID, and a time at which the home region was
* set.See Also:
AWS
* API Reference
A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline const Aws::String& GetControlId() const{ return m_controlId; } /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; } /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; } /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); } /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); } /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline HomeRegionControl& WithControlId(const Aws::String& value) { SetControlId(value); return *this;} /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline HomeRegionControl& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;} /** *A unique identifier that's generated for each home region control. It's * always a string that begins with "hrc-" followed by 12 lowercase letters and * numbers.
*/ inline HomeRegionControl& WithControlId(const char* value) { SetControlId(value); return *this;} /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline const Aws::String& GetHomeRegion() const{ return m_homeRegion; } /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline bool HomeRegionHasBeenSet() const { return m_homeRegionHasBeenSet; } /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline void SetHomeRegion(const Aws::String& value) { m_homeRegionHasBeenSet = true; m_homeRegion = value; } /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline void SetHomeRegion(Aws::String&& value) { m_homeRegionHasBeenSet = true; m_homeRegion = std::move(value); } /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline void SetHomeRegion(const char* value) { m_homeRegionHasBeenSet = true; m_homeRegion.assign(value); } /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline HomeRegionControl& WithHomeRegion(const Aws::String& value) { SetHomeRegion(value); return *this;} /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline HomeRegionControl& WithHomeRegion(Aws::String&& value) { SetHomeRegion(std::move(value)); return *this;} /** *The AWS Region that's been set as home region. For example, "us-west-2" or * "eu-central-1" are valid home regions.
*/ inline HomeRegionControl& WithHomeRegion(const char* value) { SetHomeRegion(value); return *this;} /** *The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
The target parameter specifies the identifier to which the home region is
* applied, which is always an ACCOUNT
. It applies the home region to
* the current ACCOUNT
.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.
A timestamp representing the time when the customer called
* CreateHomeregionControl
and set the home region for the
* account.