AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationAssignmentResult.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/sso-admin/model/PrincipalType.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
43 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
44 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
45 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
46 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
48 inline DescribeApplicationAssignmentResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
49 inline DescribeApplicationAssignmentResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
51
53
60 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
61 inline void SetPrincipalId(const Aws::String& value) { m_principalId = value; }
62 inline void SetPrincipalId(Aws::String&& value) { m_principalId = std::move(value); }
63 inline void SetPrincipalId(const char* value) { m_principalId.assign(value); }
65 inline DescribeApplicationAssignmentResult& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
66 inline DescribeApplicationAssignmentResult& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
68
70
73 inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
74 inline void SetPrincipalType(const PrincipalType& value) { m_principalType = value; }
75 inline void SetPrincipalType(PrincipalType&& value) { m_principalType = std::move(value); }
77 inline DescribeApplicationAssignmentResult& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline DescribeApplicationAssignmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline DescribeApplicationAssignmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline DescribeApplicationAssignmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_applicationArn;
93
94 Aws::String m_principalId;
95
96 PrincipalType m_principalType;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace SSOAdmin
103} // namespace Aws
DescribeApplicationAssignmentResult & WithPrincipalType(const PrincipalType &value)
DescribeApplicationAssignmentResult & WithRequestId(Aws::String &&value)
DescribeApplicationAssignmentResult & WithRequestId(const Aws::String &value)
DescribeApplicationAssignmentResult & WithRequestId(const char *value)
DescribeApplicationAssignmentResult & WithPrincipalId(const Aws::String &value)
AWS_SSOADMIN_API DescribeApplicationAssignmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationAssignmentResult & WithApplicationArn(const Aws::String &value)
DescribeApplicationAssignmentResult & WithPrincipalId(const char *value)
AWS_SSOADMIN_API DescribeApplicationAssignmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationAssignmentResult & WithApplicationArn(Aws::String &&value)
DescribeApplicationAssignmentResult & WithPrincipalId(Aws::String &&value)
DescribeApplicationAssignmentResult & WithApplicationArn(const char *value)
DescribeApplicationAssignmentResult & WithPrincipalType(PrincipalType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue