AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchDestination.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/email/model/CloudWatchDimensionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_SES_API CloudWatchDestination();
44
45 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
54 inline const Aws::Vector<CloudWatchDimensionConfiguration>& GetDimensionConfigurations() const{ return m_dimensionConfigurations; }
55 inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
56 inline void SetDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = value; }
57 inline void SetDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::move(value); }
60 inline CloudWatchDestination& AddDimensionConfigurations(const CloudWatchDimensionConfiguration& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(value); return *this; }
61 inline CloudWatchDestination& AddDimensionConfigurations(CloudWatchDimensionConfiguration&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(std::move(value)); return *this; }
63 private:
64
65 Aws::Vector<CloudWatchDimensionConfiguration> m_dimensionConfigurations;
66 bool m_dimensionConfigurationsHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SES
71} // namespace Aws
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
AWS_SES_API CloudWatchDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< CloudWatchDimensionConfiguration > & GetDimensionConfigurations() const
void SetDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
CloudWatchDestination & WithDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
CloudWatchDestination & AddDimensionConfigurations(const CloudWatchDimensionConfiguration &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API CloudWatchDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchDestination & WithDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
CloudWatchDestination & AddDimensionConfigurations(CloudWatchDimensionConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream