AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
44 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
45 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
46 inline UpdateClassificationScopeRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline UpdateClassificationScopeRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline UpdateClassificationScopeRequest& WithId(const char* value) { SetId(value); return *this;}
50
52
56 inline const S3ClassificationScopeUpdate& GetS3() const{ return m_s3; }
57 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
58 inline void SetS3(const S3ClassificationScopeUpdate& value) { m_s3HasBeenSet = true; m_s3 = value; }
59 inline void SetS3(S3ClassificationScopeUpdate&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
60 inline UpdateClassificationScopeRequest& WithS3(const S3ClassificationScopeUpdate& value) { SetS3(value); return *this;}
61 inline UpdateClassificationScopeRequest& WithS3(S3ClassificationScopeUpdate&& value) { SetS3(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_id;
66 bool m_idHasBeenSet = false;
67
69 bool m_s3HasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Macie2
74} // namespace Aws
UpdateClassificationScopeRequest & WithS3(S3ClassificationScopeUpdate &&value)
UpdateClassificationScopeRequest & WithId(const Aws::String &value)
UpdateClassificationScopeRequest & WithId(Aws::String &&value)
UpdateClassificationScopeRequest & WithId(const char *value)
UpdateClassificationScopeRequest & WithS3(const S3ClassificationScopeUpdate &value)
AWS_MACIE2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String