AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
DescribeApplicationAssignmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
10#include <aws/sso-admin/model/PrincipalType.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 DescribeApplicationAssignmentResult() = default;
30
32
35 inline PrincipalType GetPrincipalType() const { return m_principalType; }
36 inline void SetPrincipalType(PrincipalType value) {
37 m_principalTypeHasBeenSet = true;
38 m_principalType = value;
39 }
45
47
54 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
55 template <typename PrincipalIdT = Aws::String>
56 void SetPrincipalId(PrincipalIdT&& value) {
57 m_principalIdHasBeenSet = true;
58 m_principalId = std::forward<PrincipalIdT>(value);
59 }
60 template <typename PrincipalIdT = Aws::String>
62 SetPrincipalId(std::forward<PrincipalIdT>(value));
63 return *this;
64 }
66
68
74 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
75 template <typename ApplicationArnT = Aws::String>
76 void SetApplicationArn(ApplicationArnT&& value) {
77 m_applicationArnHasBeenSet = true;
78 m_applicationArn = std::forward<ApplicationArnT>(value);
79 }
80 template <typename ApplicationArnT = Aws::String>
82 SetApplicationArn(std::forward<ApplicationArnT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 PrincipalType m_principalType{PrincipalType::NOT_SET};
105
106 Aws::String m_principalId;
107
108 Aws::String m_applicationArn;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_principalTypeHasBeenSet = false;
113 bool m_principalIdHasBeenSet = false;
114 bool m_applicationArnHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace SSOAdmin
120} // namespace Aws
DescribeApplicationAssignmentResult & WithRequestId(RequestIdT &&value)
DescribeApplicationAssignmentResult & WithPrincipalType(PrincipalType value)
AWS_SSOADMIN_API DescribeApplicationAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationAssignmentResult & WithPrincipalId(PrincipalIdT &&value)
DescribeApplicationAssignmentResult & WithApplicationArn(ApplicationArnT &&value)
AWS_SSOADMIN_API DescribeApplicationAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue