7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
12#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
13#include <aws/network-firewall/model/ContainerAssociationStatus.h>
14#include <aws/network-firewall/model/ContainerMonitoringConfiguration.h>
15#include <aws/network-firewall/model/ContainerMonitoringType.h>
16#include <aws/network-firewall/model/Tag.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace NetworkFirewall {
42 template <
typename ContainerAssociationNameT = Aws::String>
44 m_containerAssociationNameHasBeenSet =
true;
45 m_containerAssociationName = std::forward<ContainerAssociationNameT>(value);
47 template <
typename ContainerAssociationNameT = Aws::String>
59 template <
typename ContainerAssociationArnT = Aws::String>
61 m_containerAssociationArnHasBeenSet =
true;
62 m_containerAssociationArn = std::forward<ContainerAssociationArnT>(value);
64 template <
typename ContainerAssociationArnT = Aws::String>
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
96 m_typeHasBeenSet =
true;
110 return m_containerMonitoringConfigurations;
112 template <
typename ContainerMonitoringConfigurationsT = Aws::Vector<ContainerMonitoringConfiguration>>
114 m_containerMonitoringConfigurationsHasBeenSet =
true;
115 m_containerMonitoringConfigurations = std::forward<ContainerMonitoringConfigurationsT>(value);
117 template <
typename ContainerMonitoringConfigurationsT = Aws::Vector<ContainerMonitoringConfiguration>>
122 template <
typename ContainerMonitoringConfigurationsT = ContainerMonitoringConfiguration>
124 m_containerMonitoringConfigurationsHasBeenSet =
true;
125 m_containerMonitoringConfigurations.emplace_back(std::forward<ContainerMonitoringConfigurationsT>(value));
136 m_statusHasBeenSet =
true;
151 m_resolvedCidrCountHasBeenSet =
true;
152 m_resolvedCidrCount = value;
166 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
168 m_lastUpdatedTimeHasBeenSet =
true;
169 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
171 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
183 template <
typename TagsT = Aws::Vector<Tag>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Vector<Tag>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsT = Tag>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace_back(std::forward<TagsT>(value));
214 template <
typename UpdateTokenT = Aws::String>
216 m_updateTokenHasBeenSet =
true;
217 m_updateToken = std::forward<UpdateTokenT>(value);
219 template <
typename UpdateTokenT = Aws::String>
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
255 int64_t m_resolvedCidrCount{0};
265 bool m_containerAssociationNameHasBeenSet =
false;
266 bool m_containerAssociationArnHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
268 bool m_typeHasBeenSet =
false;
269 bool m_containerMonitoringConfigurationsHasBeenSet =
false;
270 bool m_statusHasBeenSet =
false;
271 bool m_resolvedCidrCountHasBeenSet =
false;
272 bool m_lastUpdatedTimeHasBeenSet =
false;
273 bool m_tagsHasBeenSet =
false;
274 bool m_updateTokenHasBeenSet =
false;
275 bool m_requestIdHasBeenSet =
false;
DescribeContainerAssociationResult & WithRequestId(RequestIdT &&value)
void SetContainerAssociationArn(ContainerAssociationArnT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
DescribeContainerAssociationResult & AddContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
DescribeContainerAssociationResult & WithContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
DescribeContainerAssociationResult & WithDescription(DescriptionT &&value)
DescribeContainerAssociationResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DescribeContainerAssociationResult & WithUpdateToken(UpdateTokenT &&value)
DescribeContainerAssociationResult & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
DescribeContainerAssociationResult & WithType(ContainerMonitoringType value)
void SetType(ContainerMonitoringType value)
AWS_NETWORKFIREWALL_API DescribeContainerAssociationResult()=default
int64_t GetResolvedCidrCount() const
void SetStatus(ContainerAssociationStatus value)
void SetContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
DescribeContainerAssociationResult & WithStatus(ContainerAssociationStatus value)
DescribeContainerAssociationResult & WithContainerAssociationArn(ContainerAssociationArnT &&value)
void SetUpdateToken(UpdateTokenT &&value)
DescribeContainerAssociationResult & WithResolvedCidrCount(int64_t value)
void SetRequestId(RequestIdT &&value)
void SetResolvedCidrCount(int64_t value)
const Aws::String & GetContainerAssociationName() const
DescribeContainerAssociationResult & WithTags(TagsT &&value)
AWS_NETWORKFIREWALL_API DescribeContainerAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
AWS_NETWORKFIREWALL_API DescribeContainerAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetContainerAssociationArn() const
ContainerAssociationStatus GetStatus() const
DescribeContainerAssociationResult & WithContainerAssociationName(ContainerAssociationNameT &&value)
const Aws::Vector< ContainerMonitoringConfiguration > & GetContainerMonitoringConfigurations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetContainerAssociationName(ContainerAssociationNameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetUpdateToken() const
ContainerMonitoringType GetType() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ContainerAssociationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector