AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
FargateDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/ManagementType.h>
10#include <aws/core/utils/memory/stl/AWSString.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 FargateDetails() = default;
38 AWS_GUARDDUTY_API FargateDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetIssues() const { return m_issues; }
49 inline bool IssuesHasBeenSet() const { return m_issuesHasBeenSet; }
50 template<typename IssuesT = Aws::Vector<Aws::String>>
51 void SetIssues(IssuesT&& value) { m_issuesHasBeenSet = true; m_issues = std::forward<IssuesT>(value); }
52 template<typename IssuesT = Aws::Vector<Aws::String>>
53 FargateDetails& WithIssues(IssuesT&& value) { SetIssues(std::forward<IssuesT>(value)); return *this;}
54 template<typename IssuesT = Aws::String>
55 FargateDetails& AddIssues(IssuesT&& value) { m_issuesHasBeenSet = true; m_issues.emplace_back(std::forward<IssuesT>(value)); return *this; }
57
59
68 inline ManagementType GetManagementType() const { return m_managementType; }
69 inline bool ManagementTypeHasBeenSet() const { return m_managementTypeHasBeenSet; }
70 inline void SetManagementType(ManagementType value) { m_managementTypeHasBeenSet = true; m_managementType = value; }
71 inline FargateDetails& WithManagementType(ManagementType value) { SetManagementType(value); return *this;}
73 private:
74
76 bool m_issuesHasBeenSet = false;
77
79 bool m_managementTypeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GuardDuty
84} // namespace Aws
FargateDetails & WithIssues(IssuesT &&value)
AWS_GUARDDUTY_API FargateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
FargateDetails & AddIssues(IssuesT &&value)
FargateDetails & WithManagementType(ManagementType value)
AWS_GUARDDUTY_API FargateDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API FargateDetails()=default
ManagementType GetManagementType() const
void SetManagementType(ManagementType value)
const Aws::Vector< Aws::String > & GetIssues() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue