AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateIamIdentityCenterConfigOptions.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/IamIdentityCenterUserAttribute.h>
10#include <aws/opensearchserverless/model/IamIdentityCenterGroupAttribute.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() = default;
41 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
50 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
51 template<typename InstanceArnT = Aws::String>
52 void SetInstanceArn(InstanceArnT&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::forward<InstanceArnT>(value); }
53 template<typename InstanceArnT = Aws::String>
54 CreateIamIdentityCenterConfigOptions& WithInstanceArn(InstanceArnT&& value) { SetInstanceArn(std::forward<InstanceArnT>(value)); return *this;}
56
58
62 inline IamIdentityCenterUserAttribute GetUserAttribute() const { return m_userAttribute; }
63 inline bool UserAttributeHasBeenSet() const { return m_userAttributeHasBeenSet; }
64 inline void SetUserAttribute(IamIdentityCenterUserAttribute value) { m_userAttributeHasBeenSet = true; m_userAttribute = value; }
67
69
73 inline IamIdentityCenterGroupAttribute GetGroupAttribute() const { return m_groupAttribute; }
74 inline bool GroupAttributeHasBeenSet() const { return m_groupAttributeHasBeenSet; }
75 inline void SetGroupAttribute(IamIdentityCenterGroupAttribute value) { m_groupAttributeHasBeenSet = true; m_groupAttribute = value; }
78 private:
79
80 Aws::String m_instanceArn;
81 bool m_instanceArnHasBeenSet = false;
82
84 bool m_userAttributeHasBeenSet = false;
85
87 bool m_groupAttributeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace OpenSearchServerless
92} // namespace Aws
CreateIamIdentityCenterConfigOptions & WithUserAttribute(IamIdentityCenterUserAttribute value)
AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions(Aws::Utils::Json::JsonView jsonValue)
CreateIamIdentityCenterConfigOptions & WithInstanceArn(InstanceArnT &&value)
CreateIamIdentityCenterConfigOptions & WithGroupAttribute(IamIdentityCenterGroupAttribute value)
AWS_OPENSEARCHSERVERLESS_API CreateIamIdentityCenterConfigOptions()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue