/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class CreateBillingGroupResult { public: AWS_IOT_API CreateBillingGroupResult(); AWS_IOT_API CreateBillingGroupResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API CreateBillingGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name you gave to the billing group.

*/ inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; } /** *

The name you gave to the billing group.

*/ inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupName = value; } /** *

The name you gave to the billing group.

*/ inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupName = std::move(value); } /** *

The name you gave to the billing group.

*/ inline void SetBillingGroupName(const char* value) { m_billingGroupName.assign(value); } /** *

The name you gave to the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;} /** *

The name you gave to the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;} /** *

The name you gave to the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;} /** *

The ARN of the billing group.

*/ inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArn = value; } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArn = std::move(value); } /** *

The ARN of the billing group.

*/ inline void SetBillingGroupArn(const char* value) { m_billingGroupArn.assign(value); } /** *

The ARN of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupArn(const Aws::String& value) { SetBillingGroupArn(value); return *this;} /** *

The ARN of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;} /** *

The ARN of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;} /** *

The ID of the billing group.

*/ inline const Aws::String& GetBillingGroupId() const{ return m_billingGroupId; } /** *

The ID of the billing group.

*/ inline void SetBillingGroupId(const Aws::String& value) { m_billingGroupId = value; } /** *

The ID of the billing group.

*/ inline void SetBillingGroupId(Aws::String&& value) { m_billingGroupId = std::move(value); } /** *

The ID of the billing group.

*/ inline void SetBillingGroupId(const char* value) { m_billingGroupId.assign(value); } /** *

The ID of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupId(const Aws::String& value) { SetBillingGroupId(value); return *this;} /** *

The ID of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupId(Aws::String&& value) { SetBillingGroupId(std::move(value)); return *this;} /** *

The ID of the billing group.

*/ inline CreateBillingGroupResult& WithBillingGroupId(const char* value) { SetBillingGroupId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateBillingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateBillingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateBillingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_billingGroupName; Aws::String m_billingGroupArn; Aws::String m_billingGroupId; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws