AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScopeDetails.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SSOAdmin
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSOADMIN_API ScopeDetails();
37 AWS_SSOADMIN_API ScopeDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const{ return m_authorizedTargets; }
47 inline bool AuthorizedTargetsHasBeenSet() const { return m_authorizedTargetsHasBeenSet; }
48 inline void SetAuthorizedTargets(const Aws::Vector<Aws::String>& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = value; }
49 inline void SetAuthorizedTargets(Aws::Vector<Aws::String>&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::move(value); }
51 inline ScopeDetails& WithAuthorizedTargets(Aws::Vector<Aws::String>&& value) { SetAuthorizedTargets(std::move(value)); return *this;}
52 inline ScopeDetails& AddAuthorizedTargets(const Aws::String& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
53 inline ScopeDetails& AddAuthorizedTargets(Aws::String&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(std::move(value)); return *this; }
54 inline ScopeDetails& AddAuthorizedTargets(const char* value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.push_back(value); return *this; }
56
58
61 inline const Aws::String& GetScope() const{ return m_scope; }
62 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
63 inline void SetScope(const Aws::String& value) { m_scopeHasBeenSet = true; m_scope = value; }
64 inline void SetScope(Aws::String&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
65 inline void SetScope(const char* value) { m_scopeHasBeenSet = true; m_scope.assign(value); }
66 inline ScopeDetails& WithScope(const Aws::String& value) { SetScope(value); return *this;}
67 inline ScopeDetails& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
68 inline ScopeDetails& WithScope(const char* value) { SetScope(value); return *this;}
70 private:
71
72 Aws::Vector<Aws::String> m_authorizedTargets;
73 bool m_authorizedTargetsHasBeenSet = false;
74
75 Aws::String m_scope;
76 bool m_scopeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SSOAdmin
81} // namespace Aws
void SetAuthorizedTargets(Aws::Vector< Aws::String > &&value)
void SetScope(const char *value)
ScopeDetails & AddAuthorizedTargets(const char *value)
void SetAuthorizedTargets(const Aws::Vector< Aws::String > &value)
ScopeDetails & WithAuthorizedTargets(Aws::Vector< Aws::String > &&value)
ScopeDetails & AddAuthorizedTargets(Aws::String &&value)
ScopeDetails & AddAuthorizedTargets(const Aws::String &value)
ScopeDetails & WithScope(const Aws::String &value)
void SetScope(Aws::String &&value)
const Aws::String & GetScope() const
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
ScopeDetails & WithScope(Aws::String &&value)
ScopeDetails & WithScope(const char *value)
void SetScope(const Aws::String &value)
AWS_SSOADMIN_API ScopeDetails(Aws::Utils::Json::JsonView jsonValue)
ScopeDetails & WithAuthorizedTargets(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAuthorizedTargets() const
AWS_SSOADMIN_API ScopeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue