AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeHandshakeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Organizations
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DescribeHandshake"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
45  inline const Aws::String& GetHandshakeId() const{ return m_handshakeId; }
46 
55  inline bool HandshakeIdHasBeenSet() const { return m_handshakeIdHasBeenSet; }
56 
65  inline void SetHandshakeId(const Aws::String& value) { m_handshakeIdHasBeenSet = true; m_handshakeId = value; }
66 
75  inline void SetHandshakeId(Aws::String&& value) { m_handshakeIdHasBeenSet = true; m_handshakeId = std::move(value); }
76 
85  inline void SetHandshakeId(const char* value) { m_handshakeIdHasBeenSet = true; m_handshakeId.assign(value); }
86 
95  inline DescribeHandshakeRequest& WithHandshakeId(const Aws::String& value) { SetHandshakeId(value); return *this;}
96 
105  inline DescribeHandshakeRequest& WithHandshakeId(Aws::String&& value) { SetHandshakeId(std::move(value)); return *this;}
106 
115  inline DescribeHandshakeRequest& WithHandshakeId(const char* value) { SetHandshakeId(value); return *this;}
116 
117  private:
118 
119  Aws::String m_handshakeId;
120  bool m_handshakeIdHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace Organizations
125 } // namespace Aws
Aws::Organizations::Model::DescribeHandshakeRequest::WithHandshakeId
DescribeHandshakeRequest & WithHandshakeId(Aws::String &&value)
Definition: DescribeHandshakeRequest.h:105
Aws::Organizations::Model::DescribeHandshakeRequest
Definition: DescribeHandshakeRequest.h:22
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Organizations::Model::DescribeHandshakeRequest::DescribeHandshakeRequest
DescribeHandshakeRequest()
Aws::Organizations::Model::DescribeHandshakeRequest::GetHandshakeId
const Aws::String & GetHandshakeId() const
Definition: DescribeHandshakeRequest.h:45
Aws::Organizations::Model::DescribeHandshakeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Organizations::Model::DescribeHandshakeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeHandshakeRequest.h:30
Aws::Organizations::Model::DescribeHandshakeRequest::SetHandshakeId
void SetHandshakeId(const Aws::String &value)
Definition: DescribeHandshakeRequest.h:65
AWS_ORGANIZATIONS_API
#define AWS_ORGANIZATIONS_API
Definition: Organizations_EXPORTS.h:28
Aws::Organizations::OrganizationsRequest
Definition: OrganizationsRequest.h:17
Aws::Organizations::Model::DescribeHandshakeRequest::WithHandshakeId
DescribeHandshakeRequest & WithHandshakeId(const char *value)
Definition: DescribeHandshakeRequest.h:115
Aws::Organizations::Model::DescribeHandshakeRequest::SetHandshakeId
void SetHandshakeId(const char *value)
Definition: DescribeHandshakeRequest.h:85
AWSString.h
Aws::Organizations::Model::DescribeHandshakeRequest::HandshakeIdHasBeenSet
bool HandshakeIdHasBeenSet() const
Definition: DescribeHandshakeRequest.h:55
Aws::Organizations::Model::DescribeHandshakeRequest::SetHandshakeId
void SetHandshakeId(Aws::String &&value)
Definition: DescribeHandshakeRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Organizations_EXPORTS.h
Aws::Organizations::Model::DescribeHandshakeRequest::WithHandshakeId
DescribeHandshakeRequest & WithHandshakeId(const Aws::String &value)
Definition: DescribeHandshakeRequest.h:95
Aws::Organizations::Model::DescribeHandshakeRequest::SerializePayload
Aws::String SerializePayload() const override
OrganizationsRequest.h