AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIamIdentityCenterConfigOptions.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/model/IamIdentityCenterGroupAttribute.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearchserverless/model/IamIdentityCenterUserAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchServerless
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions();
41 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const IamIdentityCenterGroupAttribute& GetGroupAttribute() const{ return m_groupAttribute; }
50 inline bool GroupAttributeHasBeenSet() const { return m_groupAttributeHasBeenSet; }
51 inline void SetGroupAttribute(const IamIdentityCenterGroupAttribute& value) { m_groupAttributeHasBeenSet = true; m_groupAttribute = value; }
52 inline void SetGroupAttribute(IamIdentityCenterGroupAttribute&& value) { m_groupAttributeHasBeenSet = true; m_groupAttribute = std::move(value); }
56
58
62 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
63 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
64 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
65 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
66 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
68 inline CreateIamIdentityCenterConfigOptions& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
69 inline CreateIamIdentityCenterConfigOptions& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
71
73
77 inline const IamIdentityCenterUserAttribute& GetUserAttribute() const{ return m_userAttribute; }
78 inline bool UserAttributeHasBeenSet() const { return m_userAttributeHasBeenSet; }
79 inline void SetUserAttribute(const IamIdentityCenterUserAttribute& value) { m_userAttributeHasBeenSet = true; m_userAttribute = value; }
80 inline void SetUserAttribute(IamIdentityCenterUserAttribute&& value) { m_userAttributeHasBeenSet = true; m_userAttribute = std::move(value); }
84 private:
85
86 IamIdentityCenterGroupAttribute m_groupAttribute;
87 bool m_groupAttributeHasBeenSet = false;
88
89 Aws::String m_instanceArn;
90 bool m_instanceArnHasBeenSet = false;
91
92 IamIdentityCenterUserAttribute m_userAttribute;
93 bool m_userAttributeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpenSearchServerless
98} // namespace Aws
CreateIamIdentityCenterConfigOptions & WithGroupAttribute(IamIdentityCenterGroupAttribute &&value)
CreateIamIdentityCenterConfigOptions & WithInstanceArn(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CreateIamIdentityCenterConfigOptions & WithGroupAttribute(const IamIdentityCenterGroupAttribute &value)
CreateIamIdentityCenterConfigOptions & WithInstanceArn(const Aws::String &value)
CreateIamIdentityCenterConfigOptions & WithUserAttribute(IamIdentityCenterUserAttribute &&value)
CreateIamIdentityCenterConfigOptions & WithUserAttribute(const IamIdentityCenterUserAttribute &value)
AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue