AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageEcsClusterDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/FargateDetails.h>
10#include <aws/guardduty/model/ContainerInstanceDetails.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 GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API CoverageEcsClusterDetails();
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
48 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
49 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
50 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
51 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
52 inline CoverageEcsClusterDetails& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
53 inline CoverageEcsClusterDetails& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
54 inline CoverageEcsClusterDetails& WithClusterName(const char* value) { SetClusterName(value); return *this;}
56
58
62 inline const FargateDetails& GetFargateDetails() const{ return m_fargateDetails; }
63 inline bool FargateDetailsHasBeenSet() const { return m_fargateDetailsHasBeenSet; }
64 inline void SetFargateDetails(const FargateDetails& value) { m_fargateDetailsHasBeenSet = true; m_fargateDetails = value; }
65 inline void SetFargateDetails(FargateDetails&& value) { m_fargateDetailsHasBeenSet = true; m_fargateDetails = std::move(value); }
67 inline CoverageEcsClusterDetails& WithFargateDetails(FargateDetails&& value) { SetFargateDetails(std::move(value)); return *this;}
69
71
75 inline const ContainerInstanceDetails& GetContainerInstanceDetails() const{ return m_containerInstanceDetails; }
76 inline bool ContainerInstanceDetailsHasBeenSet() const { return m_containerInstanceDetailsHasBeenSet; }
77 inline void SetContainerInstanceDetails(const ContainerInstanceDetails& value) { m_containerInstanceDetailsHasBeenSet = true; m_containerInstanceDetails = value; }
78 inline void SetContainerInstanceDetails(ContainerInstanceDetails&& value) { m_containerInstanceDetailsHasBeenSet = true; m_containerInstanceDetails = std::move(value); }
82 private:
83
84 Aws::String m_clusterName;
85 bool m_clusterNameHasBeenSet = false;
86
87 FargateDetails m_fargateDetails;
88 bool m_fargateDetailsHasBeenSet = false;
89
90 ContainerInstanceDetails m_containerInstanceDetails;
91 bool m_containerInstanceDetailsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GuardDuty
96} // namespace Aws
CoverageEcsClusterDetails & WithFargateDetails(const FargateDetails &value)
void SetContainerInstanceDetails(const ContainerInstanceDetails &value)
const ContainerInstanceDetails & GetContainerInstanceDetails() const
CoverageEcsClusterDetails & WithClusterName(const char *value)
CoverageEcsClusterDetails & WithContainerInstanceDetails(ContainerInstanceDetails &&value)
CoverageEcsClusterDetails & WithClusterName(Aws::String &&value)
AWS_GUARDDUTY_API CoverageEcsClusterDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API CoverageEcsClusterDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CoverageEcsClusterDetails & WithClusterName(const Aws::String &value)
CoverageEcsClusterDetails & WithContainerInstanceDetails(const ContainerInstanceDetails &value)
void SetContainerInstanceDetails(ContainerInstanceDetails &&value)
CoverageEcsClusterDetails & WithFargateDetails(FargateDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue