AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteNamedQueryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
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 "DeleteNamedQuery"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetNamedQueryId() const{ return m_namedQueryId; }
42 
46  inline bool NamedQueryIdHasBeenSet() const { return m_namedQueryIdHasBeenSet; }
47 
51  inline void SetNamedQueryId(const Aws::String& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = value; }
52 
56  inline void SetNamedQueryId(Aws::String&& value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId = std::move(value); }
57 
61  inline void SetNamedQueryId(const char* value) { m_namedQueryIdHasBeenSet = true; m_namedQueryId.assign(value); }
62 
66  inline DeleteNamedQueryRequest& WithNamedQueryId(const Aws::String& value) { SetNamedQueryId(value); return *this;}
67 
71  inline DeleteNamedQueryRequest& WithNamedQueryId(Aws::String&& value) { SetNamedQueryId(std::move(value)); return *this;}
72 
76  inline DeleteNamedQueryRequest& WithNamedQueryId(const char* value) { SetNamedQueryId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_namedQueryId;
81  bool m_namedQueryIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace Athena
86 } // namespace Aws
Aws::Athena::Model::DeleteNamedQueryRequest
Definition: DeleteNamedQueryRequest.h:23
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::DeleteNamedQueryRequest::DeleteNamedQueryRequest
DeleteNamedQueryRequest()
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::DeleteNamedQueryRequest::WithNamedQueryId
DeleteNamedQueryRequest & WithNamedQueryId(const Aws::String &value)
Definition: DeleteNamedQueryRequest.h:66
Aws::Athena::Model::DeleteNamedQueryRequest::SetNamedQueryId
void SetNamedQueryId(Aws::String &&value)
Definition: DeleteNamedQueryRequest.h:56
Aws::Athena::Model::DeleteNamedQueryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::DeleteNamedQueryRequest::WithNamedQueryId
DeleteNamedQueryRequest & WithNamedQueryId(Aws::String &&value)
Definition: DeleteNamedQueryRequest.h:71
Aws::Athena::Model::DeleteNamedQueryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteNamedQueryRequest.h:31
Aws::Athena::Model::DeleteNamedQueryRequest::GetNamedQueryId
const Aws::String & GetNamedQueryId() const
Definition: DeleteNamedQueryRequest.h:41
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::DeleteNamedQueryRequest::SetNamedQueryId
void SetNamedQueryId(const Aws::String &value)
Definition: DeleteNamedQueryRequest.h:51
Aws::Athena::Model::DeleteNamedQueryRequest::SerializePayload
Aws::String SerializePayload() 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::DeleteNamedQueryRequest::WithNamedQueryId
DeleteNamedQueryRequest & WithNamedQueryId(const char *value)
Definition: DeleteNamedQueryRequest.h:76
AthenaRequest.h
UUID.h
Aws::Athena::Model::DeleteNamedQueryRequest::NamedQueryIdHasBeenSet
bool NamedQueryIdHasBeenSet() const
Definition: DeleteNamedQueryRequest.h:46
Aws::Athena::Model::DeleteNamedQueryRequest::SetNamedQueryId
void SetNamedQueryId(const char *value)
Definition: DeleteNamedQueryRequest.h:61