AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetDeploymentsRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/CodeDeployRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_CODEDEPLOY_API BatchGetDeploymentsRequest();
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
37 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::Vector<Aws::String>& GetDeploymentIds() const{ return m_deploymentIds; }
48 inline bool DeploymentIdsHasBeenSet() const { return m_deploymentIdsHasBeenSet; }
49 inline void SetDeploymentIds(const Aws::Vector<Aws::String>& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = value; }
50 inline void SetDeploymentIds(Aws::Vector<Aws::String>&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds = std::move(value); }
53 inline BatchGetDeploymentsRequest& AddDeploymentIds(const Aws::String& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
54 inline BatchGetDeploymentsRequest& AddDeploymentIds(Aws::String&& value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(std::move(value)); return *this; }
55 inline BatchGetDeploymentsRequest& AddDeploymentIds(const char* value) { m_deploymentIdsHasBeenSet = true; m_deploymentIds.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_deploymentIds;
60 bool m_deploymentIdsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace CodeDeploy
65} // namespace Aws
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