AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeleteCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition {
22namespace Model {
24 public:
25 AWS_REKOGNITION_API DeleteCollectionResult() = default;
28
30
33 inline int GetStatusCode() const { return m_statusCode; }
34 inline void SetStatusCode(int value) {
35 m_statusCodeHasBeenSet = true;
36 m_statusCode = value;
37 }
39 SetStatusCode(value);
40 return *this;
41 }
43
45
46 inline const Aws::String& GetRequestId() const { return m_requestId; }
47 template <typename RequestIdT = Aws::String>
48 void SetRequestId(RequestIdT&& value) {
49 m_requestIdHasBeenSet = true;
50 m_requestId = std::forward<RequestIdT>(value);
51 }
52 template <typename RequestIdT = Aws::String>
54 SetRequestId(std::forward<RequestIdT>(value));
55 return *this;
56 }
58 private:
59 int m_statusCode{0};
60
61 Aws::String m_requestId;
62 bool m_statusCodeHasBeenSet = false;
63 bool m_requestIdHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Rekognition
68} // namespace Aws
AWS_REKOGNITION_API DeleteCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteCollectionResult & WithStatusCode(int value)
AWS_REKOGNITION_API DeleteCollectionResult()=default
AWS_REKOGNITION_API DeleteCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteCollectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue