AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
StartSearchJobResult.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 BackupSearch
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUPSEARCH_API StartSearchJobResult() = default;
34
35
37
41 inline const Aws::String& GetSearchJobArn() const { return m_searchJobArn; }
42 template<typename SearchJobArnT = Aws::String>
43 void SetSearchJobArn(SearchJobArnT&& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = std::forward<SearchJobArnT>(value); }
44 template<typename SearchJobArnT = Aws::String>
45 StartSearchJobResult& WithSearchJobArn(SearchJobArnT&& value) { SetSearchJobArn(std::forward<SearchJobArnT>(value)); return *this;}
47
49
55 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
56 template<typename CreationTimeT = Aws::Utils::DateTime>
57 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
58 template<typename CreationTimeT = Aws::Utils::DateTime>
59 StartSearchJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
61
63
66 inline const Aws::String& GetSearchJobIdentifier() const { return m_searchJobIdentifier; }
67 template<typename SearchJobIdentifierT = Aws::String>
68 void SetSearchJobIdentifier(SearchJobIdentifierT&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::forward<SearchJobIdentifierT>(value); }
69 template<typename SearchJobIdentifierT = Aws::String>
70 StartSearchJobResult& WithSearchJobIdentifier(SearchJobIdentifierT&& value) { SetSearchJobIdentifier(std::forward<SearchJobIdentifierT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 StartSearchJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_searchJobArn;
84 bool m_searchJobArnHasBeenSet = false;
85
86 Aws::Utils::DateTime m_creationTime{};
87 bool m_creationTimeHasBeenSet = false;
88
89 Aws::String m_searchJobIdentifier;
90 bool m_searchJobIdentifierHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace BackupSearch
98} // 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)
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