1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/quicksight/QuickSight_EXPORTS.h>
8 #include <aws/quicksight/QuickSightRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_QUICKSIGHT_API DescribeFolderPermissionsRequest : public QuickSightRequest
22   {
23   public:
24     DescribeFolderPermissionsRequest();
25 
26     // Service request name is the Operation name which will send this request out,
27     // each operation should has unique request name, so that we can get operation's name from this request.
28     // Note: this is not true for response, multiple operations may have the same response name,
29     // so we can not get operation's name from response.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "DescribeFolderPermissions"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * <p>The AWS Account ID.</p>
37      */
GetAwsAccountId()38     inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
39 
40     /**
41      * <p>The AWS Account ID.</p>
42      */
AwsAccountIdHasBeenSet()43     inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 
45     /**
46      * <p>The AWS Account ID.</p>
47      */
SetAwsAccountId(const Aws::String & value)48     inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 
50     /**
51      * <p>The AWS Account ID.</p>
52      */
SetAwsAccountId(Aws::String && value)53     inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
54 
55     /**
56      * <p>The AWS Account ID.</p>
57      */
SetAwsAccountId(const char * value)58     inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 
60     /**
61      * <p>The AWS Account ID.</p>
62      */
WithAwsAccountId(const Aws::String & value)63     inline DescribeFolderPermissionsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
65     /**
66      * <p>The AWS Account ID.</p>
67      */
WithAwsAccountId(Aws::String && value)68     inline DescribeFolderPermissionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
70     /**
71      * <p>The AWS Account ID.</p>
72      */
WithAwsAccountId(const char * value)73     inline DescribeFolderPermissionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
74 
75 
76     /**
77      * <p>The folder ID.</p>
78      */
GetFolderId()79     inline const Aws::String& GetFolderId() const{ return m_folderId; }
80 
81     /**
82      * <p>The folder ID.</p>
83      */
FolderIdHasBeenSet()84     inline bool FolderIdHasBeenSet() const { return m_folderIdHasBeenSet; }
85 
86     /**
87      * <p>The folder ID.</p>
88      */
SetFolderId(const Aws::String & value)89     inline void SetFolderId(const Aws::String& value) { m_folderIdHasBeenSet = true; m_folderId = value; }
90 
91     /**
92      * <p>The folder ID.</p>
93      */
SetFolderId(Aws::String && value)94     inline void SetFolderId(Aws::String&& value) { m_folderIdHasBeenSet = true; m_folderId = std::move(value); }
95 
96     /**
97      * <p>The folder ID.</p>
98      */
SetFolderId(const char * value)99     inline void SetFolderId(const char* value) { m_folderIdHasBeenSet = true; m_folderId.assign(value); }
100 
101     /**
102      * <p>The folder ID.</p>
103      */
WithFolderId(const Aws::String & value)104     inline DescribeFolderPermissionsRequest& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
105 
106     /**
107      * <p>The folder ID.</p>
108      */
WithFolderId(Aws::String && value)109     inline DescribeFolderPermissionsRequest& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
110 
111     /**
112      * <p>The folder ID.</p>
113      */
WithFolderId(const char * value)114     inline DescribeFolderPermissionsRequest& WithFolderId(const char* value) { SetFolderId(value); return *this;}
115 
116   private:
117 
118     Aws::String m_awsAccountId;
119     bool m_awsAccountIdHasBeenSet;
120 
121     Aws::String m_folderId;
122     bool m_folderIdHasBeenSet;
123   };
124 
125 } // namespace Model
126 } // namespace QuickSight
127 } // namespace Aws
128