10
10
#include < aws/glue/model/AuditContext.h>
11
11
#include < aws/core/utils/memory/stl/AWSVector.h>
12
12
#include < aws/glue/model/Segment.h>
13
+ #include < aws/glue/model/QuerySessionContext.h>
13
14
#include < aws/glue/model/PermissionType.h>
14
15
#include < utility>
15
16
@@ -38,6 +39,55 @@ namespace Model
38
39
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override ;
39
40
40
41
42
+ /* *
43
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
44
+ * Region.</p>
45
+ */
46
+ inline const Aws::String& GetRegion () const { return m_region; }
47
+
48
+ /* *
49
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
50
+ * Region.</p>
51
+ */
52
+ inline bool RegionHasBeenSet () const { return m_regionHasBeenSet; }
53
+
54
+ /* *
55
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
56
+ * Region.</p>
57
+ */
58
+ inline void SetRegion (const Aws::String& value) { m_regionHasBeenSet = true ; m_region = value; }
59
+
60
+ /* *
61
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
62
+ * Region.</p>
63
+ */
64
+ inline void SetRegion (Aws::String&& value) { m_regionHasBeenSet = true ; m_region = std::move (value); }
65
+
66
+ /* *
67
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
68
+ * Region.</p>
69
+ */
70
+ inline void SetRegion (const char * value) { m_regionHasBeenSet = true ; m_region.assign (value); }
71
+
72
+ /* *
73
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
74
+ * Region.</p>
75
+ */
76
+ inline GetUnfilteredPartitionsMetadataRequest& WithRegion (const Aws::String& value) { SetRegion (value); return *this ;}
77
+
78
+ /* *
79
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
80
+ * Region.</p>
81
+ */
82
+ inline GetUnfilteredPartitionsMetadataRequest& WithRegion (Aws::String&& value) { SetRegion (std::move (value)); return *this ;}
83
+
84
+ /* *
85
+ * <p>Specified only if the base tables belong to a different Amazon Web Services
86
+ * Region.</p>
87
+ */
88
+ inline GetUnfilteredPartitionsMetadataRequest& WithRegion (const char * value) { SetRegion (value); return *this ;}
89
+
90
+
41
91
/* *
42
92
* <p>The ID of the Data Catalog where the partitions in question reside. If none
43
93
* is provided, the AWS account ID is used by default. </p>
@@ -614,8 +664,54 @@ namespace Model
614
664
*/
615
665
inline GetUnfilteredPartitionsMetadataRequest& WithMaxResults (int value) { SetMaxResults (value); return *this ;}
616
666
667
+
668
+ /* *
669
+ * <p>A structure used as a protocol between query engines and Lake Formation or
670
+ * Glue. Contains both a Lake Formation generated authorization identifier and
671
+ * information from the request's authorization context.</p>
672
+ */
673
+ inline const QuerySessionContext& GetQuerySessionContext () const { return m_querySessionContext; }
674
+
675
+ /* *
676
+ * <p>A structure used as a protocol between query engines and Lake Formation or
677
+ * Glue. Contains both a Lake Formation generated authorization identifier and
678
+ * information from the request's authorization context.</p>
679
+ */
680
+ inline bool QuerySessionContextHasBeenSet () const { return m_querySessionContextHasBeenSet; }
681
+
682
+ /* *
683
+ * <p>A structure used as a protocol between query engines and Lake Formation or
684
+ * Glue. Contains both a Lake Formation generated authorization identifier and
685
+ * information from the request's authorization context.</p>
686
+ */
687
+ inline void SetQuerySessionContext (const QuerySessionContext& value) { m_querySessionContextHasBeenSet = true ; m_querySessionContext = value; }
688
+
689
+ /* *
690
+ * <p>A structure used as a protocol between query engines and Lake Formation or
691
+ * Glue. Contains both a Lake Formation generated authorization identifier and
692
+ * information from the request's authorization context.</p>
693
+ */
694
+ inline void SetQuerySessionContext (QuerySessionContext&& value) { m_querySessionContextHasBeenSet = true ; m_querySessionContext = std::move (value); }
695
+
696
+ /* *
697
+ * <p>A structure used as a protocol between query engines and Lake Formation or
698
+ * Glue. Contains both a Lake Formation generated authorization identifier and
699
+ * information from the request's authorization context.</p>
700
+ */
701
+ inline GetUnfilteredPartitionsMetadataRequest& WithQuerySessionContext (const QuerySessionContext& value) { SetQuerySessionContext (value); return *this ;}
702
+
703
+ /* *
704
+ * <p>A structure used as a protocol between query engines and Lake Formation or
705
+ * Glue. Contains both a Lake Formation generated authorization identifier and
706
+ * information from the request's authorization context.</p>
707
+ */
708
+ inline GetUnfilteredPartitionsMetadataRequest& WithQuerySessionContext (QuerySessionContext&& value) { SetQuerySessionContext (std::move (value)); return *this ;}
709
+
617
710
private:
618
711
712
+ Aws::String m_region;
713
+ bool m_regionHasBeenSet = false ;
714
+
619
715
Aws::String m_catalogId;
620
716
bool m_catalogIdHasBeenSet = false ;
621
717
@@ -642,6 +738,9 @@ namespace Model
642
738
643
739
int m_maxResults;
644
740
bool m_maxResultsHasBeenSet = false ;
741
+
742
+ QuerySessionContext m_querySessionContext;
743
+ bool m_querySessionContextHasBeenSet = false ;
645
744
};
646
745
647
746
} // namespace Model
0 commit comments