7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/InventoryDestination.h>
9#include <aws/s3/model/InventoryFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3/model/InventoryIncludedObjectVersions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/s3/model/InventorySchedule.h>
14#include <aws/s3/model/InventoryOptionalField.h>
56 template<
typename DestinationT = InventoryDestination>
57 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
58 template<
typename DestinationT = InventoryDestination>
70 inline void SetIsEnabled(
bool value) { m_isEnabledHasBeenSet =
true; m_isEnabled = value; }
81 template<
typename FilterT = InventoryFilter>
82 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
83 template<
typename FilterT = InventoryFilter>
93 template<
typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
95 template<
typename IdT = Aws::String>
119 template<
typename OptionalFieldsT = Aws::Vector<InventoryOptionalField>>
120 void SetOptionalFields(OptionalFieldsT&& value) { m_optionalFieldsHasBeenSet =
true; m_optionalFields = std::forward<OptionalFieldsT>(value); }
121 template<
typename OptionalFieldsT = Aws::Vector<InventoryOptionalField>>
132 template<
typename ScheduleT = InventorySchedule>
133 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
134 template<
typename ScheduleT = InventorySchedule>
140 bool m_destinationHasBeenSet =
false;
142 bool m_isEnabled{
false};
143 bool m_isEnabledHasBeenSet =
false;
145 InventoryFilter m_filter;
146 bool m_filterHasBeenSet =
false;
149 bool m_idHasBeenSet =
false;
152 bool m_includedObjectVersionsHasBeenSet =
false;
155 bool m_optionalFieldsHasBeenSet =
false;
157 InventorySchedule m_schedule;
158 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