AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportSetting.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Backup
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BACKUP_API ReportSetting();
37 AWS_BACKUP_API ReportSetting(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetReportTemplate() const{ return m_reportTemplate; }
50 inline bool ReportTemplateHasBeenSet() const { return m_reportTemplateHasBeenSet; }
51 inline void SetReportTemplate(const Aws::String& value) { m_reportTemplateHasBeenSet = true; m_reportTemplate = value; }
52 inline void SetReportTemplate(Aws::String&& value) { m_reportTemplateHasBeenSet = true; m_reportTemplate = std::move(value); }
53 inline void SetReportTemplate(const char* value) { m_reportTemplateHasBeenSet = true; m_reportTemplate.assign(value); }
54 inline ReportSetting& WithReportTemplate(const Aws::String& value) { SetReportTemplate(value); return *this;}
55 inline ReportSetting& WithReportTemplate(Aws::String&& value) { SetReportTemplate(std::move(value)); return *this;}
56 inline ReportSetting& WithReportTemplate(const char* value) { SetReportTemplate(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetFrameworkArns() const{ return m_frameworkArns; }
64 inline bool FrameworkArnsHasBeenSet() const { return m_frameworkArnsHasBeenSet; }
65 inline void SetFrameworkArns(const Aws::Vector<Aws::String>& value) { m_frameworkArnsHasBeenSet = true; m_frameworkArns = value; }
66 inline void SetFrameworkArns(Aws::Vector<Aws::String>&& value) { m_frameworkArnsHasBeenSet = true; m_frameworkArns = std::move(value); }
67 inline ReportSetting& WithFrameworkArns(const Aws::Vector<Aws::String>& value) { SetFrameworkArns(value); return *this;}
68 inline ReportSetting& WithFrameworkArns(Aws::Vector<Aws::String>&& value) { SetFrameworkArns(std::move(value)); return *this;}
69 inline ReportSetting& AddFrameworkArns(const Aws::String& value) { m_frameworkArnsHasBeenSet = true; m_frameworkArns.push_back(value); return *this; }
70 inline ReportSetting& AddFrameworkArns(Aws::String&& value) { m_frameworkArnsHasBeenSet = true; m_frameworkArns.push_back(std::move(value)); return *this; }
71 inline ReportSetting& AddFrameworkArns(const char* value) { m_frameworkArnsHasBeenSet = true; m_frameworkArns.push_back(value); return *this; }
73
75
78 inline int GetNumberOfFrameworks() const{ return m_numberOfFrameworks; }
79 inline bool NumberOfFrameworksHasBeenSet() const { return m_numberOfFrameworksHasBeenSet; }
80 inline void SetNumberOfFrameworks(int value) { m_numberOfFrameworksHasBeenSet = true; m_numberOfFrameworks = value; }
81 inline ReportSetting& WithNumberOfFrameworks(int value) { SetNumberOfFrameworks(value); return *this;}
83
85
89 inline const Aws::Vector<Aws::String>& GetAccounts() const{ return m_accounts; }
90 inline bool AccountsHasBeenSet() const { return m_accountsHasBeenSet; }
91 inline void SetAccounts(const Aws::Vector<Aws::String>& value) { m_accountsHasBeenSet = true; m_accounts = value; }
92 inline void SetAccounts(Aws::Vector<Aws::String>&& value) { m_accountsHasBeenSet = true; m_accounts = std::move(value); }
93 inline ReportSetting& WithAccounts(const Aws::Vector<Aws::String>& value) { SetAccounts(value); return *this;}
94 inline ReportSetting& WithAccounts(Aws::Vector<Aws::String>&& value) { SetAccounts(std::move(value)); return *this;}
95 inline ReportSetting& AddAccounts(const Aws::String& value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
96 inline ReportSetting& AddAccounts(Aws::String&& value) { m_accountsHasBeenSet = true; m_accounts.push_back(std::move(value)); return *this; }
97 inline ReportSetting& AddAccounts(const char* value) { m_accountsHasBeenSet = true; m_accounts.push_back(value); return *this; }
99
101
104 inline const Aws::Vector<Aws::String>& GetOrganizationUnits() const{ return m_organizationUnits; }
105 inline bool OrganizationUnitsHasBeenSet() const { return m_organizationUnitsHasBeenSet; }
106 inline void SetOrganizationUnits(const Aws::Vector<Aws::String>& value) { m_organizationUnitsHasBeenSet = true; m_organizationUnits = value; }
107 inline void SetOrganizationUnits(Aws::Vector<Aws::String>&& value) { m_organizationUnitsHasBeenSet = true; m_organizationUnits = std::move(value); }
109 inline ReportSetting& WithOrganizationUnits(Aws::Vector<Aws::String>&& value) { SetOrganizationUnits(std::move(value)); return *this;}
110 inline ReportSetting& AddOrganizationUnits(const Aws::String& value) { m_organizationUnitsHasBeenSet = true; m_organizationUnits.push_back(value); return *this; }
111 inline ReportSetting& AddOrganizationUnits(Aws::String&& value) { m_organizationUnitsHasBeenSet = true; m_organizationUnits.push_back(std::move(value)); return *this; }
112 inline ReportSetting& AddOrganizationUnits(const char* value) { m_organizationUnitsHasBeenSet = true; m_organizationUnits.push_back(value); return *this; }
114
116
120 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
121 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
122 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
123 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
124 inline ReportSetting& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
125 inline ReportSetting& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
126 inline ReportSetting& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
127 inline ReportSetting& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
128 inline ReportSetting& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
130 private:
131
132 Aws::String m_reportTemplate;
133 bool m_reportTemplateHasBeenSet = false;
134
135 Aws::Vector<Aws::String> m_frameworkArns;
136 bool m_frameworkArnsHasBeenSet = false;
137
138 int m_numberOfFrameworks;
139 bool m_numberOfFrameworksHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_accounts;
142 bool m_accountsHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_organizationUnits;
145 bool m_organizationUnitsHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_regions;
148 bool m_regionsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Backup
153} // namespace Aws
AWS_BACKUP_API ReportSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportSetting & AddFrameworkArns(const Aws::String &value)
void SetReportTemplate(const Aws::String &value)
ReportSetting & WithOrganizationUnits(Aws::Vector< Aws::String > &&value)
void SetAccounts(const Aws::Vector< Aws::String > &value)
ReportSetting & WithAccounts(Aws::Vector< Aws::String > &&value)
ReportSetting & AddFrameworkArns(Aws::String &&value)
ReportSetting & WithFrameworkArns(Aws::Vector< Aws::String > &&value)
ReportSetting & AddFrameworkArns(const char *value)
ReportSetting & WithRegions(Aws::Vector< Aws::String > &&value)
ReportSetting & AddOrganizationUnits(const char *value)
ReportSetting & WithReportTemplate(const char *value)
void SetFrameworkArns(const Aws::Vector< Aws::String > &value)
const Aws::String & GetReportTemplate() const
ReportSetting & AddAccounts(Aws::String &&value)
void SetRegions(const Aws::Vector< Aws::String > &value)
ReportSetting & WithRegions(const Aws::Vector< Aws::String > &value)
AWS_BACKUP_API ReportSetting(Aws::Utils::Json::JsonView jsonValue)
ReportSetting & AddOrganizationUnits(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRegions() const
const Aws::Vector< Aws::String > & GetOrganizationUnits() const
const Aws::Vector< Aws::String > & GetFrameworkArns() const
ReportSetting & AddAccounts(const char *value)
void SetReportTemplate(Aws::String &&value)
void SetAccounts(Aws::Vector< Aws::String > &&value)
ReportSetting & WithReportTemplate(const Aws::String &value)
ReportSetting & AddRegions(const char *value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegions(Aws::Vector< Aws::String > &&value)
void SetReportTemplate(const char *value)
void SetOrganizationUnits(Aws::Vector< Aws::String > &&value)
void SetOrganizationUnits(const Aws::Vector< Aws::String > &value)
ReportSetting & AddRegions(const Aws::String &value)
ReportSetting & AddAccounts(const Aws::String &value)
ReportSetting & WithReportTemplate(Aws::String &&value)
void SetFrameworkArns(Aws::Vector< Aws::String > &&value)
ReportSetting & WithAccounts(const Aws::Vector< Aws::String > &value)
ReportSetting & WithNumberOfFrameworks(int value)
const Aws::Vector< Aws::String > & GetAccounts() const
ReportSetting & AddOrganizationUnits(Aws::String &&value)
ReportSetting & WithFrameworkArns(const Aws::Vector< Aws::String > &value)
ReportSetting & AddRegions(Aws::String &&value)
ReportSetting & WithOrganizationUnits(const Aws::Vector< Aws::String > &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