AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkloadDiscoveryConfig.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/TrustedAdvisorIntegrationStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/model/DefinitionType.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 WellArchitected
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_WELLARCHITECTED_API WorkloadDiscoveryConfig();
38 AWS_WELLARCHITECTED_API WorkloadDiscoveryConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const TrustedAdvisorIntegrationStatus& GetTrustedAdvisorIntegrationStatus() const{ return m_trustedAdvisorIntegrationStatus; }
49 inline bool TrustedAdvisorIntegrationStatusHasBeenSet() const { return m_trustedAdvisorIntegrationStatusHasBeenSet; }
50 inline void SetTrustedAdvisorIntegrationStatus(const TrustedAdvisorIntegrationStatus& value) { m_trustedAdvisorIntegrationStatusHasBeenSet = true; m_trustedAdvisorIntegrationStatus = value; }
51 inline void SetTrustedAdvisorIntegrationStatus(TrustedAdvisorIntegrationStatus&& value) { m_trustedAdvisorIntegrationStatusHasBeenSet = true; m_trustedAdvisorIntegrationStatus = std::move(value); }
55
57
62 inline const Aws::Vector<DefinitionType>& GetWorkloadResourceDefinition() const{ return m_workloadResourceDefinition; }
63 inline bool WorkloadResourceDefinitionHasBeenSet() const { return m_workloadResourceDefinitionHasBeenSet; }
64 inline void SetWorkloadResourceDefinition(const Aws::Vector<DefinitionType>& value) { m_workloadResourceDefinitionHasBeenSet = true; m_workloadResourceDefinition = value; }
65 inline void SetWorkloadResourceDefinition(Aws::Vector<DefinitionType>&& value) { m_workloadResourceDefinitionHasBeenSet = true; m_workloadResourceDefinition = std::move(value); }
68 inline WorkloadDiscoveryConfig& AddWorkloadResourceDefinition(const DefinitionType& value) { m_workloadResourceDefinitionHasBeenSet = true; m_workloadResourceDefinition.push_back(value); return *this; }
69 inline WorkloadDiscoveryConfig& AddWorkloadResourceDefinition(DefinitionType&& value) { m_workloadResourceDefinitionHasBeenSet = true; m_workloadResourceDefinition.push_back(std::move(value)); return *this; }
71 private:
72
73 TrustedAdvisorIntegrationStatus m_trustedAdvisorIntegrationStatus;
74 bool m_trustedAdvisorIntegrationStatusHasBeenSet = false;
75
76 Aws::Vector<DefinitionType> m_workloadResourceDefinition;
77 bool m_workloadResourceDefinitionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace WellArchitected
82} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< DefinitionType > & GetWorkloadResourceDefinition() const
void SetWorkloadResourceDefinition(const Aws::Vector< DefinitionType > &value)
AWS_WELLARCHITECTED_API WorkloadDiscoveryConfig(Aws::Utils::Json::JsonView jsonValue)
void SetTrustedAdvisorIntegrationStatus(TrustedAdvisorIntegrationStatus &&value)
AWS_WELLARCHITECTED_API WorkloadDiscoveryConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkloadDiscoveryConfig & WithWorkloadResourceDefinition(Aws::Vector< DefinitionType > &&value)
void SetTrustedAdvisorIntegrationStatus(const TrustedAdvisorIntegrationStatus &value)
WorkloadDiscoveryConfig & WithWorkloadResourceDefinition(const Aws::Vector< DefinitionType > &value)
WorkloadDiscoveryConfig & AddWorkloadResourceDefinition(DefinitionType &&value)
WorkloadDiscoveryConfig & WithTrustedAdvisorIntegrationStatus(const TrustedAdvisorIntegrationStatus &value)
WorkloadDiscoveryConfig & WithTrustedAdvisorIntegrationStatus(TrustedAdvisorIntegrationStatus &&value)
const TrustedAdvisorIntegrationStatus & GetTrustedAdvisorIntegrationStatus() const
void SetWorkloadResourceDefinition(Aws::Vector< DefinitionType > &&value)
WorkloadDiscoveryConfig & AddWorkloadResourceDefinition(const DefinitionType &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue