AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteDeploymentGroupResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/AutoScalingGroup.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeDeploy {
24namespace Model {
32 public:
33 AWS_CODEDEPLOY_API DeleteDeploymentGroupResult() = default;
36
38
46 inline const Aws::Vector<AutoScalingGroup>& GetHooksNotCleanedUp() const { return m_hooksNotCleanedUp; }
47 template <typename HooksNotCleanedUpT = Aws::Vector<AutoScalingGroup>>
48 void SetHooksNotCleanedUp(HooksNotCleanedUpT&& value) {
49 m_hooksNotCleanedUpHasBeenSet = true;
50 m_hooksNotCleanedUp = std::forward<HooksNotCleanedUpT>(value);
51 }
52 template <typename HooksNotCleanedUpT = Aws::Vector<AutoScalingGroup>>
54 SetHooksNotCleanedUp(std::forward<HooksNotCleanedUpT>(value));
55 return *this;
56 }
57 template <typename HooksNotCleanedUpT = AutoScalingGroup>
59 m_hooksNotCleanedUpHasBeenSet = true;
60 m_hooksNotCleanedUp.emplace_back(std::forward<HooksNotCleanedUpT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 Aws::Vector<AutoScalingGroup> m_hooksNotCleanedUp;
81
82 Aws::String m_requestId;
83 bool m_hooksNotCleanedUpHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace CodeDeploy
89} // namespace Aws
AWS_CODEDEPLOY_API DeleteDeploymentGroupResult()=default
DeleteDeploymentGroupResult & AddHooksNotCleanedUp(HooksNotCleanedUpT &&value)
AWS_CODEDEPLOY_API DeleteDeploymentGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEDEPLOY_API DeleteDeploymentGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDeploymentGroupResult & WithHooksNotCleanedUp(HooksNotCleanedUpT &&value)
const Aws::Vector< AutoScalingGroup > & GetHooksNotCleanedUp() const
DeleteDeploymentGroupResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue