AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
GetClassificationScopeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/S3ClassificationScope.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Macie2 {
24namespace Model {
26 public:
27 AWS_MACIE2_API GetClassificationScopeResult() = default;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
69 inline const S3ClassificationScope& GetS3() const { return m_s3; }
70 template <typename S3T = S3ClassificationScope>
71 void SetS3(S3T&& value) {
72 m_s3HasBeenSet = true;
73 m_s3 = std::forward<S3T>(value);
74 }
75 template <typename S3T = S3ClassificationScope>
77 SetS3(std::forward<S3T>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_id;
100
101 Aws::String m_name;
102
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_idHasBeenSet = false;
108 bool m_nameHasBeenSet = false;
109 bool m_s3HasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Macie2
115} // 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