AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageResourceDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/CoverageEksClusterDetails.h>
9#include <aws/guardduty/model/ResourceType.h>
10#include <aws/guardduty/model/CoverageEcsClusterDetails.h>
11#include <aws/guardduty/model/CoverageEc2InstanceDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GUARDDUTY_API CoverageResourceDetails();
41 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CoverageEksClusterDetails& GetEksClusterDetails() const{ return m_eksClusterDetails; }
49 inline bool EksClusterDetailsHasBeenSet() const { return m_eksClusterDetailsHasBeenSet; }
50 inline void SetEksClusterDetails(const CoverageEksClusterDetails& value) { m_eksClusterDetailsHasBeenSet = true; m_eksClusterDetails = value; }
51 inline void SetEksClusterDetails(CoverageEksClusterDetails&& value) { m_eksClusterDetailsHasBeenSet = true; m_eksClusterDetails = std::move(value); }
55
57
60 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
61 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
62 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
63 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
64 inline CoverageResourceDetails& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
65 inline CoverageResourceDetails& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
67
69
73 inline const CoverageEcsClusterDetails& GetEcsClusterDetails() const{ return m_ecsClusterDetails; }
74 inline bool EcsClusterDetailsHasBeenSet() const { return m_ecsClusterDetailsHasBeenSet; }
75 inline void SetEcsClusterDetails(const CoverageEcsClusterDetails& value) { m_ecsClusterDetailsHasBeenSet = true; m_ecsClusterDetails = value; }
76 inline void SetEcsClusterDetails(CoverageEcsClusterDetails&& value) { m_ecsClusterDetailsHasBeenSet = true; m_ecsClusterDetails = std::move(value); }
80
82
85 inline const CoverageEc2InstanceDetails& GetEc2InstanceDetails() const{ return m_ec2InstanceDetails; }
86 inline bool Ec2InstanceDetailsHasBeenSet() const { return m_ec2InstanceDetailsHasBeenSet; }
87 inline void SetEc2InstanceDetails(const CoverageEc2InstanceDetails& value) { m_ec2InstanceDetailsHasBeenSet = true; m_ec2InstanceDetails = value; }
88 inline void SetEc2InstanceDetails(CoverageEc2InstanceDetails&& value) { m_ec2InstanceDetailsHasBeenSet = true; m_ec2InstanceDetails = std::move(value); }
92 private:
93
94 CoverageEksClusterDetails m_eksClusterDetails;
95 bool m_eksClusterDetailsHasBeenSet = false;
96
97 ResourceType m_resourceType;
98 bool m_resourceTypeHasBeenSet = false;
99
100 CoverageEcsClusterDetails m_ecsClusterDetails;
101 bool m_ecsClusterDetailsHasBeenSet = false;
102
103 CoverageEc2InstanceDetails m_ec2InstanceDetails;
104 bool m_ec2InstanceDetailsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GuardDuty
109} // namespace Aws
void SetEcsClusterDetails(const CoverageEcsClusterDetails &value)
const CoverageEksClusterDetails & GetEksClusterDetails() const
CoverageResourceDetails & WithEksClusterDetails(CoverageEksClusterDetails &&value)
void SetEc2InstanceDetails(CoverageEc2InstanceDetails &&value)
void SetEcsClusterDetails(CoverageEcsClusterDetails &&value)
void SetEksClusterDetails(CoverageEksClusterDetails &&value)
CoverageResourceDetails & WithResourceType(const ResourceType &value)
CoverageResourceDetails & WithEc2InstanceDetails(const CoverageEc2InstanceDetails &value)
CoverageResourceDetails & WithEcsClusterDetails(const CoverageEcsClusterDetails &value)
CoverageResourceDetails & WithResourceType(ResourceType &&value)
AWS_GUARDDUTY_API CoverageResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API CoverageResourceDetails(Aws::Utils::Json::JsonView jsonValue)
CoverageResourceDetails & WithEcsClusterDetails(CoverageEcsClusterDetails &&value)
void SetEc2InstanceDetails(const CoverageEc2InstanceDetails &value)
CoverageResourceDetails & WithEc2InstanceDetails(CoverageEc2InstanceDetails &&value)
void SetEksClusterDetails(const CoverageEksClusterDetails &value)
const CoverageEc2InstanceDetails & GetEc2InstanceDetails() const
CoverageResourceDetails & WithEksClusterDetails(const CoverageEksClusterDetails &value)
const CoverageEcsClusterDetails & GetEcsClusterDetails() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue