AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ContinueDeploymentRequest.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 "ContinueDeployment"; }
32
34
36
37
42 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
43
48 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
49
54 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
55
60 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
61
66 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
67
72 inline ContinueDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
73
78 inline ContinueDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
79
84 inline ContinueDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
85
86
93 inline const DeploymentWaitType& GetDeploymentWaitType() const{ return m_deploymentWaitType; }
94
101 inline bool DeploymentWaitTypeHasBeenSet() const { return m_deploymentWaitTypeHasBeenSet; }
102
109 inline void SetDeploymentWaitType(const DeploymentWaitType& value) { m_deploymentWaitTypeHasBeenSet = true; m_deploymentWaitType = value; }
110
117 inline void SetDeploymentWaitType(DeploymentWaitType&& value) { m_deploymentWaitTypeHasBeenSet = true; m_deploymentWaitType = std::move(value); }
118
126
134
135 private:
136
137 Aws::String m_deploymentId;
138 bool m_deploymentIdHasBeenSet = false;
139
140 DeploymentWaitType m_deploymentWaitType;
141 bool m_deploymentWaitTypeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace CodeDeploy
146} // namespace Aws
#define AWS_CODEDEPLOY_API
ContinueDeploymentRequest & WithDeploymentWaitType(const DeploymentWaitType &value)
const DeploymentWaitType & GetDeploymentWaitType() const
ContinueDeploymentRequest & WithDeploymentWaitType(DeploymentWaitType &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ContinueDeploymentRequest & WithDeploymentId(const char *value)
ContinueDeploymentRequest & WithDeploymentId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
ContinueDeploymentRequest & WithDeploymentId(Aws::String &&value)
void SetDeploymentWaitType(const DeploymentWaitType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String