AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelHandshakeRequest.h
1
6#pragma once
7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Organizations
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ORGANIZATIONS_API CancelHandshakeRequest();
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 "CancelHandshake"; }
31
32 AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override;
33
34 AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
44 inline const Aws::String& GetHandshakeId() const{ return m_handshakeId; }
45 inline bool HandshakeIdHasBeenSet() const { return m_handshakeIdHasBeenSet; }
46 inline void SetHandshakeId(const Aws::String& value) { m_handshakeIdHasBeenSet = true; m_handshakeId = value; }
47 inline void SetHandshakeId(Aws::String&& value) { m_handshakeIdHasBeenSet = true; m_handshakeId = std::move(value); }
48 inline void SetHandshakeId(const char* value) { m_handshakeIdHasBeenSet = true; m_handshakeId.assign(value); }
49 inline CancelHandshakeRequest& WithHandshakeId(const Aws::String& value) { SetHandshakeId(value); return *this;}
50 inline CancelHandshakeRequest& WithHandshakeId(Aws::String&& value) { SetHandshakeId(std::move(value)); return *this;}
51 inline CancelHandshakeRequest& WithHandshakeId(const char* value) { SetHandshakeId(value); return *this;}
53 private:
54
55 Aws::String m_handshakeId;
56 bool m_handshakeIdHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Organizations
61} // namespace Aws
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
CancelHandshakeRequest & WithHandshakeId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CancelHandshakeRequest & WithHandshakeId(Aws::String &&value)
CancelHandshakeRequest & WithHandshakeId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String