AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApplicationAccessScopeResult.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SSOAdmin
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SSOADMIN_API GetApplicationAccessScopeResult() = default;
34
35
37
41 inline const Aws::String& GetScope() const { return m_scope; }
42 template<typename ScopeT = Aws::String>
43 void SetScope(ScopeT&& value) { m_scopeHasBeenSet = true; m_scope = std::forward<ScopeT>(value); }
44 template<typename ScopeT = Aws::String>
45 GetApplicationAccessScopeResult& WithScope(ScopeT&& value) { SetScope(std::forward<ScopeT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const { return m_authorizedTargets; }
53 template<typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
54 void SetAuthorizedTargets(AuthorizedTargetsT&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets = std::forward<AuthorizedTargetsT>(value); }
55 template<typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
56 GetApplicationAccessScopeResult& WithAuthorizedTargets(AuthorizedTargetsT&& value) { SetAuthorizedTargets(std::forward<AuthorizedTargetsT>(value)); return *this;}
57 template<typename AuthorizedTargetsT = Aws::String>
58 GetApplicationAccessScopeResult& AddAuthorizedTargets(AuthorizedTargetsT&& value) { m_authorizedTargetsHasBeenSet = true; m_authorizedTargets.emplace_back(std::forward<AuthorizedTargetsT>(value)); return *this; }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 GetApplicationAccessScopeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_scope;
72 bool m_scopeHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_authorizedTargets;
75 bool m_authorizedTargetsHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SSOAdmin
83} // namespace Aws
GetApplicationAccessScopeResult & WithRequestId(RequestIdT &&value)
AWS_SSOADMIN_API GetApplicationAccessScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationAccessScopeResult & WithScope(ScopeT &&value)
AWS_SSOADMIN_API GetApplicationAccessScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSOADMIN_API GetApplicationAccessScopeResult()=default
GetApplicationAccessScopeResult & AddAuthorizedTargets(AuthorizedTargetsT &&value)
GetApplicationAccessScopeResult & WithAuthorizedTargets(AuthorizedTargetsT &&value)
const Aws::Vector< Aws::String > & GetAuthorizedTargets() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue