AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
BatchGetDeploymentTargetsRequest.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
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchGetDeploymentTargets"; }
32
34
36
37
41 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
42
46 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
47
51 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
52
56 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
57
61 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
62
67
71 inline BatchGetDeploymentTargetsRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
72
76 inline BatchGetDeploymentTargetsRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
77
78
95 inline const Aws::Vector<Aws::String>& GetTargetIds() const{ return m_targetIds; }
96
113 inline bool TargetIdsHasBeenSet() const { return m_targetIdsHasBeenSet; }
114
131 inline void SetTargetIds(const Aws::Vector<Aws::String>& value) { m_targetIdsHasBeenSet = true; m_targetIds = value; }
132
149 inline void SetTargetIds(Aws::Vector<Aws::String>&& value) { m_targetIdsHasBeenSet = true; m_targetIds = std::move(value); }
150
168
185 inline BatchGetDeploymentTargetsRequest& WithTargetIds(Aws::Vector<Aws::String>&& value) { SetTargetIds(std::move(value)); return *this;}
186
203 inline BatchGetDeploymentTargetsRequest& AddTargetIds(const Aws::String& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; }
204
221 inline BatchGetDeploymentTargetsRequest& AddTargetIds(Aws::String&& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(std::move(value)); return *this; }
222
239 inline BatchGetDeploymentTargetsRequest& AddTargetIds(const char* value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; }
240
241 private:
242
243 Aws::String m_deploymentId;
244 bool m_deploymentIdHasBeenSet = false;
245
246 Aws::Vector<Aws::String> m_targetIds;
247 bool m_targetIdsHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace CodeDeploy
252} // namespace Aws
#define AWS_CODEDEPLOY_API
BatchGetDeploymentTargetsRequest & AddTargetIds(const char *value)
BatchGetDeploymentTargetsRequest & AddTargetIds(Aws::String &&value)
BatchGetDeploymentTargetsRequest & WithDeploymentId(Aws::String &&value)
BatchGetDeploymentTargetsRequest & WithTargetIds(Aws::Vector< Aws::String > &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetDeploymentTargetsRequest & WithDeploymentId(const char *value)
BatchGetDeploymentTargetsRequest & AddTargetIds(const Aws::String &value)
BatchGetDeploymentTargetsRequest & WithDeploymentId(const Aws::String &value)
BatchGetDeploymentTargetsRequest & WithTargetIds(const Aws::Vector< Aws::String > &value)
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
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