AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceServerConfig.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/ResourceServerScopeDetails.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 SSOAdmin
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSOADMIN_API ResourceServerConfig();
40 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, ResourceServerScopeDetails>& GetScopes() const{ return m_scopes; }
49 inline bool ScopesHasBeenSet() const { return m_scopesHasBeenSet; }
50 inline void SetScopes(const Aws::Map<Aws::String, ResourceServerScopeDetails>& value) { m_scopesHasBeenSet = true; m_scopes = value; }
51 inline void SetScopes(Aws::Map<Aws::String, ResourceServerScopeDetails>&& value) { m_scopesHasBeenSet = true; m_scopes = std::move(value); }
54 inline ResourceServerConfig& AddScopes(const Aws::String& key, const ResourceServerScopeDetails& value) { m_scopesHasBeenSet = true; m_scopes.emplace(key, value); return *this; }
55 inline ResourceServerConfig& AddScopes(Aws::String&& key, const ResourceServerScopeDetails& value) { m_scopesHasBeenSet = true; m_scopes.emplace(std::move(key), value); return *this; }
56 inline ResourceServerConfig& AddScopes(const Aws::String& key, ResourceServerScopeDetails&& value) { m_scopesHasBeenSet = true; m_scopes.emplace(key, std::move(value)); return *this; }
57 inline ResourceServerConfig& AddScopes(Aws::String&& key, ResourceServerScopeDetails&& value) { m_scopesHasBeenSet = true; m_scopes.emplace(std::move(key), std::move(value)); return *this; }
58 inline ResourceServerConfig& AddScopes(const char* key, ResourceServerScopeDetails&& value) { m_scopesHasBeenSet = true; m_scopes.emplace(key, std::move(value)); return *this; }
59 inline ResourceServerConfig& AddScopes(const char* key, const ResourceServerScopeDetails& value) { m_scopesHasBeenSet = true; m_scopes.emplace(key, value); return *this; }
61 private:
62
64 bool m_scopesHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SSOAdmin
69} // namespace Aws
ResourceServerConfig & AddScopes(const char *key, const ResourceServerScopeDetails &value)
ResourceServerConfig & AddScopes(const Aws::String &key, ResourceServerScopeDetails &&value)
ResourceServerConfig & AddScopes(const char *key, ResourceServerScopeDetails &&value)
const Aws::Map< Aws::String, ResourceServerScopeDetails > & GetScopes() const
void SetScopes(Aws::Map< Aws::String, ResourceServerScopeDetails > &&value)
ResourceServerConfig & AddScopes(Aws::String &&key, ResourceServerScopeDetails &&value)
AWS_SSOADMIN_API ResourceServerConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SSOADMIN_API ResourceServerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceServerConfig & AddScopes(Aws::String &&key, const ResourceServerScopeDetails &value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceServerConfig & WithScopes(const Aws::Map< Aws::String, ResourceServerScopeDetails > &value)
void SetScopes(const Aws::Map< Aws::String, ResourceServerScopeDetails > &value)
ResourceServerConfig & AddScopes(const Aws::String &key, const ResourceServerScopeDetails &value)
ResourceServerConfig & WithScopes(Aws::Map< Aws::String, ResourceServerScopeDetails > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue