AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
StartSearchJobResult.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 BackupSearch {
24namespace Model {
26 public:
27 AWS_BACKUPSEARCH_API StartSearchJobResult() = default;
30
32
36 inline const Aws::String& GetSearchJobArn() const { return m_searchJobArn; }
37 template <typename SearchJobArnT = Aws::String>
38 void SetSearchJobArn(SearchJobArnT&& value) {
39 m_searchJobArnHasBeenSet = true;
40 m_searchJobArn = std::forward<SearchJobArnT>(value);
41 }
42 template <typename SearchJobArnT = Aws::String>
43 StartSearchJobResult& WithSearchJobArn(SearchJobArnT&& value) {
44 SetSearchJobArn(std::forward<SearchJobArnT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
57 template <typename CreationTimeT = Aws::Utils::DateTime>
58 void SetCreationTime(CreationTimeT&& value) {
59 m_creationTimeHasBeenSet = true;
60 m_creationTime = std::forward<CreationTimeT>(value);
61 }
62 template <typename CreationTimeT = Aws::Utils::DateTime>
63 StartSearchJobResult& WithCreationTime(CreationTimeT&& value) {
64 SetCreationTime(std::forward<CreationTimeT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetSearchJobIdentifier() const { return m_searchJobIdentifier; }
74 template <typename SearchJobIdentifierT = Aws::String>
75 void SetSearchJobIdentifier(SearchJobIdentifierT&& value) {
76 m_searchJobIdentifierHasBeenSet = true;
77 m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value);
78 }
79 template <typename SearchJobIdentifierT = Aws::String>
80 StartSearchJobResult& WithSearchJobIdentifier(SearchJobIdentifierT&& value) {
81 SetSearchJobIdentifier(std::forward<SearchJobIdentifierT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
95 StartSearchJobResult& WithRequestId(RequestIdT&& value) {
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_searchJobArn;
104
105 Aws::Utils::DateTime m_creationTime{};
106
107 Aws::String m_searchJobIdentifier;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_searchJobArnHasBeenSet = false;
112 bool m_creationTimeHasBeenSet = false;
113 bool m_searchJobIdentifierHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace BackupSearch
119} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
StartSearchJobResult & WithRequestId(RequestIdT &&value)
AWS_BACKUPSEARCH_API StartSearchJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSearchJobResult & WithSearchJobIdentifier(SearchJobIdentifierT &&value)
StartSearchJobResult & WithSearchJobArn(SearchJobArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetSearchJobIdentifier(SearchJobIdentifierT &&value)
StartSearchJobResult & WithCreationTime(CreationTimeT &&value)
AWS_BACKUPSEARCH_API StartSearchJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUPSEARCH_API StartSearchJobResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue