AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJdbc(const Aws::Vector<CodeGenNodeArg>& value) { m_jdbcHasBeenSet = true; m_jdbc = value; }
48 inline void SetJdbc(Aws::Vector<CodeGenNodeArg>&& value) { m_jdbcHasBeenSet = true; m_jdbc = std::move(value); }
49 inline Location& WithJdbc(const Aws::Vector<CodeGenNodeArg>& value) { SetJdbc(value); return *this;}
50 inline Location& WithJdbc(Aws::Vector<CodeGenNodeArg>&& value) { SetJdbc(std::move(value)); return *this;}
51 inline Location& AddJdbc(const CodeGenNodeArg& value) { m_jdbcHasBeenSet = true; m_jdbc.push_back(value); return *this; }
52 inline Location& AddJdbc(CodeGenNodeArg&& value) { m_jdbcHasBeenSet = true; m_jdbc.push_back(std::move(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 inline void SetS3(const Aws::Vector<CodeGenNodeArg>& value) { m_s3HasBeenSet = true; m_s3 = value; }
62 inline void SetS3(Aws::Vector<CodeGenNodeArg>&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
63 inline Location& WithS3(const Aws::Vector<CodeGenNodeArg>& value) { SetS3(value); return *this;}
64 inline Location& WithS3(Aws::Vector<CodeGenNodeArg>&& value) { SetS3(std::move(value)); return *this;}
65 inline Location& AddS3(const CodeGenNodeArg& value) { m_s3HasBeenSet = true; m_s3.push_back(value); return *this; }
66 inline Location& AddS3(CodeGenNodeArg&& value) { m_s3HasBeenSet = true; m_s3.push_back(std::move(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 inline void SetDynamoDB(const Aws::Vector<CodeGenNodeArg>& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB = value; }
76 inline void SetDynamoDB(Aws::Vector<CodeGenNodeArg>&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB = std::move(value); }
77 inline Location& WithDynamoDB(const Aws::Vector<CodeGenNodeArg>& value) { SetDynamoDB(value); return *this;}
78 inline Location& WithDynamoDB(Aws::Vector<CodeGenNodeArg>&& value) { SetDynamoDB(std::move(value)); return *this;}
79 inline Location& AddDynamoDB(const CodeGenNodeArg& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB.push_back(value); return *this; }
80 inline Location& AddDynamoDB(CodeGenNodeArg&& value) { m_dynamoDBHasBeenSet = true; m_dynamoDB.push_back(std::move(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(const CodeGenNodeArg &value)
Definition Location.h:79
Location & WithDynamoDB(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:78
Location & WithJdbc(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:50
Location & AddS3(CodeGenNodeArg &&value)
Definition Location.h:66
AWS_GLUE_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Location & WithS3(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:64
const Aws::Vector< CodeGenNodeArg > & GetJdbc() const
Definition Location.h:45
Location & AddS3(const CodeGenNodeArg &value)
Definition Location.h:65
bool S3HasBeenSet() const
Definition Location.h:60
Location & WithJdbc(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:49
Location & WithS3(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:63
bool JdbcHasBeenSet() const
Definition Location.h:46
void SetDynamoDB(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:75
void SetDynamoDB(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:76
Location & AddJdbc(CodeGenNodeArg &&value)
Definition Location.h:52
Location & WithDynamoDB(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:77
Location & AddJdbc(const CodeGenNodeArg &value)
Definition Location.h:51
bool DynamoDBHasBeenSet() const
Definition Location.h:74
Location & AddDynamoDB(CodeGenNodeArg &&value)
Definition Location.h:80
const Aws::Vector< CodeGenNodeArg > & GetS3() const
Definition Location.h:59
AWS_GLUE_API Location(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CodeGenNodeArg > & GetDynamoDB() const
Definition Location.h:73
void SetS3(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:62
void SetJdbc(Aws::Vector< CodeGenNodeArg > &&value)
Definition Location.h:48
void SetJdbc(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:47
void SetS3(const Aws::Vector< CodeGenNodeArg > &value)
Definition Location.h:61
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue