AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsDynamoDbTableProjection.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API AwsDynamoDbTableProjection() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetNonKeyAttributes() const { return m_nonKeyAttributes; }
42 inline bool NonKeyAttributesHasBeenSet() const { return m_nonKeyAttributesHasBeenSet; }
43 template <typename NonKeyAttributesT = Aws::Vector<Aws::String>>
44 void SetNonKeyAttributes(NonKeyAttributesT&& value) {
45 m_nonKeyAttributesHasBeenSet = true;
46 m_nonKeyAttributes = std::forward<NonKeyAttributesT>(value);
47 }
48 template <typename NonKeyAttributesT = Aws::Vector<Aws::String>>
50 SetNonKeyAttributes(std::forward<NonKeyAttributesT>(value));
51 return *this;
52 }
53 template <typename NonKeyAttributesT = Aws::String>
54 AwsDynamoDbTableProjection& AddNonKeyAttributes(NonKeyAttributesT&& value) {
55 m_nonKeyAttributesHasBeenSet = true;
56 m_nonKeyAttributes.emplace_back(std::forward<NonKeyAttributesT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetProjectionType() const { return m_projectionType; }
68 inline bool ProjectionTypeHasBeenSet() const { return m_projectionTypeHasBeenSet; }
69 template <typename ProjectionTypeT = Aws::String>
70 void SetProjectionType(ProjectionTypeT&& value) {
71 m_projectionTypeHasBeenSet = true;
72 m_projectionType = std::forward<ProjectionTypeT>(value);
73 }
74 template <typename ProjectionTypeT = Aws::String>
76 SetProjectionType(std::forward<ProjectionTypeT>(value));
77 return *this;
78 }
80 private:
81 Aws::Vector<Aws::String> m_nonKeyAttributes;
82
83 Aws::String m_projectionType;
84 bool m_nonKeyAttributesHasBeenSet = false;
85 bool m_projectionTypeHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SecurityHub
90} // 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