AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetPreparedStatementRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Athena
16{
17namespace Model
18{
19
23 {
24 public:
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 "BatchGetPreparedStatement"; }
32
33 AWS_ATHENA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::Vector<Aws::String>& GetPreparedStatementNames() const{ return m_preparedStatementNames; }
43 inline bool PreparedStatementNamesHasBeenSet() const { return m_preparedStatementNamesHasBeenSet; }
44 inline void SetPreparedStatementNames(const Aws::Vector<Aws::String>& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames = value; }
45 inline void SetPreparedStatementNames(Aws::Vector<Aws::String>&& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames = std::move(value); }
48 inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(const Aws::String& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(value); return *this; }
49 inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(Aws::String&& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(std::move(value)); return *this; }
50 inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(const char* value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(value); return *this; }
52
54
57 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
58 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
59 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
60 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
61 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
62 inline BatchGetPreparedStatementRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
63 inline BatchGetPreparedStatementRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
64 inline BatchGetPreparedStatementRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_preparedStatementNames;
69 bool m_preparedStatementNamesHasBeenSet = false;
70
71 Aws::String m_workGroup;
72 bool m_workGroupHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Athena
77} // namespace Aws
BatchGetPreparedStatementRequest & WithWorkGroup(const char *value)
BatchGetPreparedStatementRequest & WithPreparedStatementNames(const Aws::Vector< Aws::String > &value)
BatchGetPreparedStatementRequest & AddPreparedStatementNames(const Aws::String &value)
void SetPreparedStatementNames(const Aws::Vector< Aws::String > &value)
BatchGetPreparedStatementRequest & AddPreparedStatementNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetPreparedStatementNames() const
AWS_ATHENA_API Aws::String SerializePayload() const override
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetPreparedStatementRequest & AddPreparedStatementNames(const char *value)
BatchGetPreparedStatementRequest & WithPreparedStatementNames(Aws::Vector< Aws::String > &&value)
BatchGetPreparedStatementRequest & WithWorkGroup(const Aws::String &value)
BatchGetPreparedStatementRequest & WithWorkGroup(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector