AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MGN_API ImportTaskSummary() = default;
40
41
43
46 inline const ImportTaskSummaryApplications& GetApplications() const { return m_applications; }
47 inline bool ApplicationsHasBeenSet() const { return m_applicationsHasBeenSet; }
48 template<typename ApplicationsT = ImportTaskSummaryApplications>
49 void SetApplications(ApplicationsT&& value) { m_applicationsHasBeenSet = true; m_applications = std::forward<ApplicationsT>(value); }
50 template<typename ApplicationsT = ImportTaskSummaryApplications>
51 ImportTaskSummary& WithApplications(ApplicationsT&& value) { SetApplications(std::forward<ApplicationsT>(value)); return *this;}
53
55
58 inline const ImportTaskSummaryServers& GetServers() const { return m_servers; }
59 inline bool ServersHasBeenSet() const { return m_serversHasBeenSet; }
60 template<typename ServersT = ImportTaskSummaryServers>
61 void SetServers(ServersT&& value) { m_serversHasBeenSet = true; m_servers = std::forward<ServersT>(value); }
62 template<typename ServersT = ImportTaskSummaryServers>
63 ImportTaskSummary& WithServers(ServersT&& value) { SetServers(std::forward<ServersT>(value)); return *this;}
65
67
70 inline const ImportTaskSummaryWaves& GetWaves() const { return m_waves; }
71 inline bool WavesHasBeenSet() const { return m_wavesHasBeenSet; }
72 template<typename WavesT = ImportTaskSummaryWaves>
73 void SetWaves(WavesT&& value) { m_wavesHasBeenSet = true; m_waves = std::forward<WavesT>(value); }
74 template<typename WavesT = ImportTaskSummaryWaves>
75 ImportTaskSummary& WithWaves(WavesT&& value) { SetWaves(std::forward<WavesT>(value)); return *this;}
77 private:
78
79 ImportTaskSummaryApplications m_applications;
80 bool m_applicationsHasBeenSet = false;
81
83 bool m_serversHasBeenSet = false;
84
86 bool m_wavesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace mgn
91} // 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