AWS SDK for C++  1.9.46
AWS SDK for C++
DescribeIAMPolicyAssignmentRequest.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 "DescribeIAMPolicyAssignment"; }
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 DescribeIAMPolicyAssignmentRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline DescribeIAMPolicyAssignmentRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline DescribeIAMPolicyAssignmentRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; }
88 
92  inline bool AssignmentNameHasBeenSet() const { return m_assignmentNameHasBeenSet; }
93 
97  inline void SetAssignmentName(const Aws::String& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = value; }
98 
102  inline void SetAssignmentName(Aws::String&& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = std::move(value); }
103 
107  inline void SetAssignmentName(const char* value) { m_assignmentNameHasBeenSet = true; m_assignmentName.assign(value); }
108 
112  inline DescribeIAMPolicyAssignmentRequest& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;}
113 
117  inline DescribeIAMPolicyAssignmentRequest& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;}
118 
122  inline DescribeIAMPolicyAssignmentRequest& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;}
123 
124 
128  inline const Aws::String& GetNamespace() const{ return m_namespace; }
129 
133  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
134 
138  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
139 
143  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
144 
148  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
149 
153  inline DescribeIAMPolicyAssignmentRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
154 
158  inline DescribeIAMPolicyAssignmentRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
159 
163  inline DescribeIAMPolicyAssignmentRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
164 
165  private:
166 
167  Aws::String m_awsAccountId;
168  bool m_awsAccountIdHasBeenSet;
169 
170  Aws::String m_assignmentName;
171  bool m_assignmentNameHasBeenSet;
172 
173  Aws::String m_namespace;
174  bool m_namespaceHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace QuickSight
179 } // namespace Aws
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeIAMPolicyAssignmentRequest.h:30
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:138
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::AssignmentNameHasBeenSet
bool AssignmentNameHasBeenSet() const
Definition: DescribeIAMPolicyAssignmentRequest.h:92
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:51
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DescribeIAMPolicyAssignmentRequest.h:39
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::DescribeIAMPolicyAssignmentRequest
DescribeIAMPolicyAssignmentRequest()
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:107
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithNamespace
DescribeIAMPolicyAssignmentRequest & WithNamespace(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:153
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::GetAssignmentName
const Aws::String & GetAssignmentName() const
Definition: DescribeIAMPolicyAssignmentRequest.h:87
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:57
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest
Definition: DescribeIAMPolicyAssignmentRequest.h:22
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAssignmentName
DescribeIAMPolicyAssignmentRequest & WithAssignmentName(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:117
QuickSightRequest.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAssignmentName
DescribeIAMPolicyAssignmentRequest & WithAssignmentName(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:122
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:148
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAwsAccountId
DescribeIAMPolicyAssignmentRequest & WithAwsAccountId(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:69
AWSString.h
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAssignmentName
DescribeIAMPolicyAssignmentRequest & WithAssignmentName(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:112
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithNamespace
DescribeIAMPolicyAssignmentRequest & WithNamespace(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:163
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:63
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DescribeIAMPolicyAssignmentRequest.h:133
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAwsAccountId
DescribeIAMPolicyAssignmentRequest & WithAwsAccountId(const char *value)
Definition: DescribeIAMPolicyAssignmentRequest.h:81
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DescribeIAMPolicyAssignmentRequest.h:45
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetAssignmentName
void SetAssignmentName(const Aws::String &value)
Definition: DescribeIAMPolicyAssignmentRequest.h:97
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DescribeIAMPolicyAssignmentRequest.h:128
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithAwsAccountId
DescribeIAMPolicyAssignmentRequest & WithAwsAccountId(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:75
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::WithNamespace
DescribeIAMPolicyAssignmentRequest & WithNamespace(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:158
Aws::QuickSight::Model::DescribeIAMPolicyAssignmentRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DescribeIAMPolicyAssignmentRequest.h:143