AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaFunctionAssociations.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudfront/model/LambdaFunctionAssociation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_CLOUDFRONT_API LambdaFunctionAssociations();
45 AWS_CLOUDFRONT_API LambdaFunctionAssociations(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
49
50
52
55 inline int GetQuantity() const{ return m_quantity; }
56 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
57 inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; }
58 inline LambdaFunctionAssociations& WithQuantity(int value) { SetQuantity(value); return *this;}
60
62
67 inline const Aws::Vector<LambdaFunctionAssociation>& GetItems() const{ return m_items; }
68 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
69 inline void SetItems(const Aws::Vector<LambdaFunctionAssociation>& value) { m_itemsHasBeenSet = true; m_items = value; }
70 inline void SetItems(Aws::Vector<LambdaFunctionAssociation>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
72 inline LambdaFunctionAssociations& WithItems(Aws::Vector<LambdaFunctionAssociation>&& value) { SetItems(std::move(value)); return *this;}
73 inline LambdaFunctionAssociations& AddItems(const LambdaFunctionAssociation& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
74 inline LambdaFunctionAssociations& AddItems(LambdaFunctionAssociation&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
76 private:
77
78 int m_quantity;
79 bool m_quantityHasBeenSet = false;
80
82 bool m_itemsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CloudFront
87} // namespace Aws
AWS_CLOUDFRONT_API LambdaFunctionAssociations(const Aws::Utils::Xml::XmlNode &xmlNode)
LambdaFunctionAssociations & WithItems(const Aws::Vector< LambdaFunctionAssociation > &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetItems(Aws::Vector< LambdaFunctionAssociation > &&value)
AWS_CLOUDFRONT_API LambdaFunctionAssociations & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetItems(const Aws::Vector< LambdaFunctionAssociation > &value)
LambdaFunctionAssociations & WithItems(Aws::Vector< LambdaFunctionAssociation > &&value)
LambdaFunctionAssociations & AddItems(LambdaFunctionAssociation &&value)
LambdaFunctionAssociations & AddItems(const LambdaFunctionAssociation &value)
const Aws::Vector< LambdaFunctionAssociation > & GetItems() const
std::vector< T, Aws::Allocator< T > > Vector