AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourceProfileResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/macie2/model/ResourceStatistics.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Macie2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MACIE2_API GetResourceProfileResult();
35
36
38
44 inline const Aws::Utils::DateTime& GetProfileUpdatedAt() const{ return m_profileUpdatedAt; }
45 inline void SetProfileUpdatedAt(const Aws::Utils::DateTime& value) { m_profileUpdatedAt = value; }
46 inline void SetProfileUpdatedAt(Aws::Utils::DateTime&& value) { m_profileUpdatedAt = std::move(value); }
50
52
58 inline int GetSensitivityScore() const{ return m_sensitivityScore; }
59 inline void SetSensitivityScore(int value) { m_sensitivityScore = value; }
60 inline GetResourceProfileResult& WithSensitivityScore(int value) { SetSensitivityScore(value); return *this;}
62
64
69 inline bool GetSensitivityScoreOverridden() const{ return m_sensitivityScoreOverridden; }
70 inline void SetSensitivityScoreOverridden(bool value) { m_sensitivityScoreOverridden = value; }
73
75
80 inline const ResourceStatistics& GetStatistics() const{ return m_statistics; }
81 inline void SetStatistics(const ResourceStatistics& value) { m_statistics = value; }
82 inline void SetStatistics(ResourceStatistics&& value) { m_statistics = std::move(value); }
83 inline GetResourceProfileResult& WithStatistics(const ResourceStatistics& value) { SetStatistics(value); return *this;}
84 inline GetResourceProfileResult& WithStatistics(ResourceStatistics&& value) { SetStatistics(std::move(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetResourceProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetResourceProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetResourceProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::Utils::DateTime m_profileUpdatedAt;
100
101 int m_sensitivityScore;
102
103 bool m_sensitivityScoreOverridden;
104
105 ResourceStatistics m_statistics;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Macie2
112} // namespace Aws
GetResourceProfileResult & WithStatistics(ResourceStatistics &&value)
GetResourceProfileResult & WithRequestId(Aws::String &&value)
GetResourceProfileResult & WithProfileUpdatedAt(Aws::Utils::DateTime &&value)
GetResourceProfileResult & WithRequestId(const Aws::String &value)
AWS_MACIE2_API GetResourceProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetProfileUpdatedAt(const Aws::Utils::DateTime &value)
AWS_MACIE2_API GetResourceProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ResourceStatistics & GetStatistics() const
void SetStatistics(const ResourceStatistics &value)
GetResourceProfileResult & WithSensitivityScore(int value)
const Aws::Utils::DateTime & GetProfileUpdatedAt() const
GetResourceProfileResult & WithProfileUpdatedAt(const Aws::Utils::DateTime &value)
GetResourceProfileResult & WithSensitivityScoreOverridden(bool value)
GetResourceProfileResult & WithStatistics(const ResourceStatistics &value)
GetResourceProfileResult & WithRequestId(const char *value)
void SetProfileUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue