AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetClassificationScopeResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/S3ClassificationScope.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Macie2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetId() const{ return m_id; }
41 inline void SetId(const Aws::String& value) { m_id = value; }
42 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
43 inline void SetId(const char* value) { m_id.assign(value); }
44 inline GetClassificationScopeResult& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline GetClassificationScopeResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline GetClassificationScopeResult& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline GetClassificationScopeResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline GetClassificationScopeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline GetClassificationScopeResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const S3ClassificationScope& GetS3() const{ return m_s3; }
67 inline void SetS3(const S3ClassificationScope& value) { m_s3 = value; }
68 inline void SetS3(S3ClassificationScope&& value) { m_s3 = std::move(value); }
69 inline GetClassificationScopeResult& WithS3(const S3ClassificationScope& value) { SetS3(value); return *this;}
70 inline GetClassificationScopeResult& WithS3(S3ClassificationScope&& value) { SetS3(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetClassificationScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetClassificationScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetClassificationScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_id;
86
87 Aws::String m_name;
88
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
GetClassificationScopeResult & WithId(const char *value)
GetClassificationScopeResult & WithId(const Aws::String &value)
GetClassificationScopeResult & WithS3(const S3ClassificationScope &value)
AWS_MACIE2_API GetClassificationScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetClassificationScopeResult & WithS3(S3ClassificationScope &&value)
GetClassificationScopeResult & WithName(Aws::String &&value)
GetClassificationScopeResult & WithRequestId(const char *value)
GetClassificationScopeResult & WithName(const char *value)
GetClassificationScopeResult & WithId(Aws::String &&value)
GetClassificationScopeResult & WithRequestId(const Aws::String &value)
AWS_MACIE2_API GetClassificationScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetClassificationScopeResult & WithRequestId(Aws::String &&value)
GetClassificationScopeResult & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue