/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Organizations { namespace Model { /** */ class DescribeCreateAccountStatusRequest : public OrganizationsRequest { public: AWS_ORGANIZATIONS_API DescribeCreateAccountStatusRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeCreateAccountStatus"; } AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override; AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline const Aws::String& GetCreateAccountRequestId() const{ return m_createAccountRequestId; } /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline bool CreateAccountRequestIdHasBeenSet() const { return m_createAccountRequestIdHasBeenSet; } /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline void SetCreateAccountRequestId(const Aws::String& value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId = value; } /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline void SetCreateAccountRequestId(Aws::String&& value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId = std::move(value); } /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline void SetCreateAccountRequestId(const char* value) { m_createAccountRequestIdHasBeenSet = true; m_createAccountRequestId.assign(value); } /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(const Aws::String& value) { SetCreateAccountRequestId(value); return *this;} /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(Aws::String&& value) { SetCreateAccountRequestId(std::move(value)); return *this;} /** *

Specifies the Id value that uniquely identifies the * CreateAccount request. You can get the value from the * CreateAccountStatus.Id response in an earlier CreateAccount * request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account * request ID string requires "car-" followed by from 8 to 32 lowercase letters or * digits.

*/ inline DescribeCreateAccountStatusRequest& WithCreateAccountRequestId(const char* value) { SetCreateAccountRequestId(value); return *this;} private: Aws::String m_createAccountRequestId; bool m_createAccountRequestIdHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws