AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContinueDeploymentRequest.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/codedeploy/model/DeploymentWaitType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeDeploy
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEDEPLOY_API ContinueDeploymentRequest();
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
33 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
44 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
45 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
46 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
47 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
48 inline ContinueDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
49 inline ContinueDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
50 inline ContinueDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
52
54
60 inline const DeploymentWaitType& GetDeploymentWaitType() const{ return m_deploymentWaitType; }
61 inline bool DeploymentWaitTypeHasBeenSet() const { return m_deploymentWaitTypeHasBeenSet; }
62 inline void SetDeploymentWaitType(const DeploymentWaitType& value) { m_deploymentWaitTypeHasBeenSet = true; m_deploymentWaitType = value; }
63 inline void SetDeploymentWaitType(DeploymentWaitType&& value) { m_deploymentWaitTypeHasBeenSet = true; m_deploymentWaitType = std::move(value); }
67 private:
68
69 Aws::String m_deploymentId;
70 bool m_deploymentIdHasBeenSet = false;
71
72 DeploymentWaitType m_deploymentWaitType;
73 bool m_deploymentWaitTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeDeploy
78} // namespace Aws
ContinueDeploymentRequest & WithDeploymentWaitType(const DeploymentWaitType &value)
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