AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ConnectionPropertiesPatch.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AthenaPropertiesPatch.h>
9#include <aws/datazone/model/GluePropertiesPatch.h>
10#include <aws/datazone/model/IamPropertiesPatch.h>
11#include <aws/datazone/model/RedshiftPropertiesPatch.h>
12#include <aws/datazone/model/S3PropertiesPatch.h>
13#include <aws/datazone/model/SparkEmrPropertiesPatch.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DATAZONE_API ConnectionPropertiesPatch() = default;
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const AthenaPropertiesPatch& GetAthenaProperties() const { return m_athenaProperties; }
50 inline bool AthenaPropertiesHasBeenSet() const { return m_athenaPropertiesHasBeenSet; }
51 template<typename AthenaPropertiesT = AthenaPropertiesPatch>
52 void SetAthenaProperties(AthenaPropertiesT&& value) { m_athenaPropertiesHasBeenSet = true; m_athenaProperties = std::forward<AthenaPropertiesT>(value); }
53 template<typename AthenaPropertiesT = AthenaPropertiesPatch>
54 ConnectionPropertiesPatch& WithAthenaProperties(AthenaPropertiesT&& value) { SetAthenaProperties(std::forward<AthenaPropertiesT>(value)); return *this;}
56
58
61 inline const GluePropertiesPatch& GetGlueProperties() const { return m_glueProperties; }
62 inline bool GluePropertiesHasBeenSet() const { return m_gluePropertiesHasBeenSet; }
63 template<typename GluePropertiesT = GluePropertiesPatch>
64 void SetGlueProperties(GluePropertiesT&& value) { m_gluePropertiesHasBeenSet = true; m_glueProperties = std::forward<GluePropertiesT>(value); }
65 template<typename GluePropertiesT = GluePropertiesPatch>
66 ConnectionPropertiesPatch& WithGlueProperties(GluePropertiesT&& value) { SetGlueProperties(std::forward<GluePropertiesT>(value)); return *this;}
68
70
73 inline const IamPropertiesPatch& GetIamProperties() const { return m_iamProperties; }
74 inline bool IamPropertiesHasBeenSet() const { return m_iamPropertiesHasBeenSet; }
75 template<typename IamPropertiesT = IamPropertiesPatch>
76 void SetIamProperties(IamPropertiesT&& value) { m_iamPropertiesHasBeenSet = true; m_iamProperties = std::forward<IamPropertiesT>(value); }
77 template<typename IamPropertiesT = IamPropertiesPatch>
78 ConnectionPropertiesPatch& WithIamProperties(IamPropertiesT&& value) { SetIamProperties(std::forward<IamPropertiesT>(value)); return *this;}
80
82
85 inline const RedshiftPropertiesPatch& GetRedshiftProperties() const { return m_redshiftProperties; }
86 inline bool RedshiftPropertiesHasBeenSet() const { return m_redshiftPropertiesHasBeenSet; }
87 template<typename RedshiftPropertiesT = RedshiftPropertiesPatch>
88 void SetRedshiftProperties(RedshiftPropertiesT&& value) { m_redshiftPropertiesHasBeenSet = true; m_redshiftProperties = std::forward<RedshiftPropertiesT>(value); }
89 template<typename RedshiftPropertiesT = RedshiftPropertiesPatch>
90 ConnectionPropertiesPatch& WithRedshiftProperties(RedshiftPropertiesT&& value) { SetRedshiftProperties(std::forward<RedshiftPropertiesT>(value)); return *this;}
92
94
97 inline const S3PropertiesPatch& GetS3Properties() const { return m_s3Properties; }
98 inline bool S3PropertiesHasBeenSet() const { return m_s3PropertiesHasBeenSet; }
99 template<typename S3PropertiesT = S3PropertiesPatch>
100 void SetS3Properties(S3PropertiesT&& value) { m_s3PropertiesHasBeenSet = true; m_s3Properties = std::forward<S3PropertiesT>(value); }
101 template<typename S3PropertiesT = S3PropertiesPatch>
102 ConnectionPropertiesPatch& WithS3Properties(S3PropertiesT&& value) { SetS3Properties(std::forward<S3PropertiesT>(value)); return *this;}
104
106
109 inline const SparkEmrPropertiesPatch& GetSparkEmrProperties() const { return m_sparkEmrProperties; }
110 inline bool SparkEmrPropertiesHasBeenSet() const { return m_sparkEmrPropertiesHasBeenSet; }
111 template<typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
112 void SetSparkEmrProperties(SparkEmrPropertiesT&& value) { m_sparkEmrPropertiesHasBeenSet = true; m_sparkEmrProperties = std::forward<SparkEmrPropertiesT>(value); }
113 template<typename SparkEmrPropertiesT = SparkEmrPropertiesPatch>
114 ConnectionPropertiesPatch& WithSparkEmrProperties(SparkEmrPropertiesT&& value) { SetSparkEmrProperties(std::forward<SparkEmrPropertiesT>(value)); return *this;}
116 private:
117
118 AthenaPropertiesPatch m_athenaProperties;
119 bool m_athenaPropertiesHasBeenSet = false;
120
121 GluePropertiesPatch m_glueProperties;
122 bool m_gluePropertiesHasBeenSet = false;
123
124 IamPropertiesPatch m_iamProperties;
125 bool m_iamPropertiesHasBeenSet = false;
126
127 RedshiftPropertiesPatch m_redshiftProperties;
128 bool m_redshiftPropertiesHasBeenSet = false;
129
130 S3PropertiesPatch m_s3Properties;
131 bool m_s3PropertiesHasBeenSet = false;
132
133 SparkEmrPropertiesPatch m_sparkEmrProperties;
134 bool m_sparkEmrPropertiesHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace DataZone
139} // namespace Aws
AWS_DATAZONE_API ConnectionPropertiesPatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ConnectionPropertiesPatch(Aws::Utils::Json::JsonView jsonValue)
ConnectionPropertiesPatch & WithAthenaProperties(AthenaPropertiesT &&value)
ConnectionPropertiesPatch & WithGlueProperties(GluePropertiesT &&value)
const SparkEmrPropertiesPatch & GetSparkEmrProperties() const
ConnectionPropertiesPatch & WithRedshiftProperties(RedshiftPropertiesT &&value)
ConnectionPropertiesPatch & WithIamProperties(IamPropertiesT &&value)
AWS_DATAZONE_API ConnectionPropertiesPatch()=default
ConnectionPropertiesPatch & WithSparkEmrProperties(SparkEmrPropertiesT &&value)
const GluePropertiesPatch & GetGlueProperties() const
ConnectionPropertiesPatch & WithS3Properties(S3PropertiesT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const AthenaPropertiesPatch & GetAthenaProperties() const
const RedshiftPropertiesPatch & GetRedshiftProperties() const
Aws::Utils::Json::JsonValue JsonValue