AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateProjectResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
9#include <aws/devicefarm/model/Project.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DeviceFarm {
23namespace Model {
31 public:
32 AWS_DEVICEFARM_API CreateProjectResult() = 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 CreateProjectResult& 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 CreateProjectResult& WithRequestId(RequestIdT&& value) {
63 SetRequestId(std::forward<RequestIdT>(value));
64 return *this;
65 }
67 private:
68 Project m_project;
69
70 Aws::String m_requestId;
71 bool m_projectHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DeviceFarm
77} // namespace Aws
CreateProjectResult & WithRequestId(RequestIdT &&value)
AWS_DEVICEFARM_API CreateProjectResult()=default
AWS_DEVICEFARM_API CreateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVICEFARM_API CreateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProjectResult & WithProject(ProjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue