AWS SDK for C++  1.9.46
AWS SDK for C++
RevokeInvitationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
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 "RevokeInvitation"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetUserArn() const{ return m_userArn; }
42 
47  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
48 
53  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
54 
59  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
60 
65  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
66 
71  inline RevokeInvitationRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
72 
77  inline RevokeInvitationRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
78 
83  inline RevokeInvitationRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
84 
85 
89  inline const Aws::String& GetEnrollmentId() const{ return m_enrollmentId; }
90 
94  inline bool EnrollmentIdHasBeenSet() const { return m_enrollmentIdHasBeenSet; }
95 
99  inline void SetEnrollmentId(const Aws::String& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = value; }
100 
104  inline void SetEnrollmentId(Aws::String&& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = std::move(value); }
105 
109  inline void SetEnrollmentId(const char* value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId.assign(value); }
110 
114  inline RevokeInvitationRequest& WithEnrollmentId(const Aws::String& value) { SetEnrollmentId(value); return *this;}
115 
119  inline RevokeInvitationRequest& WithEnrollmentId(Aws::String&& value) { SetEnrollmentId(std::move(value)); return *this;}
120 
124  inline RevokeInvitationRequest& WithEnrollmentId(const char* value) { SetEnrollmentId(value); return *this;}
125 
126  private:
127 
128  Aws::String m_userArn;
129  bool m_userArnHasBeenSet;
130 
131  Aws::String m_enrollmentId;
132  bool m_enrollmentIdHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace AlexaForBusiness
137 } // namespace Aws
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithEnrollmentId
RevokeInvitationRequest & WithEnrollmentId(const char *value)
Definition: RevokeInvitationRequest.h:124
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: RevokeInvitationRequest.h:59
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::EnrollmentIdHasBeenSet
bool EnrollmentIdHasBeenSet() const
Definition: RevokeInvitationRequest.h:94
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::RevokeInvitationRequest
RevokeInvitationRequest()
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::GetEnrollmentId
const Aws::String & GetEnrollmentId() const
Definition: RevokeInvitationRequest.h:89
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: RevokeInvitationRequest.h:47
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetEnrollmentId
void SetEnrollmentId(const char *value)
Definition: RevokeInvitationRequest.h:109
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithEnrollmentId
RevokeInvitationRequest & WithEnrollmentId(Aws::String &&value)
Definition: RevokeInvitationRequest.h:119
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithUserArn
RevokeInvitationRequest & WithUserArn(const char *value)
Definition: RevokeInvitationRequest.h:83
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: RevokeInvitationRequest.h:53
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetUserArn
void SetUserArn(const char *value)
Definition: RevokeInvitationRequest.h:65
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetEnrollmentId
void SetEnrollmentId(const Aws::String &value)
Definition: RevokeInvitationRequest.h:99
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SetEnrollmentId
void SetEnrollmentId(Aws::String &&value)
Definition: RevokeInvitationRequest.h:104
AWSString.h
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithUserArn
RevokeInvitationRequest & WithUserArn(Aws::String &&value)
Definition: RevokeInvitationRequest.h:77
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: RevokeInvitationRequest.h:41
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithUserArn
RevokeInvitationRequest & WithUserArn(const Aws::String &value)
Definition: RevokeInvitationRequest.h:71
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::RevokeInvitationRequest
Definition: RevokeInvitationRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RevokeInvitationRequest.h:30
Aws::AlexaForBusiness::Model::RevokeInvitationRequest::WithEnrollmentId
RevokeInvitationRequest & WithEnrollmentId(const Aws::String &value)
Definition: RevokeInvitationRequest.h:114
AlexaForBusinessRequest.h