AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceDataContainer.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/LocalDeviceResourceData.h>
9#include <aws/greengrass/model/LocalVolumeResourceData.h>
10#include <aws/greengrass/model/S3MachineLearningModelResourceData.h>
11#include <aws/greengrass/model/SageMakerMachineLearningModelResourceData.h>
12#include <aws/greengrass/model/SecretsManagerSecretResourceData.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Greengrass
26{
27namespace Model
28{
29
40 {
41 public:
42 AWS_GREENGRASS_API ResourceDataContainer();
45 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const LocalDeviceResourceData& GetLocalDeviceResourceData() const{ return m_localDeviceResourceData; }
53 inline bool LocalDeviceResourceDataHasBeenSet() const { return m_localDeviceResourceDataHasBeenSet; }
54 inline void SetLocalDeviceResourceData(const LocalDeviceResourceData& value) { m_localDeviceResourceDataHasBeenSet = true; m_localDeviceResourceData = value; }
55 inline void SetLocalDeviceResourceData(LocalDeviceResourceData&& value) { m_localDeviceResourceDataHasBeenSet = true; m_localDeviceResourceData = std::move(value); }
59
61
64 inline const LocalVolumeResourceData& GetLocalVolumeResourceData() const{ return m_localVolumeResourceData; }
65 inline bool LocalVolumeResourceDataHasBeenSet() const { return m_localVolumeResourceDataHasBeenSet; }
66 inline void SetLocalVolumeResourceData(const LocalVolumeResourceData& value) { m_localVolumeResourceDataHasBeenSet = true; m_localVolumeResourceData = value; }
67 inline void SetLocalVolumeResourceData(LocalVolumeResourceData&& value) { m_localVolumeResourceDataHasBeenSet = true; m_localVolumeResourceData = std::move(value); }
71
73
76 inline const S3MachineLearningModelResourceData& GetS3MachineLearningModelResourceData() const{ return m_s3MachineLearningModelResourceData; }
77 inline bool S3MachineLearningModelResourceDataHasBeenSet() const { return m_s3MachineLearningModelResourceDataHasBeenSet; }
78 inline void SetS3MachineLearningModelResourceData(const S3MachineLearningModelResourceData& value) { m_s3MachineLearningModelResourceDataHasBeenSet = true; m_s3MachineLearningModelResourceData = value; }
79 inline void SetS3MachineLearningModelResourceData(S3MachineLearningModelResourceData&& value) { m_s3MachineLearningModelResourceDataHasBeenSet = true; m_s3MachineLearningModelResourceData = std::move(value); }
83
85
88 inline const SageMakerMachineLearningModelResourceData& GetSageMakerMachineLearningModelResourceData() const{ return m_sageMakerMachineLearningModelResourceData; }
89 inline bool SageMakerMachineLearningModelResourceDataHasBeenSet() const { return m_sageMakerMachineLearningModelResourceDataHasBeenSet; }
90 inline void SetSageMakerMachineLearningModelResourceData(const SageMakerMachineLearningModelResourceData& value) { m_sageMakerMachineLearningModelResourceDataHasBeenSet = true; m_sageMakerMachineLearningModelResourceData = value; }
91 inline void SetSageMakerMachineLearningModelResourceData(SageMakerMachineLearningModelResourceData&& value) { m_sageMakerMachineLearningModelResourceDataHasBeenSet = true; m_sageMakerMachineLearningModelResourceData = std::move(value); }
95
97
101 inline const SecretsManagerSecretResourceData& GetSecretsManagerSecretResourceData() const{ return m_secretsManagerSecretResourceData; }
102 inline bool SecretsManagerSecretResourceDataHasBeenSet() const { return m_secretsManagerSecretResourceDataHasBeenSet; }
103 inline void SetSecretsManagerSecretResourceData(const SecretsManagerSecretResourceData& value) { m_secretsManagerSecretResourceDataHasBeenSet = true; m_secretsManagerSecretResourceData = value; }
104 inline void SetSecretsManagerSecretResourceData(SecretsManagerSecretResourceData&& value) { m_secretsManagerSecretResourceDataHasBeenSet = true; m_secretsManagerSecretResourceData = std::move(value); }
108 private:
109
110 LocalDeviceResourceData m_localDeviceResourceData;
111 bool m_localDeviceResourceDataHasBeenSet = false;
112
113 LocalVolumeResourceData m_localVolumeResourceData;
114 bool m_localVolumeResourceDataHasBeenSet = false;
115
116 S3MachineLearningModelResourceData m_s3MachineLearningModelResourceData;
117 bool m_s3MachineLearningModelResourceDataHasBeenSet = false;
118
119 SageMakerMachineLearningModelResourceData m_sageMakerMachineLearningModelResourceData;
120 bool m_sageMakerMachineLearningModelResourceDataHasBeenSet = false;
121
122 SecretsManagerSecretResourceData m_secretsManagerSecretResourceData;
123 bool m_secretsManagerSecretResourceDataHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Greengrass
128} // namespace Aws
ResourceDataContainer & WithLocalVolumeResourceData(LocalVolumeResourceData &&value)
void SetSecretsManagerSecretResourceData(SecretsManagerSecretResourceData &&value)
ResourceDataContainer & WithSageMakerMachineLearningModelResourceData(SageMakerMachineLearningModelResourceData &&value)
AWS_GREENGRASS_API ResourceDataContainer(Aws::Utils::Json::JsonView jsonValue)
ResourceDataContainer & WithSecretsManagerSecretResourceData(const SecretsManagerSecretResourceData &value)
void SetLocalDeviceResourceData(const LocalDeviceResourceData &value)
const LocalVolumeResourceData & GetLocalVolumeResourceData() const
void SetSecretsManagerSecretResourceData(const SecretsManagerSecretResourceData &value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceDataContainer & WithSageMakerMachineLearningModelResourceData(const SageMakerMachineLearningModelResourceData &value)
const LocalDeviceResourceData & GetLocalDeviceResourceData() const
void SetLocalDeviceResourceData(LocalDeviceResourceData &&value)
ResourceDataContainer & WithS3MachineLearningModelResourceData(const S3MachineLearningModelResourceData &value)
void SetLocalVolumeResourceData(const LocalVolumeResourceData &value)
const SecretsManagerSecretResourceData & GetSecretsManagerSecretResourceData() const
ResourceDataContainer & WithLocalDeviceResourceData(const LocalDeviceResourceData &value)
void SetS3MachineLearningModelResourceData(S3MachineLearningModelResourceData &&value)
ResourceDataContainer & WithSecretsManagerSecretResourceData(SecretsManagerSecretResourceData &&value)
ResourceDataContainer & WithS3MachineLearningModelResourceData(S3MachineLearningModelResourceData &&value)
const S3MachineLearningModelResourceData & GetS3MachineLearningModelResourceData() const
AWS_GREENGRASS_API ResourceDataContainer & operator=(Aws::Utils::Json::JsonView jsonValue)
const SageMakerMachineLearningModelResourceData & GetSageMakerMachineLearningModelResourceData() const
void SetLocalVolumeResourceData(LocalVolumeResourceData &&value)
ResourceDataContainer & WithLocalVolumeResourceData(const LocalVolumeResourceData &value)
ResourceDataContainer & WithLocalDeviceResourceData(LocalDeviceResourceData &&value)
void SetS3MachineLearningModelResourceData(const S3MachineLearningModelResourceData &value)
void SetSageMakerMachineLearningModelResourceData(const SageMakerMachineLearningModelResourceData &value)
void SetSageMakerMachineLearningModelResourceData(SageMakerMachineLearningModelResourceData &&value)
Aws::Utils::Json::JsonValue JsonValue