AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVerifiedAccessInstanceRequest.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 "DeleteVerifiedAccessInstance"; }
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& GetVerifiedAccessInstanceId() const{ return m_verifiedAccessInstanceId; }
45 inline bool VerifiedAccessInstanceIdHasBeenSet() const { return m_verifiedAccessInstanceIdHasBeenSet; }
46 inline void SetVerifiedAccessInstanceId(const Aws::String& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = value; }
47 inline void SetVerifiedAccessInstanceId(Aws::String&& value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId = std::move(value); }
48 inline void SetVerifiedAccessInstanceId(const char* value) { m_verifiedAccessInstanceIdHasBeenSet = true; m_verifiedAccessInstanceId.assign(value); }
53
55
61 inline bool GetDryRun() const{ return m_dryRun; }
62 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
63 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 inline DeleteVerifiedAccessInstanceRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
66
68
74 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
77 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
78 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
80 inline DeleteVerifiedAccessInstanceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
81 inline DeleteVerifiedAccessInstanceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
83 private:
84
85 Aws::String m_verifiedAccessInstanceId;
86 bool m_verifiedAccessInstanceIdHasBeenSet = false;
87
88 bool m_dryRun;
89 bool m_dryRunHasBeenSet = false;
90
91 Aws::String m_clientToken;
92 bool m_clientTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
DeleteVerifiedAccessInstanceRequest & WithClientToken(Aws::String &&value)
DeleteVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(Aws::String &&value)
DeleteVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(const Aws::String &value)
DeleteVerifiedAccessInstanceRequest & WithDryRun(bool value)
DeleteVerifiedAccessInstanceRequest & WithClientToken(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
DeleteVerifiedAccessInstanceRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String