AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
GetProjectResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/Project.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 DeviceFarm {
24namespace Model {
31 public:
32 AWS_DEVICEFARM_API GetProjectResult() = default;
35
37
40 inline const Project& GetProject() const { return m_project; }
41 template <typename ProjectT = Project>
42 void SetProject(ProjectT&& value) {
43 m_projectHasBeenSet = true;
44 m_project = std::forward<ProjectT>(value);
45 }
46 template <typename ProjectT = Project>
47 GetProjectResult& WithProject(ProjectT&& value) {
48 SetProject(std::forward<ProjectT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetRequestId() const { return m_requestId; }
56 template <typename RequestIdT = Aws::String>
57 void SetRequestId(RequestIdT&& value) {
58 m_requestIdHasBeenSet = true;
59 m_requestId = std::forward<RequestIdT>(value);
60 }
61 template <typename RequestIdT = Aws::String>
62 GetProjectResult& WithRequestId(RequestIdT&& value) {
63 SetRequestId(std::forward<RequestIdT>(value));
64 return *this;
65 }
67 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
68
69 private:
70 Project m_project;
71
72 Aws::String m_requestId;
73 Aws::Http::HttpResponseCode m_HttpResponseCode;
74 bool m_projectHasBeenSet = false;
75 bool m_requestIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DeviceFarm
80} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_DEVICEFARM_API GetProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVICEFARM_API GetProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProjectResult & WithRequestId(RequestIdT &&value)
GetProjectResult & WithProject(ProjectT &&value)
AWS_DEVICEFARM_API GetProjectResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue