AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
ContainerMonitoringConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/ContainerAttribute.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace NetworkFirewall {
22namespace Model {
23
32 public:
33 AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration() = default;
34 AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
37
39
43 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
44 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
45 template <typename ClusterArnT = Aws::String>
46 void SetClusterArn(ClusterArnT&& value) {
47 m_clusterArnHasBeenSet = true;
48 m_clusterArn = std::forward<ClusterArnT>(value);
49 }
50 template <typename ClusterArnT = Aws::String>
52 SetClusterArn(std::forward<ClusterArnT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::Vector<ContainerAttribute>& GetAttributeFilters() const { return m_attributeFilters; }
66 inline bool AttributeFiltersHasBeenSet() const { return m_attributeFiltersHasBeenSet; }
67 template <typename AttributeFiltersT = Aws::Vector<ContainerAttribute>>
68 void SetAttributeFilters(AttributeFiltersT&& value) {
69 m_attributeFiltersHasBeenSet = true;
70 m_attributeFilters = std::forward<AttributeFiltersT>(value);
71 }
72 template <typename AttributeFiltersT = Aws::Vector<ContainerAttribute>>
74 SetAttributeFilters(std::forward<AttributeFiltersT>(value));
75 return *this;
76 }
77 template <typename AttributeFiltersT = ContainerAttribute>
79 m_attributeFiltersHasBeenSet = true;
80 m_attributeFilters.emplace_back(std::forward<AttributeFiltersT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_clusterArn;
86
87 Aws::Vector<ContainerAttribute> m_attributeFilters;
88 bool m_clusterArnHasBeenSet = false;
89 bool m_attributeFiltersHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace NetworkFirewall
94} // namespace Aws
AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ContainerMonitoringConfiguration & AddAttributeFilters(AttributeFiltersT &&value)
ContainerMonitoringConfiguration & WithClusterArn(ClusterArnT &&value)
AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< ContainerAttribute > & GetAttributeFilters() const
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_NETWORKFIREWALL_API ContainerMonitoringConfiguration()=default
ContainerMonitoringConfiguration & WithAttributeFilters(AttributeFiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector