AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMemberSessionRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/MacieStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Macie2
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateMemberSession"; }
32
33 AWS_MACIE2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
44 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
45 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
46 inline UpdateMemberSessionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline UpdateMemberSessionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline UpdateMemberSessionRequest& WithId(const char* value) { SetId(value); return *this;}
50
52
57 inline const MacieStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const MacieStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(MacieStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline UpdateMemberSessionRequest& WithStatus(const MacieStatus& value) { SetStatus(value); return *this;}
62 inline UpdateMemberSessionRequest& WithStatus(MacieStatus&& value) { SetStatus(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_id;
67 bool m_idHasBeenSet = false;
68
69 MacieStatus m_status;
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Macie2
75} // namespace Aws
UpdateMemberSessionRequest & WithId(Aws::String &&value)
UpdateMemberSessionRequest & WithId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateMemberSessionRequest & WithStatus(MacieStatus &&value)
UpdateMemberSessionRequest & WithId(const char *value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateMemberSessionRequest & WithStatus(const MacieStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String