86 lines
2.9 KiB
C++
86 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/codebuild/CodeBuild_EXPORTS.h>
|
|
#include <aws/codebuild/CodeBuildRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace CodeBuild
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_CODEBUILD_API InvalidateProjectCacheRequest : public CodeBuildRequest
|
|
{
|
|
public:
|
|
InvalidateProjectCacheRequest();
|
|
|
|
// 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 "InvalidateProjectCache"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline const Aws::String& GetProjectName() const{ return m_projectName; }
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline InvalidateProjectCacheRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline InvalidateProjectCacheRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the AWS CodeBuild build project that the cache is reset for.</p>
|
|
*/
|
|
inline InvalidateProjectCacheRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_projectName;
|
|
bool m_projectNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CodeBuild
|
|
} // namespace Aws
|