AWS SDK for C++

AWS SDK for C++ Version 1.11.809

Loading...
Searching...
No Matches
AssociateMpaTeamRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
10#include <aws/payment-cryptography/model/MpaOperation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PaymentCryptography {
16namespace Model {
17
21 public:
22 AWS_PAYMENTCRYPTOGRAPHY_API AssociateMpaTeamRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "AssociateMpaTeam"; }
29
30 AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override;
31
32 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline MpaOperation GetAction() const { return m_action; }
40 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
41 inline void SetAction(MpaOperation value) {
42 m_actionHasBeenSet = true;
43 m_action = value;
44 }
46 SetAction(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetMpaTeamArn() const { return m_mpaTeamArn; }
56 inline bool MpaTeamArnHasBeenSet() const { return m_mpaTeamArnHasBeenSet; }
57 template <typename MpaTeamArnT = Aws::String>
58 void SetMpaTeamArn(MpaTeamArnT&& value) {
59 m_mpaTeamArnHasBeenSet = true;
60 m_mpaTeamArn = std::forward<MpaTeamArnT>(value);
61 }
62 template <typename MpaTeamArnT = Aws::String>
64 SetMpaTeamArn(std::forward<MpaTeamArnT>(value));
65 return *this;
66 }
68
70
76 inline const Aws::String& GetRequesterComment() const { return m_requesterComment; }
77 inline bool RequesterCommentHasBeenSet() const { return m_requesterCommentHasBeenSet; }
78 template <typename RequesterCommentT = Aws::String>
79 void SetRequesterComment(RequesterCommentT&& value) {
80 m_requesterCommentHasBeenSet = true;
81 m_requesterComment = std::forward<RequesterCommentT>(value);
82 }
83 template <typename RequesterCommentT = Aws::String>
84 AssociateMpaTeamRequest& WithRequesterComment(RequesterCommentT&& value) {
85 SetRequesterComment(std::forward<RequesterCommentT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::String m_mpaTeamArn;
93
94 Aws::String m_requesterComment;
95 bool m_actionHasBeenSet = false;
96 bool m_mpaTeamArnHasBeenSet = false;
97 bool m_requesterCommentHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace PaymentCryptography
102} // namespace Aws
AssociateMpaTeamRequest & WithRequesterComment(RequesterCommentT &&value)
AssociateMpaTeamRequest & WithAction(MpaOperation value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
AWS_PAYMENTCRYPTOGRAPHY_API AssociateMpaTeamRequest()=default
AssociateMpaTeamRequest & WithMpaTeamArn(MpaTeamArnT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String