105 lines
4.3 KiB
C++
105 lines
4.3 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/AWSVector.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace CodeDeploy
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Represents the input of a <code>BatchGetOnPremisesInstances</code>
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_CODEDEPLOY_API BatchGetOnPremisesInstancesRequest : public CodeDeployRequest
|
|
{
|
|
public:
|
|
BatchGetOnPremisesInstancesRequest();
|
|
|
|
// 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 "BatchGetOnPremisesInstances"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline const Aws::Vector<Aws::String>& GetInstanceNames() const{ return m_instanceNames; }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline bool InstanceNamesHasBeenSet() const { return m_instanceNamesHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline void SetInstanceNames(const Aws::Vector<Aws::String>& value) { m_instanceNamesHasBeenSet = true; m_instanceNames = value; }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline void SetInstanceNames(Aws::Vector<Aws::String>&& value) { m_instanceNamesHasBeenSet = true; m_instanceNames = std::move(value); }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline BatchGetOnPremisesInstancesRequest& WithInstanceNames(const Aws::Vector<Aws::String>& value) { SetInstanceNames(value); return *this;}
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline BatchGetOnPremisesInstancesRequest& WithInstanceNames(Aws::Vector<Aws::String>&& value) { SetInstanceNames(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline BatchGetOnPremisesInstancesRequest& AddInstanceNames(const Aws::String& value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline BatchGetOnPremisesInstancesRequest& AddInstanceNames(Aws::String&& value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The names of the on-premises instances about which to get information. The
|
|
* maximum number of instance names you can specify is 25.</p>
|
|
*/
|
|
inline BatchGetOnPremisesInstancesRequest& AddInstanceNames(const char* value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::Vector<Aws::String> m_instanceNames;
|
|
bool m_instanceNamesHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CodeDeploy
|
|
} // namespace Aws
|