AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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