AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetClassificationScopeResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/S3ClassificationScope.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Macie2 {
23namespace Model {
25 public:
26 AWS_MACIE2_API GetClassificationScopeResult() = default;
29
31
34 inline const Aws::String& GetId() const { return m_id; }
35 template <typename IdT = Aws::String>
36 void SetId(IdT&& value) {
37 m_idHasBeenSet = true;
38 m_id = std::forward<IdT>(value);
39 }
40 template <typename IdT = Aws::String>
42 SetId(std::forward<IdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
68 inline const S3ClassificationScope& GetS3() const { return m_s3; }
69 template <typename S3T = S3ClassificationScope>
70 void SetS3(S3T&& value) {
71 m_s3HasBeenSet = true;
72 m_s3 = std::forward<S3T>(value);
73 }
74 template <typename S3T = S3ClassificationScope>
76 SetS3(std::forward<S3T>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_id;
97
98 Aws::String m_name;
99
101
102 Aws::String m_requestId;
103 bool m_idHasBeenSet = false;
104 bool m_nameHasBeenSet = false;
105 bool m_s3HasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Macie2
111} // namespace Aws
GetClassificationScopeResult & WithRequestId(RequestIdT &&value)
AWS_MACIE2_API GetClassificationScopeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetClassificationScopeResult & WithId(IdT &&value)
AWS_MACIE2_API GetClassificationScopeResult()=default
GetClassificationScopeResult & WithName(NameT &&value)
GetClassificationScopeResult & WithS3(S3T &&value)
AWS_MACIE2_API GetClassificationScopeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue