AWS SDK for C++  1.9.154
AWS SDK for C++
DisassociateMemberRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Macie2
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 "DisassociateMember"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetId() const{ return m_id; }
40 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
51  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
69  inline DisassociateMemberRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
75  inline DisassociateMemberRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
81  inline DisassociateMemberRequest& WithId(const char* value) { SetId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_id;
86  bool m_idHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Macie2
91 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::DisassociateMemberRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DisassociateMemberRequest.h:45
Aws::Macie2::Model::DisassociateMemberRequest::WithId
DisassociateMemberRequest & WithId(const Aws::String &value)
Definition: DisassociateMemberRequest.h:69
Aws::Macie2::Model::DisassociateMemberRequest::SetId
void SetId(const char *value)
Definition: DisassociateMemberRequest.h:63
Macie2_EXPORTS.h
Aws::Macie2::Model::DisassociateMemberRequest::GetId
const Aws::String & GetId() const
Definition: DisassociateMemberRequest.h:39
Aws::Macie2::Macie2Request
Definition: Macie2Request.h:17
Aws::Macie2::Model::DisassociateMemberRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Macie2::Model::DisassociateMemberRequest::WithId
DisassociateMemberRequest & WithId(const char *value)
Definition: DisassociateMemberRequest.h:81
Aws::Macie2::Model::DisassociateMemberRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateMemberRequest.h:30
Macie2Request.h
Aws::Macie2::Model::DisassociateMemberRequest::WithId
DisassociateMemberRequest & WithId(Aws::String &&value)
Definition: DisassociateMemberRequest.h:75
Aws::Macie2::Model::DisassociateMemberRequest
Definition: DisassociateMemberRequest.h:22
AWSString.h
Aws::Macie2::Model::DisassociateMemberRequest::DisassociateMemberRequest
DisassociateMemberRequest()
Aws::Macie2::Model::DisassociateMemberRequest::SetId
void SetId(Aws::String &&value)
Definition: DisassociateMemberRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::DisassociateMemberRequest::SetId
void SetId(const Aws::String &value)
Definition: DisassociateMemberRequest.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97