AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteDeploymentGroupRequest.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeployRequest.h>
8#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodeDeploy {
15namespace Model {
16
24 public:
25 AWS_CODEDEPLOY_API DeleteDeploymentGroupRequest() = default;
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 "DeleteDeploymentGroup"; }
32
33 AWS_CODEDEPLOY_API Aws::String SerializePayload() const override;
34
36
38
42 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
43 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
44 template <typename ApplicationNameT = Aws::String>
45 void SetApplicationName(ApplicationNameT&& value) {
46 m_applicationNameHasBeenSet = true;
47 m_applicationName = std::forward<ApplicationNameT>(value);
48 }
49 template <typename ApplicationNameT = Aws::String>
51 SetApplicationName(std::forward<ApplicationNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDeploymentGroupName() const { return m_deploymentGroupName; }
61 inline bool DeploymentGroupNameHasBeenSet() const { return m_deploymentGroupNameHasBeenSet; }
62 template <typename DeploymentGroupNameT = Aws::String>
63 void SetDeploymentGroupName(DeploymentGroupNameT&& value) {
64 m_deploymentGroupNameHasBeenSet = true;
65 m_deploymentGroupName = std::forward<DeploymentGroupNameT>(value);
66 }
67 template <typename DeploymentGroupNameT = Aws::String>
69 SetDeploymentGroupName(std::forward<DeploymentGroupNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_applicationName;
75
76 Aws::String m_deploymentGroupName;
77 bool m_applicationNameHasBeenSet = false;
78 bool m_deploymentGroupNameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CodeDeploy
83} // namespace Aws
DeleteDeploymentGroupRequest & WithApplicationName(ApplicationNameT &&value)
AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteDeploymentGroupRequest & WithDeploymentGroupName(DeploymentGroupNameT &&value)
AWS_CODEDEPLOY_API DeleteDeploymentGroupRequest()=default
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