AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditContext.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API AuditContext();
40
41
43
46 inline const Aws::String& GetAdditionalAuditContext() const{ return m_additionalAuditContext; }
47 inline bool AdditionalAuditContextHasBeenSet() const { return m_additionalAuditContextHasBeenSet; }
48 inline void SetAdditionalAuditContext(const Aws::String& value) { m_additionalAuditContextHasBeenSet = true; m_additionalAuditContext = value; }
49 inline void SetAdditionalAuditContext(Aws::String&& value) { m_additionalAuditContextHasBeenSet = true; m_additionalAuditContext = std::move(value); }
50 inline void SetAdditionalAuditContext(const char* value) { m_additionalAuditContextHasBeenSet = true; m_additionalAuditContext.assign(value); }
52 inline AuditContext& WithAdditionalAuditContext(Aws::String&& value) { SetAdditionalAuditContext(std::move(value)); return *this;}
53 inline AuditContext& WithAdditionalAuditContext(const char* value) { SetAdditionalAuditContext(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetRequestedColumns() const{ return m_requestedColumns; }
61 inline bool RequestedColumnsHasBeenSet() const { return m_requestedColumnsHasBeenSet; }
62 inline void SetRequestedColumns(const Aws::Vector<Aws::String>& value) { m_requestedColumnsHasBeenSet = true; m_requestedColumns = value; }
63 inline void SetRequestedColumns(Aws::Vector<Aws::String>&& value) { m_requestedColumnsHasBeenSet = true; m_requestedColumns = std::move(value); }
65 inline AuditContext& WithRequestedColumns(Aws::Vector<Aws::String>&& value) { SetRequestedColumns(std::move(value)); return *this;}
66 inline AuditContext& AddRequestedColumns(const Aws::String& value) { m_requestedColumnsHasBeenSet = true; m_requestedColumns.push_back(value); return *this; }
67 inline AuditContext& AddRequestedColumns(Aws::String&& value) { m_requestedColumnsHasBeenSet = true; m_requestedColumns.push_back(std::move(value)); return *this; }
68 inline AuditContext& AddRequestedColumns(const char* value) { m_requestedColumnsHasBeenSet = true; m_requestedColumns.push_back(value); return *this; }
70
72
75 inline bool GetAllColumnsRequested() const{ return m_allColumnsRequested; }
76 inline bool AllColumnsRequestedHasBeenSet() const { return m_allColumnsRequestedHasBeenSet; }
77 inline void SetAllColumnsRequested(bool value) { m_allColumnsRequestedHasBeenSet = true; m_allColumnsRequested = value; }
78 inline AuditContext& WithAllColumnsRequested(bool value) { SetAllColumnsRequested(value); return *this;}
80 private:
81
82 Aws::String m_additionalAuditContext;
83 bool m_additionalAuditContextHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_requestedColumns;
86 bool m_requestedColumnsHasBeenSet = false;
87
88 bool m_allColumnsRequested;
89 bool m_allColumnsRequestedHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // namespace Aws
AuditContext & WithAdditionalAuditContext(const Aws::String &value)
void SetAllColumnsRequested(bool value)
const Aws::Vector< Aws::String > & GetRequestedColumns() const
AuditContext & WithRequestedColumns(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API AuditContext & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditContext & WithAllColumnsRequested(bool value)
const Aws::String & GetAdditionalAuditContext() const
void SetAdditionalAuditContext(const char *value)
bool AdditionalAuditContextHasBeenSet() const
AuditContext & AddRequestedColumns(const Aws::String &value)
bool RequestedColumnsHasBeenSet() const
AuditContext & AddRequestedColumns(const char *value)
AuditContext & WithRequestedColumns(const Aws::Vector< Aws::String > &value)
void SetAdditionalAuditContext(const Aws::String &value)
void SetRequestedColumns(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AuditContext & AddRequestedColumns(Aws::String &&value)
void SetAdditionalAuditContext(Aws::String &&value)
bool AllColumnsRequestedHasBeenSet() const
AWS_GLUE_API AuditContext(Aws::Utils::Json::JsonView jsonValue)
AuditContext & WithAdditionalAuditContext(Aws::String &&value)
void SetRequestedColumns(Aws::Vector< Aws::String > &&value)
AuditContext & WithAdditionalAuditContext(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue