AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AcceptResourceShareInvitationRequest.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/RAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RAM
15{
16namespace 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 "AcceptResourceShareInvitation"; }
31
32 AWS_RAM_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; }
42 inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; }
43 inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; }
44 inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); }
45 inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); }
50
52
64 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
65 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
66 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
67 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
68 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
70 inline AcceptResourceShareInvitationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
71 inline AcceptResourceShareInvitationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
73 private:
74
75 Aws::String m_resourceShareInvitationArn;
76 bool m_resourceShareInvitationArnHasBeenSet = false;
77
78 Aws::String m_clientToken;
79 bool m_clientTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace RAM
84} // namespace Aws
AcceptResourceShareInvitationRequest & WithResourceShareInvitationArn(const char *value)
AWS_RAM_API Aws::String SerializePayload() const override
AcceptResourceShareInvitationRequest & WithClientToken(const Aws::String &value)
AcceptResourceShareInvitationRequest & WithResourceShareInvitationArn(const Aws::String &value)
AcceptResourceShareInvitationRequest & WithClientToken(Aws::String &&value)
AcceptResourceShareInvitationRequest & WithClientToken(const char *value)
AcceptResourceShareInvitationRequest & WithResourceShareInvitationArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String