AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectorHealthCheck.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/model/CollectorStatus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck();
36 AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const CollectorStatus& GetCollectorStatus() const{ return m_collectorStatus; }
46 inline bool CollectorStatusHasBeenSet() const { return m_collectorStatusHasBeenSet; }
47 inline void SetCollectorStatus(const CollectorStatus& value) { m_collectorStatusHasBeenSet = true; m_collectorStatus = value; }
48 inline void SetCollectorStatus(CollectorStatus&& value) { m_collectorStatusHasBeenSet = true; m_collectorStatus = std::move(value); }
49 inline CollectorHealthCheck& WithCollectorStatus(const CollectorStatus& value) { SetCollectorStatus(value); return *this;}
50 inline CollectorHealthCheck& WithCollectorStatus(CollectorStatus&& value) { SetCollectorStatus(std::move(value)); return *this;}
52
54
57 inline bool GetLocalCollectorS3Access() const{ return m_localCollectorS3Access; }
58 inline bool LocalCollectorS3AccessHasBeenSet() const { return m_localCollectorS3AccessHasBeenSet; }
59 inline void SetLocalCollectorS3Access(bool value) { m_localCollectorS3AccessHasBeenSet = true; m_localCollectorS3Access = value; }
62
64
67 inline bool GetWebCollectorS3Access() const{ return m_webCollectorS3Access; }
68 inline bool WebCollectorS3AccessHasBeenSet() const { return m_webCollectorS3AccessHasBeenSet; }
69 inline void SetWebCollectorS3Access(bool value) { m_webCollectorS3AccessHasBeenSet = true; m_webCollectorS3Access = value; }
70 inline CollectorHealthCheck& WithWebCollectorS3Access(bool value) { SetWebCollectorS3Access(value); return *this;}
72
74
78 inline bool GetWebCollectorGrantedRoleBasedAccess() const{ return m_webCollectorGrantedRoleBasedAccess; }
79 inline bool WebCollectorGrantedRoleBasedAccessHasBeenSet() const { return m_webCollectorGrantedRoleBasedAccessHasBeenSet; }
80 inline void SetWebCollectorGrantedRoleBasedAccess(bool value) { m_webCollectorGrantedRoleBasedAccessHasBeenSet = true; m_webCollectorGrantedRoleBasedAccess = value; }
83 private:
84
85 CollectorStatus m_collectorStatus;
86 bool m_collectorStatusHasBeenSet = false;
87
88 bool m_localCollectorS3Access;
89 bool m_localCollectorS3AccessHasBeenSet = false;
90
91 bool m_webCollectorS3Access;
92 bool m_webCollectorS3AccessHasBeenSet = false;
93
94 bool m_webCollectorGrantedRoleBasedAccess;
95 bool m_webCollectorGrantedRoleBasedAccessHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DatabaseMigrationService
100} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck()
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectorHealthCheck & WithWebCollectorGrantedRoleBasedAccess(bool value)
CollectorHealthCheck & WithCollectorStatus(CollectorStatus &&value)
CollectorHealthCheck & WithCollectorStatus(const CollectorStatus &value)
AWS_DATABASEMIGRATIONSERVICE_API CollectorHealthCheck(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue