AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessGroupRequest.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#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyVerifiedAccessGroup"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetVerifiedAccessGroupId() const{ return m_verifiedAccessGroupId; }
45 inline bool VerifiedAccessGroupIdHasBeenSet() const { return m_verifiedAccessGroupIdHasBeenSet; }
46 inline void SetVerifiedAccessGroupId(const Aws::String& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = value; }
47 inline void SetVerifiedAccessGroupId(Aws::String&& value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId = std::move(value); }
48 inline void SetVerifiedAccessGroupId(const char* value) { m_verifiedAccessGroupIdHasBeenSet = true; m_verifiedAccessGroupId.assign(value); }
53
55
58 inline const Aws::String& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
59 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
60 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
61 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
62 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline ModifyVerifiedAccessGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline ModifyVerifiedAccessGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline ModifyVerifiedAccessGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
89 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
90 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
91 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
92 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
93 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
94 inline ModifyVerifiedAccessGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
95 inline ModifyVerifiedAccessGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
96 inline ModifyVerifiedAccessGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
98
100
106 inline bool GetDryRun() const{ return m_dryRun; }
107 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
108 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
109 inline ModifyVerifiedAccessGroupRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
111 private:
112
113 Aws::String m_verifiedAccessGroupId;
114 bool m_verifiedAccessGroupIdHasBeenSet = false;
115
116 Aws::String m_verifiedAccessInstanceId;
117 bool m_verifiedAccessInstanceIdHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 bool m_dryRun;
126 bool m_dryRunHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace EC2
131} // namespace Aws
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(const Aws::String &value)
ModifyVerifiedAccessGroupRequest & WithClientToken(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessGroupRequest & WithClientToken(Aws::String &&value)
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessGroupId(const Aws::String &value)
ModifyVerifiedAccessGroupRequest & WithDescription(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessGroupRequest & WithDescription(const Aws::String &value)
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessGroupId(const char *value)
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(Aws::String &&value)
ModifyVerifiedAccessGroupRequest & WithDescription(const char *value)
ModifyVerifiedAccessGroupRequest & WithDryRun(bool value)
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessGroupId(Aws::String &&value)
ModifyVerifiedAccessGroupRequest & WithClientToken(const char *value)
ModifyVerifiedAccessGroupRequest & WithVerifiedAccessInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String