AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableMacieRequest.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/FindingPublishingFrequency.h>
11#include <aws/macie2/model/MacieStatus.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Macie2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_MACIE2_API EnableMacieRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "EnableMacie"; }
34
35 AWS_MACIE2_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline EnableMacieRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline EnableMacieRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline EnableMacieRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
59 inline const FindingPublishingFrequency& GetFindingPublishingFrequency() const{ return m_findingPublishingFrequency; }
60 inline bool FindingPublishingFrequencyHasBeenSet() const { return m_findingPublishingFrequencyHasBeenSet; }
61 inline void SetFindingPublishingFrequency(const FindingPublishingFrequency& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = value; }
62 inline void SetFindingPublishingFrequency(FindingPublishingFrequency&& value) { m_findingPublishingFrequencyHasBeenSet = true; m_findingPublishingFrequency = std::move(value); }
66
68
72 inline const MacieStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const MacieStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(MacieStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline EnableMacieRequest& WithStatus(const MacieStatus& value) { SetStatus(value); return *this;}
77 inline EnableMacieRequest& WithStatus(MacieStatus&& value) { SetStatus(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_clientToken;
82 bool m_clientTokenHasBeenSet = false;
83
84 FindingPublishingFrequency m_findingPublishingFrequency;
85 bool m_findingPublishingFrequencyHasBeenSet = false;
86
87 MacieStatus m_status;
88 bool m_statusHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Macie2
93} // namespace Aws
EnableMacieRequest & WithClientToken(Aws::String &&value)
EnableMacieRequest & WithFindingPublishingFrequency(const FindingPublishingFrequency &value)
void SetStatus(const MacieStatus &value)
virtual const char * GetServiceRequestName() const override
const FindingPublishingFrequency & GetFindingPublishingFrequency() const
const Aws::String & GetClientToken() const
AWS_MACIE2_API Aws::String SerializePayload() const override
EnableMacieRequest & WithStatus(const MacieStatus &value)
EnableMacieRequest & WithFindingPublishingFrequency(FindingPublishingFrequency &&value)
void SetFindingPublishingFrequency(const FindingPublishingFrequency &value)
void SetClientToken(const Aws::String &value)
EnableMacieRequest & WithClientToken(const char *value)
EnableMacieRequest & WithClientToken(const Aws::String &value)
const MacieStatus & GetStatus() const
EnableMacieRequest & WithStatus(MacieStatus &&value)
void SetFindingPublishingFrequency(FindingPublishingFrequency &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String