AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIssues(const Aws::Vector<Aws::String>& value) { m_issuesHasBeenSet = true; m_issues = value; }
51 inline void SetIssues(Aws::Vector<Aws::String>&& value) { m_issuesHasBeenSet = true; m_issues = std::move(value); }
52 inline FargateDetails& WithIssues(const Aws::Vector<Aws::String>& value) { SetIssues(value); return *this;}
53 inline FargateDetails& WithIssues(Aws::Vector<Aws::String>&& value) { SetIssues(std::move(value)); return *this;}
54 inline FargateDetails& AddIssues(const Aws::String& value) { m_issuesHasBeenSet = true; m_issues.push_back(value); return *this; }
55 inline FargateDetails& AddIssues(Aws::String&& value) { m_issuesHasBeenSet = true; m_issues.push_back(std::move(value)); return *this; }
56 inline FargateDetails& AddIssues(const char* value) { m_issuesHasBeenSet = true; m_issues.push_back(value); return *this; }
58
60
69 inline const ManagementType& GetManagementType() const{ return m_managementType; }
70 inline bool ManagementTypeHasBeenSet() const { return m_managementTypeHasBeenSet; }
71 inline void SetManagementType(const ManagementType& value) { m_managementTypeHasBeenSet = true; m_managementType = value; }
72 inline void SetManagementType(ManagementType&& value) { m_managementTypeHasBeenSet = true; m_managementType = std::move(value); }
73 inline FargateDetails& WithManagementType(const ManagementType& value) { SetManagementType(value); return *this;}
74 inline FargateDetails& WithManagementType(ManagementType&& value) { SetManagementType(std::move(value)); return *this;}
76 private:
77
79 bool m_issuesHasBeenSet = false;
80
81 ManagementType m_managementType;
82 bool m_managementTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace GuardDuty
87} // namespace Aws
AWS_GUARDDUTY_API FargateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
FargateDetails & AddIssues(Aws::String &&value)
FargateDetails & WithManagementType(ManagementType &&value)
FargateDetails & AddIssues(const Aws::String &value)
void SetIssues(const Aws::Vector< Aws::String > &value)
void SetManagementType(ManagementType &&value)
FargateDetails & AddIssues(const char *value)
AWS_GUARDDUTY_API FargateDetails(Aws::Utils::Json::JsonView jsonValue)
void SetManagementType(const ManagementType &value)
const ManagementType & GetManagementType() const
FargateDetails & WithIssues(const Aws::Vector< Aws::String > &value)
FargateDetails & WithManagementType(const ManagementType &value)
const Aws::Vector< Aws::String > & GetIssues() const
FargateDetails & WithIssues(Aws::Vector< Aws::String > &&value)
void SetIssues(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue