AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LookupAttribute.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/LookupAttributeKey.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 CloudTrail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDTRAIL_API LookupAttribute();
37 AWS_CLOUDTRAIL_API LookupAttribute(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LookupAttributeKey& GetAttributeKey() const{ return m_attributeKey; }
47 inline bool AttributeKeyHasBeenSet() const { return m_attributeKeyHasBeenSet; }
48 inline void SetAttributeKey(const LookupAttributeKey& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = value; }
49 inline void SetAttributeKey(LookupAttributeKey&& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = std::move(value); }
50 inline LookupAttribute& WithAttributeKey(const LookupAttributeKey& value) { SetAttributeKey(value); return *this;}
51 inline LookupAttribute& WithAttributeKey(LookupAttributeKey&& value) { SetAttributeKey(std::move(value)); return *this;}
53
55
62 inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
63 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
64 inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
65 inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
66 inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
67 inline LookupAttribute& WithAttributeValue(const Aws::String& value) { SetAttributeValue(value); return *this;}
68 inline LookupAttribute& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
69 inline LookupAttribute& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
71 private:
72
73 LookupAttributeKey m_attributeKey;
74 bool m_attributeKeyHasBeenSet = false;
75
76 Aws::String m_attributeValue;
77 bool m_attributeValueHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudTrail
82} // namespace Aws
void SetAttributeValue(const char *value)
LookupAttribute & WithAttributeKey(const LookupAttributeKey &value)
void SetAttributeValue(Aws::String &&value)
LookupAttribute & WithAttributeValue(const Aws::String &value)
LookupAttribute & WithAttributeKey(LookupAttributeKey &&value)
const Aws::String & GetAttributeValue() const
void SetAttributeKey(const LookupAttributeKey &value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
LookupAttribute & WithAttributeValue(const char *value)
LookupAttribute & WithAttributeValue(Aws::String &&value)
AWS_CLOUDTRAIL_API LookupAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API LookupAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeValue(const Aws::String &value)
void SetAttributeKey(LookupAttributeKey &&value)
const LookupAttributeKey & GetAttributeKey() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue