AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
Location.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/CodeGenNodeArg.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
28class Location {
29 public:
30 AWS_GLUE_API Location() = default;
31 AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::Vector<CodeGenNodeArg>& GetJdbc() const { return m_jdbc; }
40 inline bool JdbcHasBeenSet() const { return m_jdbcHasBeenSet; }
41 template <typename JdbcT = Aws::Vector<CodeGenNodeArg>>
42 void SetJdbc(JdbcT&& value) {
43 m_jdbcHasBeenSet = true;
44 m_jdbc = std::forward<JdbcT>(value);
45 }
46 template <typename JdbcT = Aws::Vector<CodeGenNodeArg>>
47 Location& WithJdbc(JdbcT&& value) {
48 SetJdbc(std::forward<JdbcT>(value));
49 return *this;
50 }
51 template <typename JdbcT = CodeGenNodeArg>
52 Location& AddJdbc(JdbcT&& value) {
53 m_jdbcHasBeenSet = true;
54 m_jdbc.emplace_back(std::forward<JdbcT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<CodeGenNodeArg>& GetS3() const { return m_s3; }
64 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
65 template <typename S3T = Aws::Vector<CodeGenNodeArg>>
66 void SetS3(S3T&& value) {
67 m_s3HasBeenSet = true;
68 m_s3 = std::forward<S3T>(value);
69 }
70 template <typename S3T = Aws::Vector<CodeGenNodeArg>>
71 Location& WithS3(S3T&& value) {
72 SetS3(std::forward<S3T>(value));
73 return *this;
74 }
75 template <typename S3T = CodeGenNodeArg>
76 Location& AddS3(S3T&& value) {
77 m_s3HasBeenSet = true;
78 m_s3.emplace_back(std::forward<S3T>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Vector<CodeGenNodeArg>& GetDynamoDB() const { return m_dynamoDB; }
88 inline bool DynamoDBHasBeenSet() const { return m_dynamoDBHasBeenSet; }
89 template <typename DynamoDBT = Aws::Vector<CodeGenNodeArg>>
90 void SetDynamoDB(DynamoDBT&& value) {
91 m_dynamoDBHasBeenSet = true;
92 m_dynamoDB = std::forward<DynamoDBT>(value);
93 }
94 template <typename DynamoDBT = Aws::Vector<CodeGenNodeArg>>
95 Location& WithDynamoDB(DynamoDBT&& value) {
96 SetDynamoDB(std::forward<DynamoDBT>(value));
97 return *this;
98 }
99 template <typename DynamoDBT = CodeGenNodeArg>
100 Location& AddDynamoDB(DynamoDBT&& value) {
101 m_dynamoDBHasBeenSet = true;
102 m_dynamoDB.emplace_back(std::forward<DynamoDBT>(value));
103 return *this;
104 }
106 private:
108 bool m_jdbcHasBeenSet = false;
109
111 bool m_s3HasBeenSet = false;
112
114 bool m_dynamoDBHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Glue
119} // namespace Aws
Location & AddDynamoDB(DynamoDBT &&value)
Definition Location.h:100
Location & WithS3(S3T &&value)
Definition Location.h:71
void SetS3(S3T &&value)
Definition Location.h:66
AWS_GLUE_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CodeGenNodeArg > & GetJdbc() const
Definition Location.h:39
bool S3HasBeenSet() const
Definition Location.h:64
bool JdbcHasBeenSet() const
Definition Location.h:40
Location & WithJdbc(JdbcT &&value)
Definition Location.h:47
void SetJdbc(JdbcT &&value)
Definition Location.h:42
Location & AddJdbc(JdbcT &&value)
Definition Location.h:52
Location & AddS3(S3T &&value)
Definition Location.h:76
bool DynamoDBHasBeenSet() const
Definition Location.h:88
const Aws::Vector< CodeGenNodeArg > & GetS3() const
Definition Location.h:63
Location & WithDynamoDB(DynamoDBT &&value)
Definition Location.h:95
AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CodeGenNodeArg > & GetDynamoDB() const
Definition Location.h:87
void SetDynamoDB(DynamoDBT &&value)
Definition Location.h:90
AWS_GLUE_API Location()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue