AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationAssignmentRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/PrincipalType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSOAdmin
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeApplicationAssignment"; }
32
33 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
46 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
47 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
48 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
49 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
51 inline DescribeApplicationAssignmentRequest& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
52 inline DescribeApplicationAssignmentRequest& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
54
56
63 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
64 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
65 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
66 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
67 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
69 inline DescribeApplicationAssignmentRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
70 inline DescribeApplicationAssignmentRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
72
74
77 inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
78 inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
79 inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
80 inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
82 inline DescribeApplicationAssignmentRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_applicationArn;
87 bool m_applicationArnHasBeenSet = false;
88
89 Aws::String m_principalId;
90 bool m_principalIdHasBeenSet = false;
91
92 PrincipalType m_principalType;
93 bool m_principalTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SSOAdmin
98} // namespace Aws
DescribeApplicationAssignmentRequest & WithPrincipalType(const PrincipalType &value)
DescribeApplicationAssignmentRequest & WithPrincipalId(const Aws::String &value)
DescribeApplicationAssignmentRequest & WithApplicationArn(const Aws::String &value)
DescribeApplicationAssignmentRequest & WithPrincipalId(const char *value)
DescribeApplicationAssignmentRequest & WithApplicationArn(const char *value)
DescribeApplicationAssignmentRequest & WithPrincipalType(PrincipalType &&value)
DescribeApplicationAssignmentRequest & WithApplicationArn(Aws::String &&value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeApplicationAssignmentRequest & WithPrincipalId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String