7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename ResourcesT = Aws::Vector<Aws::String>>
48 m_resourcesHasBeenSet =
true;
49 m_resources = std::forward<ResourcesT>(value);
51 template <
typename ResourcesT = Aws::Vector<Aws::String>>
56 template <
typename ResourcesT = Aws::String>
58 m_resourcesHasBeenSet =
true;
59 m_resources.emplace_back(std::forward<ResourcesT>(value));
73 m_tieringDownSettingsInDaysHasBeenSet =
true;
74 m_tieringDownSettingsInDays = value;
90 template <
typename ResourceTypeT = Aws::String>
92 m_resourceTypeHasBeenSet =
true;
93 m_resourceType = std::forward<ResourceTypeT>(value);
95 template <
typename ResourceTypeT = Aws::String>
104 int m_tieringDownSettingsInDays{0};
107 bool m_resourcesHasBeenSet =
false;
108 bool m_tieringDownSettingsInDaysHasBeenSet =
false;
109 bool m_resourceTypeHasBeenSet =
false;
ResourceSelection & WithTieringDownSettingsInDays(int value)
AWS_BACKUP_API ResourceSelection()=default
void SetResourceType(ResourceTypeT &&value)
AWS_BACKUP_API ResourceSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API ResourceSelection(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceType() const
bool ResourcesHasBeenSet() const
ResourceSelection & WithResourceType(ResourceTypeT &&value)
bool TieringDownSettingsInDaysHasBeenSet() const
const Aws::Vector< Aws::String > & GetResources() const
void SetResources(ResourcesT &&value)
int GetTieringDownSettingsInDays() const
ResourceSelection & AddResources(ResourcesT &&value)
ResourceSelection & WithResources(ResourcesT &&value)
bool ResourceTypeHasBeenSet() const
void SetTieringDownSettingsInDays(int 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