AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestConnectionRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/TestConnectionInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API TestConnectionRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "TestConnection"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetConnectionName() const{ return m_connectionName; }
44 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
45 inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; }
46 inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); }
47 inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); }
48 inline TestConnectionRequest& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;}
49 inline TestConnectionRequest& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;}
50 inline TestConnectionRequest& WithConnectionName(const char* value) { SetConnectionName(value); return *this;}
52
54
57 inline const TestConnectionInput& GetTestConnectionInput() const{ return m_testConnectionInput; }
58 inline bool TestConnectionInputHasBeenSet() const { return m_testConnectionInputHasBeenSet; }
59 inline void SetTestConnectionInput(const TestConnectionInput& value) { m_testConnectionInputHasBeenSet = true; m_testConnectionInput = value; }
60 inline void SetTestConnectionInput(TestConnectionInput&& value) { m_testConnectionInputHasBeenSet = true; m_testConnectionInput = std::move(value); }
64 private:
65
66 Aws::String m_connectionName;
67 bool m_connectionNameHasBeenSet = false;
68
69 TestConnectionInput m_testConnectionInput;
70 bool m_testConnectionInputHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
void SetConnectionName(const Aws::String &value)
TestConnectionRequest & WithTestConnectionInput(TestConnectionInput &&value)
TestConnectionRequest & WithTestConnectionInput(const TestConnectionInput &value)
virtual const char * GetServiceRequestName() const override
TestConnectionRequest & WithConnectionName(Aws::String &&value)
void SetTestConnectionInput(const TestConnectionInput &value)
TestConnectionRequest & WithConnectionName(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetTestConnectionInput(TestConnectionInput &&value)
const Aws::String & GetConnectionName() const
TestConnectionRequest & WithConnectionName(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const TestConnectionInput & GetTestConnectionInput() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String