AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
MpaTeamAssociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/AssociationState.h>
10#include <aws/payment-cryptography/model/MpaOperation.h>
11#include <aws/payment-cryptography/model/MpaStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptography {
23namespace Model {
24
32 public:
33 AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation() = default;
34 AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline MpaOperation GetAction() const { return m_action; }
43 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
44 inline void SetAction(MpaOperation value) {
45 m_actionHasBeenSet = true;
46 m_action = value;
47 }
49 SetAction(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMpaTeamArn() const { return m_mpaTeamArn; }
59 inline bool MpaTeamArnHasBeenSet() const { return m_mpaTeamArnHasBeenSet; }
60 template <typename MpaTeamArnT = Aws::String>
61 void SetMpaTeamArn(MpaTeamArnT&& value) {
62 m_mpaTeamArnHasBeenSet = true;
63 m_mpaTeamArn = std::forward<MpaTeamArnT>(value);
64 }
65 template <typename MpaTeamArnT = Aws::String>
66 MpaTeamAssociation& WithMpaTeamArn(MpaTeamArnT&& value) {
67 SetMpaTeamArn(std::forward<MpaTeamArnT>(value));
68 return *this;
69 }
71
73
76 inline AssociationState GetAssociationState() const { return m_associationState; }
77 inline bool AssociationStateHasBeenSet() const { return m_associationStateHasBeenSet; }
79 m_associationStateHasBeenSet = true;
80 m_associationState = value;
81 }
84 return *this;
85 }
87
89
92 inline const MpaStatus& GetMpaStatus() const { return m_mpaStatus; }
93 inline bool MpaStatusHasBeenSet() const { return m_mpaStatusHasBeenSet; }
94 template <typename MpaStatusT = MpaStatus>
95 void SetMpaStatus(MpaStatusT&& value) {
96 m_mpaStatusHasBeenSet = true;
97 m_mpaStatus = std::forward<MpaStatusT>(value);
98 }
99 template <typename MpaStatusT = MpaStatus>
100 MpaTeamAssociation& WithMpaStatus(MpaStatusT&& value) {
101 SetMpaStatus(std::forward<MpaStatusT>(value));
102 return *this;
103 }
105 private:
107
108 Aws::String m_mpaTeamArn;
109
111
112 MpaStatus m_mpaStatus;
113 bool m_actionHasBeenSet = false;
114 bool m_mpaTeamArnHasBeenSet = false;
115 bool m_associationStateHasBeenSet = false;
116 bool m_mpaStatusHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace PaymentCryptography
121} // namespace Aws
MpaTeamAssociation & WithAssociationState(AssociationState value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Utils::Json::JsonValue Jsonize() const
MpaTeamAssociation & WithAction(MpaOperation value)
MpaTeamAssociation & WithMpaStatus(MpaStatusT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHY_API MpaTeamAssociation()=default
MpaTeamAssociation & WithMpaTeamArn(MpaTeamArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue