AWS SDK for C++  1.8.71
AWS SDK for C++
GenerateOrganizationsAccessReportRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
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 "GenerateOrganizationsAccessReport"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
48  inline const Aws::String& GetEntityPath() const{ return m_entityPath; }
49 
59  inline bool EntityPathHasBeenSet() const { return m_entityPathHasBeenSet; }
60 
70  inline void SetEntityPath(const Aws::String& value) { m_entityPathHasBeenSet = true; m_entityPath = value; }
71 
81  inline void SetEntityPath(Aws::String&& value) { m_entityPathHasBeenSet = true; m_entityPath = std::move(value); }
82 
92  inline void SetEntityPath(const char* value) { m_entityPathHasBeenSet = true; m_entityPath.assign(value); }
93 
103  inline GenerateOrganizationsAccessReportRequest& WithEntityPath(const Aws::String& value) { SetEntityPath(value); return *this;}
104 
114  inline GenerateOrganizationsAccessReportRequest& WithEntityPath(Aws::String&& value) { SetEntityPath(std::move(value)); return *this;}
115 
125  inline GenerateOrganizationsAccessReportRequest& WithEntityPath(const char* value) { SetEntityPath(value); return *this;}
126 
127 
134  inline const Aws::String& GetOrganizationsPolicyId() const{ return m_organizationsPolicyId; }
135 
142  inline bool OrganizationsPolicyIdHasBeenSet() const { return m_organizationsPolicyIdHasBeenSet; }
143 
150  inline void SetOrganizationsPolicyId(const Aws::String& value) { m_organizationsPolicyIdHasBeenSet = true; m_organizationsPolicyId = value; }
151 
158  inline void SetOrganizationsPolicyId(Aws::String&& value) { m_organizationsPolicyIdHasBeenSet = true; m_organizationsPolicyId = std::move(value); }
159 
166  inline void SetOrganizationsPolicyId(const char* value) { m_organizationsPolicyIdHasBeenSet = true; m_organizationsPolicyId.assign(value); }
167 
174  inline GenerateOrganizationsAccessReportRequest& WithOrganizationsPolicyId(const Aws::String& value) { SetOrganizationsPolicyId(value); return *this;}
175 
182  inline GenerateOrganizationsAccessReportRequest& WithOrganizationsPolicyId(Aws::String&& value) { SetOrganizationsPolicyId(std::move(value)); return *this;}
183 
190  inline GenerateOrganizationsAccessReportRequest& WithOrganizationsPolicyId(const char* value) { SetOrganizationsPolicyId(value); return *this;}
191 
192  private:
193 
194  Aws::String m_entityPath;
195  bool m_entityPathHasBeenSet;
196 
197  Aws::String m_organizationsPolicyId;
198  bool m_organizationsPolicyIdHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace IAM
203 } // namespace Aws
GenerateOrganizationsAccessReportRequest & WithOrganizationsPolicyId(const char *value)
GenerateOrganizationsAccessReportRequest & WithOrganizationsPolicyId(const Aws::String &value)
GenerateOrganizationsAccessReportRequest & WithEntityPath(const char *value)
GenerateOrganizationsAccessReportRequest & WithOrganizationsPolicyId(Aws::String &&value)
GenerateOrganizationsAccessReportRequest & WithEntityPath(const Aws::String &value)
GenerateOrganizationsAccessReportRequest & WithEntityPath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28