AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateClassificationScopeRequest.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/S3ClassificationScopeUpdate.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Macie2 {
16namespace Model {
17
21 public:
22 AWS_MACIE2_API UpdateClassificationScopeRequest() = 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 "UpdateClassificationScope"; }
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
56 inline const S3ClassificationScopeUpdate& GetS3() const { return m_s3; }
57 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
58 template <typename S3T = S3ClassificationScopeUpdate>
59 void SetS3(S3T&& value) {
60 m_s3HasBeenSet = true;
61 m_s3 = std::forward<S3T>(value);
62 }
63 template <typename S3T = S3ClassificationScopeUpdate>
65 SetS3(std::forward<S3T>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_id;
71
73 bool m_idHasBeenSet = false;
74 bool m_s3HasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
UpdateClassificationScopeRequest & WithS3(S3T &&value)
UpdateClassificationScopeRequest & WithId(IdT &&value)
AWS_MACIE2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String