AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityCenterOptionsInput.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/SubjectKeyIdCOption.h>
10#include <aws/opensearch/model/RolesKeyIdCOption.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 OpenSearchService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput();
38 AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline bool GetEnabledAPIAccess() const{ return m_enabledAPIAccess; }
49 inline bool EnabledAPIAccessHasBeenSet() const { return m_enabledAPIAccessHasBeenSet; }
50 inline void SetEnabledAPIAccess(bool value) { m_enabledAPIAccessHasBeenSet = true; m_enabledAPIAccess = value; }
51 inline IdentityCenterOptionsInput& WithEnabledAPIAccess(bool value) { SetEnabledAPIAccess(value); return *this;}
53
55
59 inline const Aws::String& GetIdentityCenterInstanceARN() const{ return m_identityCenterInstanceARN; }
60 inline bool IdentityCenterInstanceARNHasBeenSet() const { return m_identityCenterInstanceARNHasBeenSet; }
61 inline void SetIdentityCenterInstanceARN(const Aws::String& value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN = value; }
62 inline void SetIdentityCenterInstanceARN(Aws::String&& value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN = std::move(value); }
63 inline void SetIdentityCenterInstanceARN(const char* value) { m_identityCenterInstanceARNHasBeenSet = true; m_identityCenterInstanceARN.assign(value); }
68
70
74 inline const SubjectKeyIdCOption& GetSubjectKey() const{ return m_subjectKey; }
75 inline bool SubjectKeyHasBeenSet() const { return m_subjectKeyHasBeenSet; }
76 inline void SetSubjectKey(const SubjectKeyIdCOption& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = value; }
77 inline void SetSubjectKey(SubjectKeyIdCOption&& value) { m_subjectKeyHasBeenSet = true; m_subjectKey = std::move(value); }
78 inline IdentityCenterOptionsInput& WithSubjectKey(const SubjectKeyIdCOption& value) { SetSubjectKey(value); return *this;}
79 inline IdentityCenterOptionsInput& WithSubjectKey(SubjectKeyIdCOption&& value) { SetSubjectKey(std::move(value)); return *this;}
81
83
87 inline const RolesKeyIdCOption& GetRolesKey() const{ return m_rolesKey; }
88 inline bool RolesKeyHasBeenSet() const { return m_rolesKeyHasBeenSet; }
89 inline void SetRolesKey(const RolesKeyIdCOption& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = value; }
90 inline void SetRolesKey(RolesKeyIdCOption&& value) { m_rolesKeyHasBeenSet = true; m_rolesKey = std::move(value); }
91 inline IdentityCenterOptionsInput& WithRolesKey(const RolesKeyIdCOption& value) { SetRolesKey(value); return *this;}
92 inline IdentityCenterOptionsInput& WithRolesKey(RolesKeyIdCOption&& value) { SetRolesKey(std::move(value)); return *this;}
94 private:
95
96 bool m_enabledAPIAccess;
97 bool m_enabledAPIAccessHasBeenSet = false;
98
99 Aws::String m_identityCenterInstanceARN;
100 bool m_identityCenterInstanceARNHasBeenSet = false;
101
102 SubjectKeyIdCOption m_subjectKey;
103 bool m_subjectKeyHasBeenSet = false;
104
105 RolesKeyIdCOption m_rolesKey;
106 bool m_rolesKeyHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace OpenSearchService
111} // namespace Aws
IdentityCenterOptionsInput & WithRolesKey(RolesKeyIdCOption &&value)
IdentityCenterOptionsInput & WithSubjectKey(const SubjectKeyIdCOption &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IdentityCenterOptionsInput & WithIdentityCenterInstanceARN(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput(Aws::Utils::Json::JsonView jsonValue)
IdentityCenterOptionsInput & WithRolesKey(const RolesKeyIdCOption &value)
IdentityCenterOptionsInput & WithIdentityCenterInstanceARN(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API IdentityCenterOptionsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
IdentityCenterOptionsInput & WithSubjectKey(SubjectKeyIdCOption &&value)
IdentityCenterOptionsInput & WithIdentityCenterInstanceARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue