AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsDynamoDbTableKeySchema.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsDynamoDbTableKeySchema();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
46 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
47 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
48 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
49 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
50 inline AwsDynamoDbTableKeySchema& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
51 inline AwsDynamoDbTableKeySchema& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
52 inline AwsDynamoDbTableKeySchema& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
54
56
60 inline const Aws::String& GetKeyType() const{ return m_keyType; }
61 inline bool KeyTypeHasBeenSet() const { return m_keyTypeHasBeenSet; }
62 inline void SetKeyType(const Aws::String& value) { m_keyTypeHasBeenSet = true; m_keyType = value; }
63 inline void SetKeyType(Aws::String&& value) { m_keyTypeHasBeenSet = true; m_keyType = std::move(value); }
64 inline void SetKeyType(const char* value) { m_keyTypeHasBeenSet = true; m_keyType.assign(value); }
65 inline AwsDynamoDbTableKeySchema& WithKeyType(const Aws::String& value) { SetKeyType(value); return *this;}
66 inline AwsDynamoDbTableKeySchema& WithKeyType(Aws::String&& value) { SetKeyType(std::move(value)); return *this;}
67 inline AwsDynamoDbTableKeySchema& WithKeyType(const char* value) { SetKeyType(value); return *this;}
69 private:
70
71 Aws::String m_attributeName;
72 bool m_attributeNameHasBeenSet = false;
73
74 Aws::String m_keyType;
75 bool m_keyTypeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
AwsDynamoDbTableKeySchema & WithKeyType(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDynamoDbTableKeySchema & WithAttributeName(const char *value)
AwsDynamoDbTableKeySchema & WithKeyType(const char *value)
AwsDynamoDbTableKeySchema & WithAttributeName(const Aws::String &value)
AwsDynamoDbTableKeySchema & WithKeyType(Aws::String &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableKeySchema(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsDynamoDbTableKeySchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableKeySchema & WithAttributeName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue