AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InventoryGroup.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/InventoryFilter.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
36 {
37 public:
38 AWS_SSM_API InventoryGroup();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline InventoryGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline InventoryGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline InventoryGroup& WithName(const char* value) { SetName(value); return *this;}
57
59
65 inline const Aws::Vector<InventoryFilter>& GetFilters() const{ return m_filters; }
66 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
67 inline void SetFilters(const Aws::Vector<InventoryFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
68 inline void SetFilters(Aws::Vector<InventoryFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
69 inline InventoryGroup& WithFilters(const Aws::Vector<InventoryFilter>& value) { SetFilters(value); return *this;}
70 inline InventoryGroup& WithFilters(Aws::Vector<InventoryFilter>&& value) { SetFilters(std::move(value)); return *this;}
71 inline InventoryGroup& AddFilters(const InventoryFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
72 inline InventoryGroup& AddFilters(InventoryFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
80 bool m_filtersHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SSM
85} // namespace Aws
const Aws::String & GetName() const
AWS_SSM_API InventoryGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(const Aws::Vector< InventoryFilter > &value)
InventoryGroup & WithFilters(const Aws::Vector< InventoryFilter > &value)
void SetName(const char *value)
void SetName(Aws::String &&value)
void SetFilters(Aws::Vector< InventoryFilter > &&value)
void SetName(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
InventoryGroup & AddFilters(InventoryFilter &&value)
InventoryGroup & WithName(const Aws::String &value)
AWS_SSM_API InventoryGroup(Aws::Utils::Json::JsonView jsonValue)
InventoryGroup & AddFilters(const InventoryFilter &value)
InventoryGroup & WithFilters(Aws::Vector< InventoryFilter > &&value)
InventoryGroup & WithName(Aws::String &&value)
InventoryGroup & WithName(const char *value)
const Aws::Vector< InventoryFilter > & GetFilters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue