AWS SDK for C++  1.9.108
AWS SDK for C++
AwsDynamoDbTableAttributeDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
45 
49  inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
50 
54  inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
55 
59  inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
60 
64  inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
65 
69  inline AwsDynamoDbTableAttributeDefinition& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
70 
74  inline AwsDynamoDbTableAttributeDefinition& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
75 
79  inline AwsDynamoDbTableAttributeDefinition& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
80 
81 
85  inline const Aws::String& GetAttributeType() const{ return m_attributeType; }
86 
90  inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
91 
95  inline void SetAttributeType(const Aws::String& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
96 
100  inline void SetAttributeType(Aws::String&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); }
101 
105  inline void SetAttributeType(const char* value) { m_attributeTypeHasBeenSet = true; m_attributeType.assign(value); }
106 
110  inline AwsDynamoDbTableAttributeDefinition& WithAttributeType(const Aws::String& value) { SetAttributeType(value); return *this;}
111 
115  inline AwsDynamoDbTableAttributeDefinition& WithAttributeType(Aws::String&& value) { SetAttributeType(std::move(value)); return *this;}
116 
120  inline AwsDynamoDbTableAttributeDefinition& WithAttributeType(const char* value) { SetAttributeType(value); return *this;}
121 
122  private:
123 
124  Aws::String m_attributeName;
125  bool m_attributeNameHasBeenSet;
126 
127  Aws::String m_attributeType;
128  bool m_attributeTypeHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SecurityHub
133 } // namespace Aws
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::AwsDynamoDbTableAttributeDefinition
AwsDynamoDbTableAttributeDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeType
void SetAttributeType(const char *value)
Definition: AwsDynamoDbTableAttributeDefinition.h:105
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeName
AwsDynamoDbTableAttributeDefinition & WithAttributeName(const Aws::String &value)
Definition: AwsDynamoDbTableAttributeDefinition.h:69
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeName
AwsDynamoDbTableAttributeDefinition & WithAttributeName(Aws::String &&value)
Definition: AwsDynamoDbTableAttributeDefinition.h:74
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::GetAttributeType
const Aws::String & GetAttributeType() const
Definition: AwsDynamoDbTableAttributeDefinition.h:85
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeType
AwsDynamoDbTableAttributeDefinition & WithAttributeType(const char *value)
Definition: AwsDynamoDbTableAttributeDefinition.h:120
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeType
void SetAttributeType(const Aws::String &value)
Definition: AwsDynamoDbTableAttributeDefinition.h:95
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeName
void SetAttributeName(Aws::String &&value)
Definition: AwsDynamoDbTableAttributeDefinition.h:59
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeName
AwsDynamoDbTableAttributeDefinition & WithAttributeName(const char *value)
Definition: AwsDynamoDbTableAttributeDefinition.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::AttributeNameHasBeenSet
bool AttributeNameHasBeenSet() const
Definition: AwsDynamoDbTableAttributeDefinition.h:49
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeName
void SetAttributeName(const char *value)
Definition: AwsDynamoDbTableAttributeDefinition.h:64
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition
Definition: AwsDynamoDbTableAttributeDefinition.h:33
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::operator=
AwsDynamoDbTableAttributeDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeType
void SetAttributeType(Aws::String &&value)
Definition: AwsDynamoDbTableAttributeDefinition.h:100
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeType
AwsDynamoDbTableAttributeDefinition & WithAttributeType(Aws::String &&value)
Definition: AwsDynamoDbTableAttributeDefinition.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::AwsDynamoDbTableAttributeDefinition
AwsDynamoDbTableAttributeDefinition()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::GetAttributeName
const Aws::String & GetAttributeName() const
Definition: AwsDynamoDbTableAttributeDefinition.h:44
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::AttributeTypeHasBeenSet
bool AttributeTypeHasBeenSet() const
Definition: AwsDynamoDbTableAttributeDefinition.h:90
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::WithAttributeType
AwsDynamoDbTableAttributeDefinition & WithAttributeType(const Aws::String &value)
Definition: AwsDynamoDbTableAttributeDefinition.h:110
Aws::SecurityHub::Model::AwsDynamoDbTableAttributeDefinition::SetAttributeName
void SetAttributeName(const Aws::String &value)
Definition: AwsDynamoDbTableAttributeDefinition.h:54