AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetDeploymentsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDeployments"; }
36
38
40
41
46 inline const Aws::Vector<Aws::String>& GetDeploymentIds() const{ return m_deploymentIds; }
47
52 inline bool DeploymentIdsHasBeenSet() const { return m_deploymentIdsHasBeenSet; }
53
58 inline void SetDeploymentIds(const Aws::Vector<Aws::String>& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = value; }
59
64 inline void SetDeploymentIds(Aws::Vector<Aws::String>&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = std::move(value); }
65
71
77
82 inline BatchGetDeploymentsRequest& AddDeploymentIds(const Aws::String& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
83
88 inline BatchGetDeploymentsRequest& AddDeploymentIds(Aws::String&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(std::move(value)); return *this; }
89
94 inline BatchGetDeploymentsRequest& AddDeploymentIds(const char* value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
95
96 private:
97
98 Aws::Vector<Aws::String> m_deploymentIds;
99 bool m_deploymentIdsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeDeploy
104} // namespace Aws
#define AWS_CODEDEPLOY_API
BatchGetDeploymentsRequest & WithDeploymentIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDeploymentIds() const
virtual const char * GetServiceRequestName() const override
BatchGetDeploymentsRequest & AddDeploymentIds(const char *value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDeploymentIds(Aws::Vector< Aws::String > &&value)
BatchGetDeploymentsRequest & AddDeploymentIds(Aws::String &&value)
BatchGetDeploymentsRequest & AddDeploymentIds(const Aws::String &value)
BatchGetDeploymentsRequest & WithDeploymentIds(Aws::Vector< Aws::String > &&value)
void SetDeploymentIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector