AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateShareInvitationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/ShareInvitationAction.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WellArchitected {
16namespace Model {
17
24 public:
25 AWS_WELLARCHITECTED_API UpdateShareInvitationRequest() = default;
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 "UpdateShareInvitation"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
40 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
41 template <typename ShareInvitationIdT = Aws::String>
42 void SetShareInvitationId(ShareInvitationIdT&& value) {
43 m_shareInvitationIdHasBeenSet = true;
44 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
45 }
46 template <typename ShareInvitationIdT = Aws::String>
48 SetShareInvitationId(std::forward<ShareInvitationIdT>(value));
49 return *this;
50 }
52
54
55 inline ShareInvitationAction GetShareInvitationAction() const { return m_shareInvitationAction; }
56 inline bool ShareInvitationActionHasBeenSet() const { return m_shareInvitationActionHasBeenSet; }
58 m_shareInvitationActionHasBeenSet = true;
59 m_shareInvitationAction = value;
60 }
63 return *this;
64 }
66 private:
67 Aws::String m_shareInvitationId;
68 bool m_shareInvitationIdHasBeenSet = false;
69
71 bool m_shareInvitationActionHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WellArchitected
76} // namespace Aws
UpdateShareInvitationRequest & WithShareInvitationId(ShareInvitationIdT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API UpdateShareInvitationRequest()=default
UpdateShareInvitationRequest & WithShareInvitationAction(ShareInvitationAction value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String