AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UniqueAttribute.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.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 IdentityStore
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IDENTITYSTORE_API UniqueAttribute();
37 AWS_IDENTITYSTORE_API UniqueAttribute(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IDENTITYSTORE_API UniqueAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAttributePath() const{ return m_attributePath; }
48 inline bool AttributePathHasBeenSet() const { return m_attributePathHasBeenSet; }
49 inline void SetAttributePath(const Aws::String& value) { m_attributePathHasBeenSet = true; m_attributePath = value; }
50 inline void SetAttributePath(Aws::String&& value) { m_attributePathHasBeenSet = true; m_attributePath = std::move(value); }
51 inline void SetAttributePath(const char* value) { m_attributePathHasBeenSet = true; m_attributePath.assign(value); }
52 inline UniqueAttribute& WithAttributePath(const Aws::String& value) { SetAttributePath(value); return *this;}
53 inline UniqueAttribute& WithAttributePath(Aws::String&& value) { SetAttributePath(std::move(value)); return *this;}
54 inline UniqueAttribute& WithAttributePath(const char* value) { SetAttributePath(value); return *this;}
56
58
62 inline Aws::Utils::DocumentView GetAttributeValue() const{ return m_attributeValue; }
63 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
64 inline void SetAttributeValue(const Aws::Utils::Document& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
65 inline void SetAttributeValue(Aws::Utils::Document&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
66 inline UniqueAttribute& WithAttributeValue(const Aws::Utils::Document& value) { SetAttributeValue(value); return *this;}
67 inline UniqueAttribute& WithAttributeValue(Aws::Utils::Document&& value) { SetAttributeValue(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_attributePath;
72 bool m_attributePathHasBeenSet = false;
73
74 Aws::Utils::Document m_attributeValue;
75 bool m_attributeValueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IdentityStore
80} // namespace Aws
void SetAttributePath(const Aws::String &value)
UniqueAttribute & WithAttributePath(const char *value)
Aws::Utils::DocumentView GetAttributeValue() const
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IDENTITYSTORE_API UniqueAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
UniqueAttribute & WithAttributeValue(Aws::Utils::Document &&value)
const Aws::String & GetAttributePath() const
AWS_IDENTITYSTORE_API UniqueAttribute(Aws::Utils::Json::JsonView jsonValue)
UniqueAttribute & WithAttributePath(Aws::String &&value)
UniqueAttribute & WithAttributePath(const Aws::String &value)
void SetAttributeValue(const Aws::Utils::Document &value)
void SetAttributeValue(Aws::Utils::Document &&value)
UniqueAttribute & WithAttributeValue(const Aws::Utils::Document &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue