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

The Amazon Resource Name (ARN) of the signing profile created.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the signing profile created.

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

The Amazon Resource Name (ARN) of the signing profile created.

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

The Amazon Resource Name (ARN) of the signing profile created.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the signing profile created.

*/ inline PutSigningProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the signing profile created.

*/ inline PutSigningProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the signing profile created.

*/ inline PutSigningProfileResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The version of the signing profile being created.

*/ inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; } /** *

The version of the signing profile being created.

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

The version of the signing profile being created.

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

The version of the signing profile being created.

*/ inline void SetProfileVersion(const char* value) { m_profileVersion.assign(value); } /** *

The version of the signing profile being created.

*/ inline PutSigningProfileResult& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;} /** *

The version of the signing profile being created.

*/ inline PutSigningProfileResult& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;} /** *

The version of the signing profile being created.

*/ inline PutSigningProfileResult& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; } /** *

The signing profile ARN, including the profile version.

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

The signing profile ARN, including the profile version.

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

The signing profile ARN, including the profile version.

*/ inline void SetProfileVersionArn(const char* value) { m_profileVersionArn.assign(value); } /** *

The signing profile ARN, including the profile version.

*/ inline PutSigningProfileResult& WithProfileVersionArn(const Aws::String& value) { SetProfileVersionArn(value); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline PutSigningProfileResult& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;} /** *

The signing profile ARN, including the profile version.

*/ inline PutSigningProfileResult& WithProfileVersionArn(const char* value) { SetProfileVersionArn(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 PutSigningProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutSigningProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutSigningProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_profileVersion; Aws::String m_profileVersionArn; Aws::String m_requestId; }; } // namespace Model } // namespace signer } // namespace Aws