AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
GetApplicationAccessScopeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSOAdmin {
24namespace Model {
26 public:
27 AWS_SSOADMIN_API GetApplicationAccessScopeResult() = default;
30
32
36 inline const Aws::String& GetScope() const { return m_scope; }
37 template <typename ScopeT = Aws::String>
38 void SetScope(ScopeT&& value) {
39 m_scopeHasBeenSet = true;
40 m_scope = std::forward<ScopeT>(value);
41 }
42 template <typename ScopeT = Aws::String>
44 SetScope(std::forward<ScopeT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Vector<Aws::String>& GetAuthorizedTargets() const { return m_authorizedTargets; }
54 template <typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
55 void SetAuthorizedTargets(AuthorizedTargetsT&& value) {
56 m_authorizedTargetsHasBeenSet = true;
57 m_authorizedTargets = std::forward<AuthorizedTargetsT>(value);
58 }
59 template <typename AuthorizedTargetsT = Aws::Vector<Aws::String>>
61 SetAuthorizedTargets(std::forward<AuthorizedTargetsT>(value));
62 return *this;
63 }
64 template <typename AuthorizedTargetsT = Aws::String>
66 m_authorizedTargetsHasBeenSet = true;
67 m_authorizedTargets.emplace_back(std::forward<AuthorizedTargetsT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 Aws::String m_scope;
90
91 Aws::Vector<Aws::String> m_authorizedTargets;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_scopeHasBeenSet = false;
96 bool m_authorizedTargetsHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SSOAdmin
102} // 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