AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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:
34
35
37
40 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const{ return m_authorizedTargets; }
41 inline void SetAuthorizedTargets(const Aws::Vector<Aws::String>& value) { m_authorizedTargets = value; }
42 inline void SetAuthorizedTargets(Aws::Vector<Aws::String>&& value) { m_authorizedTargets = std::move(value); }
45 inline GetApplicationAccessScopeResult& AddAuthorizedTargets(const Aws::String& value) { m_authorizedTargets.push_back(value); return *this; }
46 inline GetApplicationAccessScopeResult& AddAuthorizedTargets(Aws::String&& value) { m_authorizedTargets.push_back(std::move(value)); return *this; }
47 inline GetApplicationAccessScopeResult& AddAuthorizedTargets(const char* value) { m_authorizedTargets.push_back(value); return *this; }
49
51
55 inline const Aws::String& GetScope() const{ return m_scope; }
56 inline void SetScope(const Aws::String& value) { m_scope = value; }
57 inline void SetScope(Aws::String&& value) { m_scope = std::move(value); }
58 inline void SetScope(const char* value) { m_scope.assign(value); }
59 inline GetApplicationAccessScopeResult& WithScope(const Aws::String& value) { SetScope(value); return *this;}
60 inline GetApplicationAccessScopeResult& WithScope(Aws::String&& value) { SetScope(std::move(value)); return *this;}
61 inline GetApplicationAccessScopeResult& WithScope(const char* value) { SetScope(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline GetApplicationAccessScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline GetApplicationAccessScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline GetApplicationAccessScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<Aws::String> m_authorizedTargets;
77
78 Aws::String m_scope;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace SSOAdmin
85} // namespace Aws
GetApplicationAccessScopeResult & WithRequestId(const Aws::String &value)
AWS_SSOADMIN_API GetApplicationAccessScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationAccessScopeResult & AddAuthorizedTargets(const char *value)
GetApplicationAccessScopeResult & WithAuthorizedTargets(Aws::Vector< Aws::String > &&value)
GetApplicationAccessScopeResult & WithRequestId(Aws::String &&value)
GetApplicationAccessScopeResult & AddAuthorizedTargets(Aws::String &&value)
GetApplicationAccessScopeResult & WithAuthorizedTargets(const Aws::Vector< Aws::String > &value)
void SetAuthorizedTargets(const Aws::Vector< Aws::String > &value)
AWS_SSOADMIN_API GetApplicationAccessScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationAccessScopeResult & AddAuthorizedTargets(const Aws::String &value)
GetApplicationAccessScopeResult & WithScope(const char *value)
GetApplicationAccessScopeResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetAuthorizedTargets() const
GetApplicationAccessScopeResult & WithScope(Aws::String &&value)
GetApplicationAccessScopeResult & WithScope(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue