AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartQueryPlanningRequest.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/LakeFormationRequest.h>
9#include <aws/lakeformation/model/QueryPlanningContext.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LakeFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LAKEFORMATION_API StartQueryPlanningRequest();
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 "StartQueryPlanning"; }
32
33 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
34
35
37
40 inline const QueryPlanningContext& GetQueryPlanningContext() const{ return m_queryPlanningContext; }
41 inline bool QueryPlanningContextHasBeenSet() const { return m_queryPlanningContextHasBeenSet; }
42 inline void SetQueryPlanningContext(const QueryPlanningContext& value) { m_queryPlanningContextHasBeenSet = true; m_queryPlanningContext = value; }
43 inline void SetQueryPlanningContext(QueryPlanningContext&& value) { m_queryPlanningContextHasBeenSet = true; m_queryPlanningContext = std::move(value); }
47
49
52 inline const Aws::String& GetQueryString() const{ return m_queryString; }
53 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
54 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
55 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
56 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
57 inline StartQueryPlanningRequest& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
58 inline StartQueryPlanningRequest& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
59 inline StartQueryPlanningRequest& WithQueryString(const char* value) { SetQueryString(value); return *this;}
61 private:
62
63 QueryPlanningContext m_queryPlanningContext;
64 bool m_queryPlanningContextHasBeenSet = false;
65
66 Aws::String m_queryString;
67 bool m_queryStringHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LakeFormation
72} // namespace Aws
StartQueryPlanningRequest & WithQueryString(const Aws::String &value)
StartQueryPlanningRequest & WithQueryPlanningContext(QueryPlanningContext &&value)
StartQueryPlanningRequest & WithQueryString(const char *value)
StartQueryPlanningRequest & WithQueryString(Aws::String &&value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetQueryPlanningContext(const QueryPlanningContext &value)
StartQueryPlanningRequest & WithQueryPlanningContext(const QueryPlanningContext &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String