AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMacieSessionRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/macie2/model/FindingPublishingFrequency.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:
25 AWS_MACIE2_API UpdateMacieSessionRequest();
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 "UpdateMacieSession"; }
32
33 AWS_MACIE2_API Aws::String SerializePayload() const override;
34
35
37
42 inline const FindingPublishingFrequency& GetFindingPublishingFrequency() const{ return m_findingPublishingFrequency; }
43 inline bool FindingPublishingFrequencyHasBeenSet() const { return m_findingPublishingFrequencyHasBeenSet; }
44 inline void SetFindingPublishingFrequency(const FindingPublishingFrequency& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = value; }
45 inline void SetFindingPublishingFrequency(FindingPublishingFrequency&& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = std::move(value); }
49
51
56 inline const MacieStatus& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const MacieStatus& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(MacieStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 inline UpdateMacieSessionRequest& WithStatus(const MacieStatus& value) { SetStatus(value); return *this;}
61 inline UpdateMacieSessionRequest& WithStatus(MacieStatus&& value) { SetStatus(std::move(value)); return *this;}
63 private:
64
65 FindingPublishingFrequency m_findingPublishingFrequency;
66 bool m_findingPublishingFrequencyHasBeenSet = false;
67
68 MacieStatus m_status;
69 bool m_statusHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Macie2
74} // namespace Aws
UpdateMacieSessionRequest & WithStatus(MacieStatus &&value)
void SetFindingPublishingFrequency(const FindingPublishingFrequency &value)
void SetFindingPublishingFrequency(FindingPublishingFrequency &&value)
UpdateMacieSessionRequest & WithFindingPublishingFrequency(FindingPublishingFrequency &&value)
UpdateMacieSessionRequest & WithStatus(const MacieStatus &value)
virtual const char * GetServiceRequestName() const override
const FindingPublishingFrequency & GetFindingPublishingFrequency() const
UpdateMacieSessionRequest & WithFindingPublishingFrequency(const FindingPublishingFrequency &value)
AWS_MACIE2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String