AWS SDK for C++  1.9.108
AWS SDK for C++
BatchGetNamedQueryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Athena
16 {
17 namespace 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 "BatchGetNamedQuery"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetNamedQueryIds() const{ return m_namedQueryIds; }
42 
46  inline bool NamedQueryIdsHasBeenSet() const { return m_namedQueryIdsHasBeenSet; }
47 
51  inline void SetNamedQueryIds(const Aws::Vector<Aws::String>& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = value; }
52 
56  inline void SetNamedQueryIds(Aws::Vector<Aws::String>&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = std::move(value); }
57 
61  inline BatchGetNamedQueryRequest& WithNamedQueryIds(const Aws::Vector<Aws::String>& value) { SetNamedQueryIds(value); return *this;}
62 
66  inline BatchGetNamedQueryRequest& WithNamedQueryIds(Aws::Vector<Aws::String>&& value) { SetNamedQueryIds(std::move(value)); return *this;}
67 
71  inline BatchGetNamedQueryRequest& AddNamedQueryIds(const Aws::String& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; }
72 
76  inline BatchGetNamedQueryRequest& AddNamedQueryIds(Aws::String&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(std::move(value)); return *this; }
77 
81  inline BatchGetNamedQueryRequest& AddNamedQueryIds(const char* value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_namedQueryIds;
86  bool m_namedQueryIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Athena
91 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Athena::Model::BatchGetNamedQueryRequest::AddNamedQueryIds
BatchGetNamedQueryRequest & AddNamedQueryIds(const char *value)
Definition: BatchGetNamedQueryRequest.h:81
Aws::Athena::Model::BatchGetNamedQueryRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::BatchGetNamedQueryRequest::WithNamedQueryIds
BatchGetNamedQueryRequest & WithNamedQueryIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetNamedQueryRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::BatchGetNamedQueryRequest::GetNamedQueryIds
const Aws::Vector< Aws::String > & GetNamedQueryIds() const
Definition: BatchGetNamedQueryRequest.h:41
Aws::Athena::Model::BatchGetNamedQueryRequest::WithNamedQueryIds
BatchGetNamedQueryRequest & WithNamedQueryIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetNamedQueryRequest.h:61
Aws::Athena::Model::BatchGetNamedQueryRequest::AddNamedQueryIds
BatchGetNamedQueryRequest & AddNamedQueryIds(const Aws::String &value)
Definition: BatchGetNamedQueryRequest.h:71
AWSVector.h
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::BatchGetNamedQueryRequest::AddNamedQueryIds
BatchGetNamedQueryRequest & AddNamedQueryIds(Aws::String &&value)
Definition: BatchGetNamedQueryRequest.h:76
Aws::Athena::Model::BatchGetNamedQueryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::BatchGetNamedQueryRequest::SetNamedQueryIds
void SetNamedQueryIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetNamedQueryRequest.h:56
Aws::Athena::Model::BatchGetNamedQueryRequest::BatchGetNamedQueryRequest
BatchGetNamedQueryRequest()
Aws::Athena::Model::BatchGetNamedQueryRequest::SetNamedQueryIds
void SetNamedQueryIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetNamedQueryRequest.h:51
AthenaRequest.h
Aws::Athena::Model::BatchGetNamedQueryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetNamedQueryRequest.h:31
Aws::Athena::Model::BatchGetNamedQueryRequest
Definition: BatchGetNamedQueryRequest.h:23
Aws::Athena::Model::BatchGetNamedQueryRequest::NamedQueryIdsHasBeenSet
bool NamedQueryIdsHasBeenSet() const
Definition: BatchGetNamedQueryRequest.h:46