AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateResourceProfileRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Macie2
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourceProfile"; }
35
36 AWS_MACIE2_API Aws::String SerializePayload() const override;
37
38 AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
47 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
48 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
49 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
50 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
51 inline UpdateResourceProfileRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
52 inline UpdateResourceProfileRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
53 inline UpdateResourceProfileRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
55
57
63 inline int GetSensitivityScoreOverride() const{ return m_sensitivityScoreOverride; }
64 inline bool SensitivityScoreOverrideHasBeenSet() const { return m_sensitivityScoreOverrideHasBeenSet; }
65 inline void SetSensitivityScoreOverride(int value) { m_sensitivityScoreOverrideHasBeenSet = true; m_sensitivityScoreOverride = value; }
68 private:
69
70 Aws::String m_resourceArn;
71 bool m_resourceArnHasBeenSet = false;
72
73 int m_sensitivityScoreOverride;
74 bool m_sensitivityScoreOverrideHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateResourceProfileRequest & WithResourceArn(const char *value)
UpdateResourceProfileRequest & WithSensitivityScoreOverride(int value)
AWS_MACIE2_API Aws::String SerializePayload() const override
UpdateResourceProfileRequest & WithResourceArn(Aws::String &&value)
UpdateResourceProfileRequest & WithResourceArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String