AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIdentityIdFormatRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EC2
15{
16namespace 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 "DescribeIdentityIdFormat"; }
31
32 AWS_EC2_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
56 inline const Aws::String& GetResource() const{ return m_resource; }
57 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
58 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
59 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
60 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
61 inline DescribeIdentityIdFormatRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;}
62 inline DescribeIdentityIdFormatRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
63 inline DescribeIdentityIdFormatRequest& WithResource(const char* value) { SetResource(value); return *this;}
65
67
71 inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
72 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
73 inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
74 inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
75 inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
76 inline DescribeIdentityIdFormatRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
77 inline DescribeIdentityIdFormatRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
78 inline DescribeIdentityIdFormatRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
80 private:
81
82 Aws::String m_resource;
83 bool m_resourceHasBeenSet = false;
84
85 Aws::String m_principalArn;
86 bool m_principalArnHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace EC2
91} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeIdentityIdFormatRequest & WithResource(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
DescribeIdentityIdFormatRequest & WithPrincipalArn(const char *value)
DescribeIdentityIdFormatRequest & WithPrincipalArn(const Aws::String &value)
DescribeIdentityIdFormatRequest & WithResource(const Aws::String &value)
DescribeIdentityIdFormatRequest & WithPrincipalArn(Aws::String &&value)
DescribeIdentityIdFormatRequest & WithResource(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String