AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ImportTaskSummary.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/ImportTaskSummaryApplications.h>
9#include <aws/mgn/model/ImportTaskSummaryServers.h>
10#include <aws/mgn/model/ImportTaskSummaryWaves.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn {
22namespace Model {
23
30 public:
31 AWS_MGN_API ImportTaskSummary() = default;
35
37
40 inline const ImportTaskSummaryWaves& GetWaves() const { return m_waves; }
41 inline bool WavesHasBeenSet() const { return m_wavesHasBeenSet; }
42 template <typename WavesT = ImportTaskSummaryWaves>
43 void SetWaves(WavesT&& value) {
44 m_wavesHasBeenSet = true;
45 m_waves = std::forward<WavesT>(value);
46 }
47 template <typename WavesT = ImportTaskSummaryWaves>
48 ImportTaskSummary& WithWaves(WavesT&& value) {
49 SetWaves(std::forward<WavesT>(value));
50 return *this;
51 }
53
55
58 inline const ImportTaskSummaryApplications& GetApplications() const { return m_applications; }
59 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
60 template <typename ApplicationsT = ImportTaskSummaryApplications>
61 void SetApplications(ApplicationsT&& value) {
62 m_applicationsHasBeenSet = true;
63 m_applications = std::forward<ApplicationsT>(value);
64 }
65 template <typename ApplicationsT = ImportTaskSummaryApplications>
66 ImportTaskSummary& WithApplications(ApplicationsT&& value) {
67 SetApplications(std::forward<ApplicationsT>(value));
68 return *this;
69 }
71
73
76 inline const ImportTaskSummaryServers& GetServers() const { return m_servers; }
77 inline bool ServersHasBeenSet() const { return m_serversHasBeenSet; }
78 template <typename ServersT = ImportTaskSummaryServers>
79 void SetServers(ServersT&& value) {
80 m_serversHasBeenSet = true;
81 m_servers = std::forward<ServersT>(value);
82 }
83 template <typename ServersT = ImportTaskSummaryServers>
84 ImportTaskSummary& WithServers(ServersT&& value) {
85 SetServers(std::forward<ServersT>(value));
86 return *this;
87 }
89 private:
91
92 ImportTaskSummaryApplications m_applications;
93
95 bool m_wavesHasBeenSet = false;
96 bool m_applicationsHasBeenSet = false;
97 bool m_serversHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace mgn
102} // namespace Aws
ImportTaskSummary & WithApplications(ApplicationsT &&value)
AWS_MGN_API ImportTaskSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API ImportTaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ImportTaskSummaryApplications & GetApplications() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ImportTaskSummary & WithWaves(WavesT &&value)
const ImportTaskSummaryWaves & GetWaves() const
AWS_MGN_API ImportTaskSummary()=default
ImportTaskSummary & WithServers(ServersT &&value)
const ImportTaskSummaryServers & GetServers() const
void SetApplications(ApplicationsT &&value)
Aws::Utils::Json::JsonValue JsonValue