AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Location.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/CodeGenNodeArg.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API Location() = default;
36 AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::Vector<CodeGenNodeArg>& GetJdbc() const { return m_jdbc; }
46 inline bool JdbcHasBeenSet() const { return m_jdbcHasBeenSet; }
47 template<typename JdbcT = Aws::Vector<CodeGenNodeArg>>
48 void SetJdbc(JdbcT&& value) { m_jdbcHasBeenSet = true; m_jdbc = std::forward<JdbcT>(value); }
49 template<typename JdbcT = Aws::Vector<CodeGenNodeArg>>
50 Location& WithJdbc(JdbcT&& value) { SetJdbc(std::forward<JdbcT>(value)); return *this;}
51 template<typename JdbcT = CodeGenNodeArg>
52 Location& AddJdbc(JdbcT&& value) { m_jdbcHasBeenSet = true; m_jdbc.emplace_back(std::forward<JdbcT>(value)); return *this; }
54
56
59 inline const Aws::Vector<CodeGenNodeArg>& GetS3() const { return m_s3; }
60 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
61 template<typename S3T = Aws::Vector<CodeGenNodeArg>>
62 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
63 template<typename S3T = Aws::Vector<CodeGenNodeArg>>
64 Location& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
65 template<typename S3T = CodeGenNodeArg>
66 Location& AddS3(S3T&& value) { m_s3HasBeenSet = true; m_s3.emplace_back(std::forward<S3T>(value)); return *this; }
68
70
73 inline const Aws::Vector<CodeGenNodeArg>& GetDynamoDB() const { return m_dynamoDB; }
74 inline bool DynamoDBHasBeenSet() const { return m_dynamoDBHasBeenSet; }
75 template<typename DynamoDBT = Aws::Vector<CodeGenNodeArg>>
76 void SetDynamoDB(DynamoDBT&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB = std::forward<DynamoDBT>(value); }
77 template<typename DynamoDBT = Aws::Vector<CodeGenNodeArg>>
78 Location& WithDynamoDB(DynamoDBT&& value) { SetDynamoDB(std::forward<DynamoDBT>(value)); return *this;}
79 template<typename DynamoDBT = CodeGenNodeArg>
80 Location& AddDynamoDB(DynamoDBT&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB.emplace_back(std::forward<DynamoDBT>(value)); return *this; }
82 private:
83
85 bool m_jdbcHasBeenSet = false;
86
88 bool m_s3HasBeenSet = false;
89
91 bool m_dynamoDBHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
Location & AddDynamoDB(DynamoDBT &&value)
Definition Location.h:80
Location & WithS3(S3T &&value)
Definition Location.h:64
void SetS3(S3T &&value)
Definition Location.h:62
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:45
bool S3HasBeenSet() const
Definition Location.h:60
bool JdbcHasBeenSet() const
Definition Location.h:46
Location & WithJdbc(JdbcT &&value)
Definition Location.h:50
void SetJdbc(JdbcT &&value)
Definition Location.h:48
Location & AddJdbc(JdbcT &&value)
Definition Location.h:52
Location & AddS3(S3T &&value)
Definition Location.h:66
bool DynamoDBHasBeenSet() const
Definition Location.h:74
const Aws::Vector< CodeGenNodeArg > & GetS3() const
Definition Location.h:59
Location & WithDynamoDB(DynamoDBT &&value)
Definition Location.h:78
AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CodeGenNodeArg > & GetDynamoDB() const
Definition Location.h:73
void SetDynamoDB(DynamoDBT &&value)
Definition Location.h:76
AWS_GLUE_API Location()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue