AWS SDK for C++

AWS SDK for C++ Version 1.11.735

Loading...
Searching...
No Matches
ContinueDeploymentRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeployRequest.h>
8#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
9#include <aws/codedeploy/model/DeploymentWaitType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CodeDeploy {
16namespace Model {
17
21 public:
22 AWS_CODEDEPLOY_API ContinueDeploymentRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ContinueDeployment"; }
29
30 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
40 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
41 template <typename DeploymentIdT = Aws::String>
42 void SetDeploymentId(DeploymentIdT&& value) {
43 m_deploymentIdHasBeenSet = true;
44 m_deploymentId = std::forward<DeploymentIdT>(value);
45 }
46 template <typename DeploymentIdT = Aws::String>
48 SetDeploymentId(std::forward<DeploymentIdT>(value));
49 return *this;
50 }
52
54
60 inline DeploymentWaitType GetDeploymentWaitType() const { return m_deploymentWaitType; }
61 inline bool DeploymentWaitTypeHasBeenSet() const { return m_deploymentWaitTypeHasBeenSet; }
63 m_deploymentWaitTypeHasBeenSet = true;
64 m_deploymentWaitType = value;
65 }
68 return *this;
69 }
71 private:
72 Aws::String m_deploymentId;
73
75 bool m_deploymentIdHasBeenSet = false;
76 bool m_deploymentWaitTypeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CodeDeploy
81} // namespace Aws
AWS_CODEDEPLOY_API ContinueDeploymentRequest()=default
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ContinueDeploymentRequest & WithDeploymentId(DeploymentIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODEDEPLOY_API Aws::String SerializePayload() const override
ContinueDeploymentRequest & WithDeploymentWaitType(DeploymentWaitType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String