AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetDeploymentTargetsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
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
33 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
43 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
44 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
45 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
46 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
48 inline BatchGetDeploymentTargetsRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
49 inline BatchGetDeploymentTargetsRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
51
53
69 inline const Aws::Vector<Aws::String>& GetTargetIds() const{ return m_targetIds; }
70 inline bool TargetIdsHasBeenSet() const { return m_targetIdsHasBeenSet; }
71 inline void SetTargetIds(const Aws::Vector<Aws::String>& value) { m_targetIdsHasBeenSet = true; m_targetIds = value; }
72 inline void SetTargetIds(Aws::Vector<Aws::String>&& value) { m_targetIdsHasBeenSet = true; m_targetIds = std::move(value); }
74 inline BatchGetDeploymentTargetsRequest& WithTargetIds(Aws::Vector<Aws::String>&& value) { SetTargetIds(std::move(value)); return *this;}
75 inline BatchGetDeploymentTargetsRequest& AddTargetIds(const Aws::String& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; }
76 inline BatchGetDeploymentTargetsRequest& AddTargetIds(Aws::String&& value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(std::move(value)); return *this; }
77 inline BatchGetDeploymentTargetsRequest& AddTargetIds(const char* value) { m_targetIdsHasBeenSet = true; m_targetIds.push_back(value); return *this; }
79 private:
80
81 Aws::String m_deploymentId;
82 bool m_deploymentIdHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_targetIds;
85 bool m_targetIdsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CodeDeploy
90} // namespace Aws
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