AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NonKeyAttributesT = Aws::Vector<Aws::String>>
50 void SetNonKeyAttributes(NonKeyAttributesT&& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes = std::forward<NonKeyAttributesT>(value); }
51 template<typename NonKeyAttributesT = Aws::Vector<Aws::String>>
52 AwsDynamoDbTableProjection& WithNonKeyAttributes(NonKeyAttributesT&& value) { SetNonKeyAttributes(std::forward<NonKeyAttributesT>(value)); return *this;}
53 template<typename NonKeyAttributesT = Aws::String>
54 AwsDynamoDbTableProjection& AddNonKeyAttributes(NonKeyAttributesT&& value) { m_nonKeyAttributesHasBeenSet = true; m_nonKeyAttributes.emplace_back(std::forward<NonKeyAttributesT>(value)); return *this; }
56
58
63 inline const Aws::String& GetProjectionType() const { return m_projectionType; }
64 inline bool ProjectionTypeHasBeenSet() const { return m_projectionTypeHasBeenSet; }
65 template<typename ProjectionTypeT = Aws::String>
66 void SetProjectionType(ProjectionTypeT&& value) { m_projectionTypeHasBeenSet = true; m_projectionType = std::forward<ProjectionTypeT>(value); }
67 template<typename ProjectionTypeT = Aws::String>
68 AwsDynamoDbTableProjection& WithProjectionType(ProjectionTypeT&& value) { SetProjectionType(std::forward<ProjectionTypeT>(value)); return *this;}
70 private:
71
72 Aws::Vector<Aws::String> m_nonKeyAttributes;
73 bool m_nonKeyAttributesHasBeenSet = false;
74
75 Aws::String m_projectionType;
76 bool m_projectionTypeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
AwsDynamoDbTableProjection & WithNonKeyAttributes(NonKeyAttributesT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableProjection & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetNonKeyAttributes() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDynamoDbTableProjection & AddNonKeyAttributes(NonKeyAttributesT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableProjection()=default
AWS_SECURITYHUB_API AwsDynamoDbTableProjection(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableProjection & WithProjectionType(ProjectionTypeT &&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