AWS SDK for C++  1.9.104
AWS SDK for C++
CreatePermissionSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SSOAdmin
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const PermissionSet& GetPermissionSet() const{ return m_permissionSet; }
39 
43  inline void SetPermissionSet(const PermissionSet& value) { m_permissionSet = value; }
44 
48  inline void SetPermissionSet(PermissionSet&& value) { m_permissionSet = std::move(value); }
49 
53  inline CreatePermissionSetResult& WithPermissionSet(const PermissionSet& value) { SetPermissionSet(value); return *this;}
54 
58  inline CreatePermissionSetResult& WithPermissionSet(PermissionSet&& value) { SetPermissionSet(std::move(value)); return *this;}
59 
60  private:
61 
62  PermissionSet m_permissionSet;
63  };
64 
65 } // namespace Model
66 } // namespace SSOAdmin
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SSOAdmin::Model::CreatePermissionSetResult::GetPermissionSet
const PermissionSet & GetPermissionSet() const
Definition: CreatePermissionSetResult.h:38
Aws::SSOAdmin::Model::CreatePermissionSetResult::CreatePermissionSetResult
CreatePermissionSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSOAdmin::Model::CreatePermissionSetResult::operator=
CreatePermissionSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::CreatePermissionSetResult::CreatePermissionSetResult
CreatePermissionSetResult()
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::CreatePermissionSetResult::WithPermissionSet
CreatePermissionSetResult & WithPermissionSet(const PermissionSet &value)
Definition: CreatePermissionSetResult.h:53
PermissionSet.h
Aws::SSOAdmin::Model::CreatePermissionSetResult::SetPermissionSet
void SetPermissionSet(PermissionSet &&value)
Definition: CreatePermissionSetResult.h:48
Aws::SSOAdmin::Model::PermissionSet
Definition: PermissionSet.h:33
Aws::SSOAdmin::Model::CreatePermissionSetResult
Definition: CreatePermissionSetResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::CreatePermissionSetResult::WithPermissionSet
CreatePermissionSetResult & WithPermissionSet(PermissionSet &&value)
Definition: CreatePermissionSetResult.h:58
Aws::SSOAdmin::Model::CreatePermissionSetResult::SetPermissionSet
void SetPermissionSet(const PermissionSet &value)
Definition: CreatePermissionSetResult.h:43