AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatelessCustomPublishMetricAction.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/StatelessCustomPublishMetricActionDimension.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<StatelessCustomPublishMetricActionDimension>& GetDimensions() const{ return m_dimensions; }
47 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
48 inline void SetDimensions(const Aws::Vector<StatelessCustomPublishMetricActionDimension>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
49 inline void SetDimensions(Aws::Vector<StatelessCustomPublishMetricActionDimension>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
52 inline StatelessCustomPublishMetricAction& AddDimensions(const StatelessCustomPublishMetricActionDimension& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
53 inline StatelessCustomPublishMetricAction& AddDimensions(StatelessCustomPublishMetricActionDimension&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_dimensionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityHub
63} // namespace Aws
StatelessCustomPublishMetricAction & AddDimensions(const StatelessCustomPublishMetricActionDimension &value)
StatelessCustomPublishMetricAction & WithDimensions(const Aws::Vector< StatelessCustomPublishMetricActionDimension > &value)
AWS_SECURITYHUB_API StatelessCustomPublishMetricAction(Aws::Utils::Json::JsonView jsonValue)
StatelessCustomPublishMetricAction & WithDimensions(Aws::Vector< StatelessCustomPublishMetricActionDimension > &&value)
const Aws::Vector< StatelessCustomPublishMetricActionDimension > & GetDimensions() const
AWS_SECURITYHUB_API StatelessCustomPublishMetricAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDimensions(Aws::Vector< StatelessCustomPublishMetricActionDimension > &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDimensions(const Aws::Vector< StatelessCustomPublishMetricActionDimension > &value)
StatelessCustomPublishMetricAction & AddDimensions(StatelessCustomPublishMetricActionDimension &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue