AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateTrunkInterfaceRequest.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 "DisassociateTrunkInterface"; }
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& GetAssociationId() const{ return m_associationId; }
45 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
46 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
47 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
48 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
50 inline DisassociateTrunkInterfaceRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
51 inline DisassociateTrunkInterfaceRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
53
55
61 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
64 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
65 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
66 inline DisassociateTrunkInterfaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
67 inline DisassociateTrunkInterfaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
68 inline DisassociateTrunkInterfaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
70
72
78 inline bool GetDryRun() const{ return m_dryRun; }
79 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
80 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
81 inline DisassociateTrunkInterfaceRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
83 private:
84
85 Aws::String m_associationId;
86 bool m_associationIdHasBeenSet = false;
87
88 Aws::String m_clientToken;
89 bool m_clientTokenHasBeenSet = false;
90
91 bool m_dryRun;
92 bool m_dryRunHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
DisassociateTrunkInterfaceRequest & WithAssociationId(const char *value)
DisassociateTrunkInterfaceRequest & WithClientToken(const Aws::String &value)
DisassociateTrunkInterfaceRequest & WithAssociationId(const Aws::String &value)
DisassociateTrunkInterfaceRequest & WithAssociationId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DisassociateTrunkInterfaceRequest & WithClientToken(Aws::String &&value)
DisassociateTrunkInterfaceRequest & WithClientToken(const char *value)
DisassociateTrunkInterfaceRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String