AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsDynamoDbTableProjection.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsDynamoDbTableProjection();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetNonKeyAttributes() const{ return m_nonKeyAttributes; }
48 inline bool NonKeyAttributesHasBeenSet() const { return m_nonKeyAttributesHasBeenSet; }
49 inline void SetNonKeyAttributes(const Aws::Vector<Aws::String>& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes = value; }
50 inline void SetNonKeyAttributes(Aws::Vector<Aws::String>&& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes = std::move(value); }
53 inline AwsDynamoDbTableProjection& AddNonKeyAttributes(const Aws::String& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes.push_back(value); return *this; }
54 inline AwsDynamoDbTableProjection& AddNonKeyAttributes(Aws::String&& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes.push_back(std::move(value)); return *this; }
55 inline AwsDynamoDbTableProjection& AddNonKeyAttributes(const char* value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes.push_back(value); return *this; }
57
59
64 inline const Aws::String& GetProjectionType() const{ return m_projectionType; }
65 inline bool ProjectionTypeHasBeenSet() const { return m_projectionTypeHasBeenSet; }
66 inline void SetProjectionType(const Aws::String& value) { m_projectionTypeHasBeenSet = true; m_projectionType = value; }
67 inline void SetProjectionType(Aws::String&& value) { m_projectionTypeHasBeenSet = true; m_projectionType = std::move(value); }
68 inline void SetProjectionType(const char* value) { m_projectionTypeHasBeenSet = true; m_projectionType.assign(value); }
69 inline AwsDynamoDbTableProjection& WithProjectionType(const Aws::String& value) { SetProjectionType(value); return *this;}
70 inline AwsDynamoDbTableProjection& WithProjectionType(Aws::String&& value) { SetProjectionType(std::move(value)); return *this;}
71 inline AwsDynamoDbTableProjection& WithProjectionType(const char* value) { SetProjectionType(value); return *this;}
73 private:
74
75 Aws::Vector<Aws::String> m_nonKeyAttributes;
76 bool m_nonKeyAttributesHasBeenSet = false;
77
78 Aws::String m_projectionType;
79 bool m_projectionTypeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SecurityHub
84} // namespace Aws
AwsDynamoDbTableProjection & AddNonKeyAttributes(const char *value)
AwsDynamoDbTableProjection & WithProjectionType(Aws::String &&value)
AwsDynamoDbTableProjection & WithNonKeyAttributes(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API AwsDynamoDbTableProjection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetNonKeyAttributes() const
AwsDynamoDbTableProjection & WithProjectionType(const Aws::String &value)
AwsDynamoDbTableProjection & WithProjectionType(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDynamoDbTableProjection & AddNonKeyAttributes(const Aws::String &value)
void SetNonKeyAttributes(Aws::Vector< Aws::String > &&value)
void SetNonKeyAttributes(const Aws::Vector< Aws::String > &value)
AwsDynamoDbTableProjection & AddNonKeyAttributes(Aws::String &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableProjection(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableProjection & WithNonKeyAttributes(Aws::Vector< Aws::String > &&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