/** * 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 Keyspaces { namespace Model { class CreateKeyspaceResult { public: AWS_KEYSPACES_API CreateKeyspaceResult(); AWS_KEYSPACES_API CreateKeyspaceResult(const Aws::AmazonWebServiceResult& result); AWS_KEYSPACES_API CreateKeyspaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

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

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

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

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

*/ inline CreateKeyspaceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

*/ inline CreateKeyspaceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The unique identifier of the keyspace in the format of an Amazon Resource * Name (ARN).

*/ inline CreateKeyspaceResult& WithResourceArn(const char* value) { SetResourceArn(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 CreateKeyspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateKeyspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateKeyspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_resourceArn; Aws::String m_requestId; }; } // namespace Model } // namespace Keyspaces } // namespace Aws