AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateClassificationScopeRequest.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/S3ClassificationScopeUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Macie2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MACIE2_API UpdateClassificationScopeRequest() = default;
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 "UpdateClassificationScope"; }
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 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateClassificationScopeRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
54 inline const S3ClassificationScopeUpdate& GetS3() const { return m_s3; }
55 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
56 template<typename S3T = S3ClassificationScopeUpdate>
57 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
58 template<typename S3T = S3ClassificationScopeUpdate>
59 UpdateClassificationScopeRequest& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
61 private:
62
63 Aws::String m_id;
64 bool m_idHasBeenSet = false;
65
67 bool m_s3HasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Macie2
72} // 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