AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyIdentityIdFormatRequest.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 "ModifyIdentityIdFormat"; }
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
57 inline const Aws::String& GetResource() const{ return m_resource; }
58 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
59 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
60 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
61 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
62 inline ModifyIdentityIdFormatRequest& WithResource(const Aws::String& value) { SetResource(value); return *this;}
63 inline ModifyIdentityIdFormatRequest& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
64 inline ModifyIdentityIdFormatRequest& WithResource(const char* value) { SetResource(value); return *this;}
66
68
71 inline bool GetUseLongIds() const{ return m_useLongIds; }
72 inline bool UseLongIdsHasBeenSet() const { return m_useLongIdsHasBeenSet; }
73 inline void SetUseLongIds(bool value) { m_useLongIdsHasBeenSet = true; m_useLongIds = value; }
74 inline ModifyIdentityIdFormatRequest& WithUseLongIds(bool value) { SetUseLongIds(value); return *this;}
76
78
83 inline const Aws::String& GetPrincipalArn() const{ return m_principalArn; }
84 inline bool PrincipalArnHasBeenSet() const { return m_principalArnHasBeenSet; }
85 inline void SetPrincipalArn(const Aws::String& value) { m_principalArnHasBeenSet = true; m_principalArn = value; }
86 inline void SetPrincipalArn(Aws::String&& value) { m_principalArnHasBeenSet = true; m_principalArn = std::move(value); }
87 inline void SetPrincipalArn(const char* value) { m_principalArnHasBeenSet = true; m_principalArn.assign(value); }
88 inline ModifyIdentityIdFormatRequest& WithPrincipalArn(const Aws::String& value) { SetPrincipalArn(value); return *this;}
89 inline ModifyIdentityIdFormatRequest& WithPrincipalArn(Aws::String&& value) { SetPrincipalArn(std::move(value)); return *this;}
90 inline ModifyIdentityIdFormatRequest& WithPrincipalArn(const char* value) { SetPrincipalArn(value); return *this;}
92 private:
93
94 Aws::String m_resource;
95 bool m_resourceHasBeenSet = false;
96
97 bool m_useLongIds;
98 bool m_useLongIdsHasBeenSet = false;
99
100 Aws::String m_principalArn;
101 bool m_principalArnHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
ModifyIdentityIdFormatRequest & WithResource(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyIdentityIdFormatRequest & WithResource(const char *value)
ModifyIdentityIdFormatRequest & WithPrincipalArn(const char *value)
ModifyIdentityIdFormatRequest & WithPrincipalArn(const Aws::String &value)
ModifyIdentityIdFormatRequest & WithResource(Aws::String &&value)
ModifyIdentityIdFormatRequest & WithUseLongIds(bool value)
ModifyIdentityIdFormatRequest & WithPrincipalArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String