7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/ContainerAssociationStatus.h>
13#include <aws/network-firewall/model/ContainerMonitoringConfiguration.h>
14#include <aws/network-firewall/model/ContainerMonitoringType.h>
15#include <aws/network-firewall/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace NetworkFirewall {
41 template <
typename ContainerAssociationNameT = Aws::String>
43 m_containerAssociationNameHasBeenSet =
true;
44 m_containerAssociationName = std::forward<ContainerAssociationNameT>(value);
46 template <
typename ContainerAssociationNameT = Aws::String>
58 template <
typename ContainerAssociationArnT = Aws::String>
60 m_containerAssociationArnHasBeenSet =
true;
61 m_containerAssociationArn = std::forward<ContainerAssociationArnT>(value);
63 template <
typename ContainerAssociationArnT = Aws::String>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
95 m_typeHasBeenSet =
true;
109 return m_containerMonitoringConfigurations;
111 template <
typename ContainerMonitoringConfigurationsT = Aws::Vector<ContainerMonitoringConfiguration>>
113 m_containerMonitoringConfigurationsHasBeenSet =
true;
114 m_containerMonitoringConfigurations = std::forward<ContainerMonitoringConfigurationsT>(value);
116 template <
typename ContainerMonitoringConfigurationsT = Aws::Vector<ContainerMonitoringConfiguration>>
121 template <
typename ContainerMonitoringConfigurationsT = ContainerMonitoringConfiguration>
123 m_containerMonitoringConfigurationsHasBeenSet =
true;
124 m_containerMonitoringConfigurations.emplace_back(std::forward<ContainerMonitoringConfigurationsT>(value));
136 m_statusHasBeenSet =
true;
150 template <
typename TagsT = Aws::Vector<Tag>>
152 m_tagsHasBeenSet =
true;
153 m_tags = std::forward<TagsT>(value);
155 template <
typename TagsT = Aws::Vector<Tag>>
157 SetTags(std::forward<TagsT>(value));
160 template <
typename TagsT = Tag>
162 m_tagsHasBeenSet =
true;
163 m_tags.emplace_back(std::forward<TagsT>(value));
181 template <
typename UpdateTokenT = Aws::String>
183 m_updateTokenHasBeenSet =
true;
184 m_updateToken = std::forward<UpdateTokenT>(value);
186 template <
typename UpdateTokenT = Aws::String>
196 template <
typename RequestIdT = Aws::String>
198 m_requestIdHasBeenSet =
true;
199 m_requestId = std::forward<RequestIdT>(value);
201 template <
typename RequestIdT = Aws::String>
228 bool m_containerAssociationNameHasBeenSet =
false;
229 bool m_containerAssociationArnHasBeenSet =
false;
230 bool m_descriptionHasBeenSet =
false;
231 bool m_typeHasBeenSet =
false;
232 bool m_containerMonitoringConfigurationsHasBeenSet =
false;
233 bool m_statusHasBeenSet =
false;
234 bool m_tagsHasBeenSet =
false;
235 bool m_updateTokenHasBeenSet =
false;
236 bool m_requestIdHasBeenSet =
false;
ContainerMonitoringType GetType() const
AWS_NETWORKFIREWALL_API CreateContainerAssociationResult()=default
void SetContainerAssociationName(ContainerAssociationNameT &&value)
CreateContainerAssociationResult & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateContainerAssociationResult & WithRequestId(RequestIdT &&value)
void SetStatus(ContainerAssociationStatus value)
CreateContainerAssociationResult & WithContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
CreateContainerAssociationResult & AddContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
AWS_NETWORKFIREWALL_API CreateContainerAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetContainerAssociationArn() const
const Aws::Vector< ContainerMonitoringConfiguration > & GetContainerMonitoringConfigurations() const
void SetContainerMonitoringConfigurations(ContainerMonitoringConfigurationsT &&value)
const Aws::String & GetContainerAssociationName() const
CreateContainerAssociationResult & WithTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateContainerAssociationResult & WithContainerAssociationName(ContainerAssociationNameT &&value)
AWS_NETWORKFIREWALL_API CreateContainerAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetRequestId() const
void SetUpdateToken(UpdateTokenT &&value)
CreateContainerAssociationResult & WithUpdateToken(UpdateTokenT &&value)
const Aws::String & GetDescription() const
void SetContainerAssociationArn(ContainerAssociationArnT &&value)
CreateContainerAssociationResult & WithDescription(DescriptionT &&value)
CreateContainerAssociationResult & WithStatus(ContainerAssociationStatus value)
CreateContainerAssociationResult & WithType(ContainerMonitoringType value)
const Aws::String & GetUpdateToken() const
void SetRequestId(RequestIdT &&value)
void SetType(ContainerMonitoringType value)
CreateContainerAssociationResult & WithContainerAssociationArn(ContainerAssociationArnT &&value)
void SetTags(TagsT &&value)
ContainerAssociationStatus GetStatus() const
ContainerAssociationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector