7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/InventoryDestination.h>
11#include <aws/s3/model/InventoryFilter.h>
12#include <aws/s3/model/InventoryIncludedObjectVersions.h>
13#include <aws/s3/model/InventoryOptionalField.h>
14#include <aws/s3/model/InventorySchedule.h>
50 template <
typename DestinationT = InventoryDestination>
52 m_destinationHasBeenSet =
true;
53 m_destination = std::forward<DestinationT>(value);
55 template <
typename DestinationT = InventoryDestination>
71 m_isEnabledHasBeenSet =
true;
87 template <
typename FilterT = InventoryFilter>
89 m_filterHasBeenSet =
true;
90 m_filter = std::forward<FilterT>(value);
92 template <
typename FilterT = InventoryFilter>
105 template <
typename IdT = Aws::String>
107 m_idHasBeenSet =
true;
108 m_id = std::forward<IdT>(value);
110 template <
typename IdT = Aws::String>
112 SetId(std::forward<IdT>(value));
128 m_includedObjectVersionsHasBeenSet =
true;
129 m_includedObjectVersions = value;
143 template <
typename OptionalFieldsT = Aws::Vector<InventoryOptionalField>>
145 m_optionalFieldsHasBeenSet =
true;
146 m_optionalFields = std::forward<OptionalFieldsT>(value);
148 template <
typename OptionalFieldsT = Aws::Vector<InventoryOptionalField>>
154 m_optionalFieldsHasBeenSet =
true;
155 m_optionalFields.push_back(value);
166 template <
typename ScheduleT = InventorySchedule>
168 m_scheduleHasBeenSet =
true;
169 m_schedule = std::forward<ScheduleT>(value);
171 template <
typename ScheduleT = InventorySchedule>
180 bool m_isEnabled{
false};
182 InventoryFilter m_filter;
190 InventorySchedule m_schedule;
191 bool m_destinationHasBeenSet =
false;
192 bool m_isEnabledHasBeenSet =
false;
193 bool m_filterHasBeenSet =
false;
194 bool m_idHasBeenSet =
false;
195 bool m_includedObjectVersionsHasBeenSet =
false;
196 bool m_optionalFieldsHasBeenSet =
false;
197 bool m_scheduleHasBeenSet =
false;
InventoryConfiguration & WithOptionalFields(OptionalFieldsT &&value)
const Aws::Vector< InventoryOptionalField > & GetOptionalFields() const
InventoryConfiguration & WithIsEnabled(bool value)
AWS_S3_API InventoryConfiguration()=default
InventoryConfiguration & AddOptionalFields(InventoryOptionalField value)
AWS_S3_API InventoryConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIsEnabled(bool value)
void SetFilter(FilterT &&value)
bool ScheduleHasBeenSet() const
bool IncludedObjectVersionsHasBeenSet() const
const InventoryDestination & GetDestination() const
bool FilterHasBeenSet() const
InventoryConfiguration & WithFilter(FilterT &&value)
bool DestinationHasBeenSet() const
void SetOptionalFields(OptionalFieldsT &&value)
bool IdHasBeenSet() const
void SetSchedule(ScheduleT &&value)
InventoryConfiguration & WithDestination(DestinationT &&value)
AWS_S3_API InventoryConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestination(DestinationT &&value)
bool GetIsEnabled() const
InventoryConfiguration & WithSchedule(ScheduleT &&value)
const InventorySchedule & GetSchedule() const
bool OptionalFieldsHasBeenSet() const
void SetIncludedObjectVersions(InventoryIncludedObjectVersions value)
InventoryConfiguration & WithId(IdT &&value)
InventoryConfiguration & WithIncludedObjectVersions(InventoryIncludedObjectVersions value)
InventoryIncludedObjectVersions GetIncludedObjectVersions() const
const Aws::String & GetId() const
bool IsEnabledHasBeenSet() const
const InventoryFilter & GetFilter() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
InventoryIncludedObjectVersions
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector