AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeTemplatePermissionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeTemplatePermissions"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
45  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 
51  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
69  inline DescribeTemplatePermissionsRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline DescribeTemplatePermissionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline DescribeTemplatePermissionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
88 
92  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
93 
97  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
98 
102  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
103 
107  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
108 
112  inline DescribeTemplatePermissionsRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
113 
117  inline DescribeTemplatePermissionsRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
118 
122  inline DescribeTemplatePermissionsRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_awsAccountId;
127  bool m_awsAccountIdHasBeenSet;
128 
129  Aws::String m_templateId;
130  bool m_templateIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace QuickSight
135 } // namespace Aws
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithAwsAccountId
DescribeTemplatePermissionsRequest & WithAwsAccountId(const char *value)
Definition: DescribeTemplatePermissionsRequest.h:81
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DescribeTemplatePermissionsRequest.h:57
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithTemplateId
DescribeTemplatePermissionsRequest & WithTemplateId(const char *value)
Definition: DescribeTemplatePermissionsRequest.h:122
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DescribeTemplatePermissionsRequest.h:45
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeTemplatePermissionsRequest.h:30
QuickSightRequest.h
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetTemplateId
void SetTemplateId(const char *value)
Definition: DescribeTemplatePermissionsRequest.h:107
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DescribeTemplatePermissionsRequest.h:51
AWSString.h
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::GetTemplateId
const Aws::String & GetTemplateId() const
Definition: DescribeTemplatePermissionsRequest.h:87
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::TemplateIdHasBeenSet
bool TemplateIdHasBeenSet() const
Definition: DescribeTemplatePermissionsRequest.h:92
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithAwsAccountId
DescribeTemplatePermissionsRequest & WithAwsAccountId(Aws::String &&value)
Definition: DescribeTemplatePermissionsRequest.h:75
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetTemplateId
void SetTemplateId(const Aws::String &value)
Definition: DescribeTemplatePermissionsRequest.h:97
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithTemplateId
DescribeTemplatePermissionsRequest & WithTemplateId(Aws::String &&value)
Definition: DescribeTemplatePermissionsRequest.h:117
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DescribeTemplatePermissionsRequest.h:39
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithTemplateId
DescribeTemplatePermissionsRequest & WithTemplateId(const Aws::String &value)
Definition: DescribeTemplatePermissionsRequest.h:112
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::DescribeTemplatePermissionsRequest
DescribeTemplatePermissionsRequest()
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::WithAwsAccountId
DescribeTemplatePermissionsRequest & WithAwsAccountId(const Aws::String &value)
Definition: DescribeTemplatePermissionsRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DescribeTemplatePermissionsRequest.h:63
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest
Definition: DescribeTemplatePermissionsRequest.h:22
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DescribeTemplatePermissionsRequest::SetTemplateId
void SetTemplateId(Aws::String &&value)
Definition: DescribeTemplatePermissionsRequest.h:102