AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
ContinueServiceDeploymentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/DeploymentLifecycleHookAction.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ECS {
16namespace Model {
17
21 public:
22 AWS_ECS_API ContinueServiceDeploymentRequest() = 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 "ContinueServiceDeployment"; }
29
30 AWS_ECS_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetServiceDeploymentArn() const { return m_serviceDeploymentArn; }
39 inline bool ServiceDeploymentArnHasBeenSet() const { return m_serviceDeploymentArnHasBeenSet; }
40 template <typename ServiceDeploymentArnT = Aws::String>
41 void SetServiceDeploymentArn(ServiceDeploymentArnT&& value) {
42 m_serviceDeploymentArnHasBeenSet = true;
43 m_serviceDeploymentArn = std::forward<ServiceDeploymentArnT>(value);
44 }
45 template <typename ServiceDeploymentArnT = Aws::String>
47 SetServiceDeploymentArn(std::forward<ServiceDeploymentArnT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::String& GetHookId() const { return m_hookId; }
61 inline bool HookIdHasBeenSet() const { return m_hookIdHasBeenSet; }
62 template <typename HookIdT = Aws::String>
63 void SetHookId(HookIdT&& value) {
64 m_hookIdHasBeenSet = true;
65 m_hookId = std::forward<HookIdT>(value);
66 }
67 template <typename HookIdT = Aws::String>
69 SetHookId(std::forward<HookIdT>(value));
70 return *this;
71 }
73
75
82 inline DeploymentLifecycleHookAction GetAction() const { return m_action; }
83 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
85 m_actionHasBeenSet = true;
86 m_action = value;
87 }
89 SetAction(value);
90 return *this;
91 }
93 private:
94 Aws::String m_serviceDeploymentArn;
95
96 Aws::String m_hookId;
97
99 bool m_serviceDeploymentArnHasBeenSet = false;
100 bool m_hookIdHasBeenSet = false;
101 bool m_actionHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ECS
106} // namespace Aws
ContinueServiceDeploymentRequest & WithAction(DeploymentLifecycleHookAction value)
ContinueServiceDeploymentRequest & WithHookId(HookIdT &&value)
AWS_ECS_API Aws::String SerializePayload() const override
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ContinueServiceDeploymentRequest & WithServiceDeploymentArn(ServiceDeploymentArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String