/** * 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 CodeDeploy { namespace Model { /** *

Represents the output of a DeleteGitHubAccountToken * operation.

See Also:

AWS * API Reference

*/ class AWS_CODEDEPLOY_API DeleteGitHubAccountTokenResult { public: DeleteGitHubAccountTokenResult(); DeleteGitHubAccountTokenResult(const Aws::AmazonWebServiceResult& result); DeleteGitHubAccountTokenResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the GitHub account connection that was deleted.

*/ inline const Aws::String& GetTokenName() const{ return m_tokenName; } /** *

The name of the GitHub account connection that was deleted.

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

The name of the GitHub account connection that was deleted.

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

The name of the GitHub account connection that was deleted.

*/ inline void SetTokenName(const char* value) { m_tokenName.assign(value); } /** *

The name of the GitHub account connection that was deleted.

*/ inline DeleteGitHubAccountTokenResult& WithTokenName(const Aws::String& value) { SetTokenName(value); return *this;} /** *

The name of the GitHub account connection that was deleted.

*/ inline DeleteGitHubAccountTokenResult& WithTokenName(Aws::String&& value) { SetTokenName(std::move(value)); return *this;} /** *

The name of the GitHub account connection that was deleted.

*/ inline DeleteGitHubAccountTokenResult& WithTokenName(const char* value) { SetTokenName(value); return *this;} private: Aws::String m_tokenName; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws