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>
51 template<
typename ReportTemplateT = Aws::String>
52 void SetReportTemplate(ReportTemplateT&& value) { m_reportTemplateHasBeenSet =
true; m_reportTemplate = std::forward<ReportTemplateT>(value); }
53 template<
typename ReportTemplateT = Aws::String>
63 template<
typename FrameworkArnsT = Aws::Vector<Aws::String>>
64 void SetFrameworkArns(FrameworkArnsT&& value) { m_frameworkArnsHasBeenSet =
true; m_frameworkArns = std::forward<FrameworkArnsT>(value); }
65 template<
typename FrameworkArnsT = Aws::Vector<Aws::String>>
67 template<
typename FrameworkArnsT = Aws::String>
68 ReportSetting&
AddFrameworkArns(FrameworkArnsT&& value) { m_frameworkArnsHasBeenSet =
true; m_frameworkArns.emplace_back(std::forward<FrameworkArnsT>(value));
return *
this; }
77 inline void SetNumberOfFrameworks(
int value) { m_numberOfFrameworksHasBeenSet =
true; m_numberOfFrameworks = value; }
88 template<
typename AccountsT = Aws::Vector<Aws::String>>
89 void SetAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts = std::forward<AccountsT>(value); }
90 template<
typename AccountsT = Aws::Vector<Aws::String>>
92 template<
typename AccountsT = Aws::String>
93 ReportSetting&
AddAccounts(AccountsT&& value) { m_accountsHasBeenSet =
true; m_accounts.emplace_back(std::forward<AccountsT>(value));
return *
this; }
102 template<
typename OrganizationUnitsT = Aws::Vector<Aws::String>>
103 void SetOrganizationUnits(OrganizationUnitsT&& value) { m_organizationUnitsHasBeenSet =
true; m_organizationUnits = std::forward<OrganizationUnitsT>(value); }
104 template<
typename OrganizationUnitsT = Aws::Vector<Aws::String>>
106 template<
typename OrganizationUnitsT = Aws::String>
107 ReportSetting&
AddOrganizationUnits(OrganizationUnitsT&& value) { m_organizationUnitsHasBeenSet =
true; m_organizationUnits.emplace_back(std::forward<OrganizationUnitsT>(value));
return *
this; }
117 template<
typename RegionsT = Aws::Vector<Aws::String>>
118 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions = std::forward<RegionsT>(value); }
119 template<
typename RegionsT = Aws::Vector<Aws::String>>
121 template<
typename RegionsT = Aws::String>
122 ReportSetting&
AddRegions(RegionsT&& value) { m_regionsHasBeenSet =
true; m_regions.emplace_back(std::forward<RegionsT>(value));
return *
this; }
127 bool m_reportTemplateHasBeenSet =
false;
130 bool m_frameworkArnsHasBeenSet =
false;
132 int m_numberOfFrameworks{0};
133 bool m_numberOfFrameworksHasBeenSet =
false;
136 bool m_accountsHasBeenSet =
false;
139 bool m_organizationUnitsHasBeenSet =
false;
142 bool m_regionsHasBeenSet =
false;
AWS_BACKUP_API ReportSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountsHasBeenSet() const
ReportSetting & AddRegions(RegionsT &&value)
ReportSetting & WithAccounts(AccountsT &&value)
const Aws::String & GetReportTemplate() const
bool RegionsHasBeenSet() const
ReportSetting & WithOrganizationUnits(OrganizationUnitsT &&value)
AWS_BACKUP_API ReportSetting(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetRegions() const
ReportSetting & AddOrganizationUnits(OrganizationUnitsT &&value)
const Aws::Vector< Aws::String > & GetOrganizationUnits() const
void SetReportTemplate(ReportTemplateT &&value)
const Aws::Vector< Aws::String > & GetFrameworkArns() const
bool ReportTemplateHasBeenSet() const
void SetRegions(RegionsT &&value)
void SetOrganizationUnits(OrganizationUnitsT &&value)
void SetNumberOfFrameworks(int value)
ReportSetting & WithFrameworkArns(FrameworkArnsT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ReportSetting()=default
bool NumberOfFrameworksHasBeenSet() const
ReportSetting & AddAccounts(AccountsT &&value)
ReportSetting & WithReportTemplate(ReportTemplateT &&value)
bool FrameworkArnsHasBeenSet() const
ReportSetting & WithRegions(RegionsT &&value)
int GetNumberOfFrameworks() const
ReportSetting & AddFrameworkArns(FrameworkArnsT &&value)
bool OrganizationUnitsHasBeenSet() const
ReportSetting & WithNumberOfFrameworks(int value)
const Aws::Vector< Aws::String > & GetAccounts() const
void SetAccounts(AccountsT &&value)
void SetFrameworkArns(FrameworkArnsT &&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