AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
ResourceConfiguration.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/BedrockConfiguration.h>
9#include <aws/amplifygen3/model/CustomConfiguration.h>
10#include <aws/amplifygen3/model/DsqlConfiguration.h>
11#include <aws/amplifygen3/model/S3Configuration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyGen3 {
23namespace Model {
24
31 public:
32 AWS_AMPLIFYGEN3_API ResourceConfiguration() = default;
33 AWS_AMPLIFYGEN3_API ResourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const S3Configuration& GetS3() const { return m_s3; }
42 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
43 template <typename S3T = S3Configuration>
44 void SetS3(S3T&& value) {
45 m_s3HasBeenSet = true;
46 m_s3 = std::forward<S3T>(value);
47 }
48 template <typename S3T = S3Configuration>
50 SetS3(std::forward<S3T>(value));
51 return *this;
52 }
54
56
59 inline const DsqlConfiguration& GetDsql() const { return m_dsql; }
60 inline bool DsqlHasBeenSet() const { return m_dsqlHasBeenSet; }
61 template <typename DsqlT = DsqlConfiguration>
62 void SetDsql(DsqlT&& value) {
63 m_dsqlHasBeenSet = true;
64 m_dsql = std::forward<DsqlT>(value);
65 }
66 template <typename DsqlT = DsqlConfiguration>
68 SetDsql(std::forward<DsqlT>(value));
69 return *this;
70 }
72
74
77 inline const BedrockConfiguration& GetBedrock() const { return m_bedrock; }
78 inline bool BedrockHasBeenSet() const { return m_bedrockHasBeenSet; }
79 template <typename BedrockT = BedrockConfiguration>
80 void SetBedrock(BedrockT&& value) {
81 m_bedrockHasBeenSet = true;
82 m_bedrock = std::forward<BedrockT>(value);
83 }
84 template <typename BedrockT = BedrockConfiguration>
86 SetBedrock(std::forward<BedrockT>(value));
87 return *this;
88 }
90
92
95 inline const CustomConfiguration& GetCustom() const { return m_custom; }
96 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
97 template <typename CustomT = CustomConfiguration>
98 void SetCustom(CustomT&& value) {
99 m_customHasBeenSet = true;
100 m_custom = std::forward<CustomT>(value);
101 }
102 template <typename CustomT = CustomConfiguration>
104 SetCustom(std::forward<CustomT>(value));
105 return *this;
106 }
108 private:
109 S3Configuration m_s3;
110
111 DsqlConfiguration m_dsql;
112
113 BedrockConfiguration m_bedrock;
114
115 CustomConfiguration m_custom;
116 bool m_s3HasBeenSet = false;
117 bool m_dsqlHasBeenSet = false;
118 bool m_bedrockHasBeenSet = false;
119 bool m_customHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace AmplifyGen3
124} // namespace Aws
ResourceConfiguration & WithDsql(DsqlT &&value)
AWS_AMPLIFYGEN3_API ResourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ResourceConfiguration & WithBedrock(BedrockT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceConfiguration & WithS3(S3T &&value)
const CustomConfiguration & GetCustom() const
const BedrockConfiguration & GetBedrock() const
AWS_AMPLIFYGEN3_API ResourceConfiguration()=default
ResourceConfiguration & WithCustom(CustomT &&value)
AWS_AMPLIFYGEN3_API ResourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue