AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
DeleteContainerAssociationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/ContainerAssociationStatus.h>
12
13#include <utility>
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Cbor {
20class CborValue;
21} // namespace Cbor
22} // namespace Utils
23namespace NetworkFirewall {
24namespace Model {
26 public:
27 AWS_NETWORKFIREWALL_API DeleteContainerAssociationResult() = default;
31
33
36 inline const Aws::String& GetContainerAssociationName() const { return m_containerAssociationName; }
37 template <typename ContainerAssociationNameT = Aws::String>
38 void SetContainerAssociationName(ContainerAssociationNameT&& value) {
39 m_containerAssociationNameHasBeenSet = true;
40 m_containerAssociationName = std::forward<ContainerAssociationNameT>(value);
41 }
42 template <typename ContainerAssociationNameT = Aws::String>
44 SetContainerAssociationName(std::forward<ContainerAssociationNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetContainerAssociationArn() const { return m_containerAssociationArn; }
54 template <typename ContainerAssociationArnT = Aws::String>
55 void SetContainerAssociationArn(ContainerAssociationArnT&& value) {
56 m_containerAssociationArnHasBeenSet = true;
57 m_containerAssociationArn = std::forward<ContainerAssociationArnT>(value);
58 }
59 template <typename ContainerAssociationArnT = Aws::String>
61 SetContainerAssociationArn(std::forward<ContainerAssociationArnT>(value));
62 return *this;
63 }
65
67
71 inline ContainerAssociationStatus GetStatus() const { return m_status; }
73 m_statusHasBeenSet = true;
74 m_status = value;
75 }
77 SetStatus(value);
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_containerAssociationName;
100
101 Aws::String m_containerAssociationArn;
102
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_containerAssociationNameHasBeenSet = false;
108 bool m_containerAssociationArnHasBeenSet = false;
109 bool m_statusHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace NetworkFirewall
115} // namespace Aws
AWS_NETWORKFIREWALL_API DeleteContainerAssociationResult()=default
DeleteContainerAssociationResult & WithStatus(ContainerAssociationStatus value)
DeleteContainerAssociationResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API DeleteContainerAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DeleteContainerAssociationResult & WithContainerAssociationArn(ContainerAssociationArnT &&value)
DeleteContainerAssociationResult & WithContainerAssociationName(ContainerAssociationNameT &&value)
AWS_NETWORKFIREWALL_API DeleteContainerAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String