AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryAggregator.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/model/InventoryGroup.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSM_API InventoryAggregator();
41
42
44
47 inline const Aws::String& GetExpression() const{ return m_expression; }
48 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
49 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
50 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
51 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
52 inline InventoryAggregator& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
53 inline InventoryAggregator& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
54 inline InventoryAggregator& WithExpression(const char* value) { SetExpression(value); return *this;}
56
58
61 inline const Aws::Vector<InventoryAggregator>& GetAggregators() const{ return m_aggregators; }
62 inline bool AggregatorsHasBeenSet() const { return m_aggregatorsHasBeenSet; }
63 inline void SetAggregators(const Aws::Vector<InventoryAggregator>& value) { m_aggregatorsHasBeenSet = true; m_aggregators = value; }
64 inline void SetAggregators(Aws::Vector<InventoryAggregator>&& value) { m_aggregatorsHasBeenSet = true; m_aggregators = std::move(value); }
66 inline InventoryAggregator& WithAggregators(Aws::Vector<InventoryAggregator>&& value) { SetAggregators(std::move(value)); return *this;}
67 inline InventoryAggregator& AddAggregators(const InventoryAggregator& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(value); return *this; }
68 inline InventoryAggregator& AddAggregators(InventoryAggregator&& value) { m_aggregatorsHasBeenSet = true; m_aggregators.push_back(std::move(value)); return *this; }
70
72
77 inline const Aws::Vector<InventoryGroup>& GetGroups() const{ return m_groups; }
78 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
79 inline void SetGroups(const Aws::Vector<InventoryGroup>& value) { m_groupsHasBeenSet = true; m_groups = value; }
80 inline void SetGroups(Aws::Vector<InventoryGroup>&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
81 inline InventoryAggregator& WithGroups(const Aws::Vector<InventoryGroup>& value) { SetGroups(value); return *this;}
82 inline InventoryAggregator& WithGroups(Aws::Vector<InventoryGroup>&& value) { SetGroups(std::move(value)); return *this;}
83 inline InventoryAggregator& AddGroups(const InventoryGroup& value) { m_groupsHasBeenSet = true; m_groups.push_back(value); return *this; }
84 inline InventoryAggregator& AddGroups(InventoryGroup&& value) { m_groupsHasBeenSet = true; m_groups.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_expression;
89 bool m_expressionHasBeenSet = false;
90
92 bool m_aggregatorsHasBeenSet = false;
93
95 bool m_groupsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SSM
100} // namespace Aws
InventoryAggregator & WithAggregators(const Aws::Vector< InventoryAggregator > &value)
const Aws::Vector< InventoryAggregator > & GetAggregators() const
InventoryAggregator & WithAggregators(Aws::Vector< InventoryAggregator > &&value)
AWS_SSM_API InventoryAggregator(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(Aws::String &&value)
void SetGroups(Aws::Vector< InventoryGroup > &&value)
const Aws::String & GetExpression() const
void SetExpression(const Aws::String &value)
InventoryAggregator & WithExpression(const Aws::String &value)
InventoryAggregator & AddGroups(const InventoryGroup &value)
InventoryAggregator & WithExpression(Aws::String &&value)
const Aws::Vector< InventoryGroup > & GetGroups() const
InventoryAggregator & AddGroups(InventoryGroup &&value)
InventoryAggregator & WithGroups(Aws::Vector< InventoryGroup > &&value)
AWS_SSM_API InventoryAggregator & operator=(Aws::Utils::Json::JsonView jsonValue)
InventoryAggregator & WithGroups(const Aws::Vector< InventoryGroup > &value)
InventoryAggregator & AddAggregators(InventoryAggregator &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryAggregator & WithExpression(const char *value)
void SetGroups(const Aws::Vector< InventoryGroup > &value)
InventoryAggregator & AddAggregators(const InventoryAggregator &value)
void SetAggregators(Aws::Vector< InventoryAggregator > &&value)
void SetAggregators(const Aws::Vector< InventoryAggregator > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue