AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationAggregatedStatus.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/ApplicationHealthStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/ApplicationProgressStatus.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:
40
41
43
46 inline const ApplicationHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
47 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
48 inline void SetHealthStatus(const ApplicationHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
49 inline void SetHealthStatus(ApplicationHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); }
51 inline ApplicationAggregatedStatus& WithHealthStatus(ApplicationHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetLastUpdateDateTime() const{ return m_lastUpdateDateTime; }
59 inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; }
60 inline void SetLastUpdateDateTime(const Aws::String& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = value; }
61 inline void SetLastUpdateDateTime(Aws::String&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::move(value); }
62 inline void SetLastUpdateDateTime(const char* value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime.assign(value); }
64 inline ApplicationAggregatedStatus& WithLastUpdateDateTime(Aws::String&& value) { SetLastUpdateDateTime(std::move(value)); return *this;}
65 inline ApplicationAggregatedStatus& WithLastUpdateDateTime(const char* value) { SetLastUpdateDateTime(value); return *this;}
67
69
72 inline const ApplicationProgressStatus& GetProgressStatus() const{ return m_progressStatus; }
73 inline bool ProgressStatusHasBeenSet() const { return m_progressStatusHasBeenSet; }
74 inline void SetProgressStatus(const ApplicationProgressStatus& value) { m_progressStatusHasBeenSet = true; m_progressStatus = value; }
75 inline void SetProgressStatus(ApplicationProgressStatus&& value) { m_progressStatusHasBeenSet = true; m_progressStatus = std::move(value); }
79
81
84 inline long long GetTotalSourceServers() const{ return m_totalSourceServers; }
85 inline bool TotalSourceServersHasBeenSet() const { return m_totalSourceServersHasBeenSet; }
86 inline void SetTotalSourceServers(long long value) { m_totalSourceServersHasBeenSet = true; m_totalSourceServers = value; }
87 inline ApplicationAggregatedStatus& WithTotalSourceServers(long long value) { SetTotalSourceServers(value); return *this;}
89 private:
90
91 ApplicationHealthStatus m_healthStatus;
92 bool m_healthStatusHasBeenSet = false;
93
94 Aws::String m_lastUpdateDateTime;
95 bool m_lastUpdateDateTimeHasBeenSet = false;
96
97 ApplicationProgressStatus m_progressStatus;
98 bool m_progressStatusHasBeenSet = false;
99
100 long long m_totalSourceServers;
101 bool m_totalSourceServersHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace mgn
106} // namespace Aws
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProgressStatus(ApplicationProgressStatus &&value)
ApplicationAggregatedStatus & WithHealthStatus(ApplicationHealthStatus &&value)
ApplicationAggregatedStatus & WithHealthStatus(const ApplicationHealthStatus &value)
const ApplicationHealthStatus & GetHealthStatus() const
void SetProgressStatus(const ApplicationProgressStatus &value)
ApplicationAggregatedStatus & WithLastUpdateDateTime(Aws::String &&value)
ApplicationAggregatedStatus & WithLastUpdateDateTime(const Aws::String &value)
void SetHealthStatus(ApplicationHealthStatus &&value)
AWS_MGN_API ApplicationAggregatedStatus(Aws::Utils::Json::JsonView jsonValue)
void SetHealthStatus(const ApplicationHealthStatus &value)
const ApplicationProgressStatus & GetProgressStatus() const
ApplicationAggregatedStatus & WithTotalSourceServers(long long value)
ApplicationAggregatedStatus & WithLastUpdateDateTime(const char *value)
ApplicationAggregatedStatus & WithProgressStatus(ApplicationProgressStatus &&value)
AWS_MGN_API ApplicationAggregatedStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationAggregatedStatus & WithProgressStatus(const ApplicationProgressStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue