90 lines
2.9 KiB
C++
90 lines
2.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
|
|
#include <aws/codedeploy/CodeDeployRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace CodeDeploy
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Represents the input of a <code>DeleteGitHubAccount</code>
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenInput">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_CODEDEPLOY_API DeleteGitHubAccountTokenRequest : public CodeDeployRequest
|
|
{
|
|
public:
|
|
DeleteGitHubAccountTokenRequest();
|
|
|
|
// 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 "DeleteGitHubAccountToken"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline const Aws::String& GetTokenName() const{ return m_tokenName; }
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline bool TokenNameHasBeenSet() const { return m_tokenNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline void SetTokenName(const Aws::String& value) { m_tokenNameHasBeenSet = true; m_tokenName = value; }
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline void SetTokenName(Aws::String&& value) { m_tokenNameHasBeenSet = true; m_tokenName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline void SetTokenName(const char* value) { m_tokenNameHasBeenSet = true; m_tokenName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline DeleteGitHubAccountTokenRequest& WithTokenName(const Aws::String& value) { SetTokenName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline DeleteGitHubAccountTokenRequest& WithTokenName(Aws::String&& value) { SetTokenName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the GitHub account connection to delete.</p>
|
|
*/
|
|
inline DeleteGitHubAccountTokenRequest& WithTokenName(const char* value) { SetTokenName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_tokenName;
|
|
bool m_tokenNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CodeDeploy
|
|
} // namespace Aws
|