AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVerifiedAccessInstanceRequest.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 "ModifyVerifiedAccessInstance"; }
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
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline ModifyVerifiedAccessInstanceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline ModifyVerifiedAccessInstanceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
75 inline bool GetDryRun() const{ return m_dryRun; }
76 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
77 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
78 inline ModifyVerifiedAccessInstanceRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
80
82
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
94 inline ModifyVerifiedAccessInstanceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline ModifyVerifiedAccessInstanceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97 private:
98
99 Aws::String m_verifiedAccessInstanceId;
100 bool m_verifiedAccessInstanceIdHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 bool m_dryRun;
106 bool m_dryRunHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EC2
114} // namespace Aws
ModifyVerifiedAccessInstanceRequest & WithClientToken(const char *value)
ModifyVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(Aws::String &&value)
ModifyVerifiedAccessInstanceRequest & WithDescription(const char *value)
ModifyVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVerifiedAccessInstanceRequest & WithClientToken(const Aws::String &value)
ModifyVerifiedAccessInstanceRequest & WithVerifiedAccessInstanceId(const char *value)
ModifyVerifiedAccessInstanceRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyVerifiedAccessInstanceRequest & WithDescription(Aws::String &&value)
ModifyVerifiedAccessInstanceRequest & WithClientToken(Aws::String &&value)
ModifyVerifiedAccessInstanceRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String