AWS SDK for C++  1.9.40
AWS SDK for C++
CreateNamedQueryResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Athena
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetNamedQueryId() const{ return m_namedQueryId; }
39 
43  inline void SetNamedQueryId(const Aws::String& value) { m_namedQueryId = value; }
44 
48  inline void SetNamedQueryId(Aws::String&& value) { m_namedQueryId = std::move(value); }
49 
53  inline void SetNamedQueryId(const char* value) { m_namedQueryId.assign(value); }
54 
58  inline CreateNamedQueryResult& WithNamedQueryId(const Aws::String& value) { SetNamedQueryId(value); return *this;}
59 
63  inline CreateNamedQueryResult& WithNamedQueryId(Aws::String&& value) { SetNamedQueryId(std::move(value)); return *this;}
64 
68  inline CreateNamedQueryResult& WithNamedQueryId(const char* value) { SetNamedQueryId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_namedQueryId;
73  };
74 
75 } // namespace Model
76 } // namespace Athena
77 } // namespace Aws
Aws::Athena::Model::CreateNamedQueryResult::SetNamedQueryId
void SetNamedQueryId(const Aws::String &value)
Definition: CreateNamedQueryResult.h:43
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::CreateNamedQueryResult::operator=
CreateNamedQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::CreateNamedQueryResult::WithNamedQueryId
CreateNamedQueryResult & WithNamedQueryId(const Aws::String &value)
Definition: CreateNamedQueryResult.h:58
Aws::Athena::Model::CreateNamedQueryResult::WithNamedQueryId
CreateNamedQueryResult & WithNamedQueryId(const char *value)
Definition: CreateNamedQueryResult.h:68
Aws::Athena::Model::CreateNamedQueryResult::CreateNamedQueryResult
CreateNamedQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::CreateNamedQueryResult::CreateNamedQueryResult
CreateNamedQueryResult()
Aws::Athena::Model::CreateNamedQueryResult::GetNamedQueryId
const Aws::String & GetNamedQueryId() const
Definition: CreateNamedQueryResult.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::CreateNamedQueryResult::WithNamedQueryId
CreateNamedQueryResult & WithNamedQueryId(Aws::String &&value)
Definition: CreateNamedQueryResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::CreateNamedQueryResult::SetNamedQueryId
void SetNamedQueryId(Aws::String &&value)
Definition: CreateNamedQueryResult.h:48
Aws::Athena::Model::CreateNamedQueryResult
Definition: CreateNamedQueryResult.h:28
Aws::Athena::Model::CreateNamedQueryResult::SetNamedQueryId
void SetNamedQueryId(const char *value)
Definition: CreateNamedQueryResult.h:53