AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateBuildResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/Build.h>
9#include <aws/gamelift/model/AwsCredentials.h>
10#include <aws/gamelift/model/S3Location.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GameLift
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GAMELIFT_API CreateBuildResult() = default;
36
37
39
43 inline const Build& GetBuild() const { return m_build; }
44 template<typename BuildT = Build>
45 void SetBuild(BuildT&& value) { m_buildHasBeenSet = true; m_build = std::forward<BuildT>(value); }
46 template<typename BuildT = Build>
47 CreateBuildResult& WithBuild(BuildT&& value) { SetBuild(std::forward<BuildT>(value)); return *this;}
49
51
59 inline const AwsCredentials& GetUploadCredentials() const { return m_uploadCredentials; }
60 template<typename UploadCredentialsT = AwsCredentials>
61 void SetUploadCredentials(UploadCredentialsT&& value) { m_uploadCredentialsHasBeenSet = true; m_uploadCredentials = std::forward<UploadCredentialsT>(value); }
62 template<typename UploadCredentialsT = AwsCredentials>
63 CreateBuildResult& WithUploadCredentials(UploadCredentialsT&& value) { SetUploadCredentials(std::forward<UploadCredentialsT>(value)); return *this;}
65
67
71 inline const S3Location& GetStorageLocation() const { return m_storageLocation; }
72 template<typename StorageLocationT = S3Location>
73 void SetStorageLocation(StorageLocationT&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::forward<StorageLocationT>(value); }
74 template<typename StorageLocationT = S3Location>
75 CreateBuildResult& WithStorageLocation(StorageLocationT&& value) { SetStorageLocation(std::forward<StorageLocationT>(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 CreateBuildResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
88 Build m_build;
89 bool m_buildHasBeenSet = false;
90
91 AwsCredentials m_uploadCredentials;
92 bool m_uploadCredentialsHasBeenSet = false;
93
94 S3Location m_storageLocation;
95 bool m_storageLocationHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GameLift
103} // namespace Aws
CreateBuildResult & WithBuild(BuildT &&value)
const Aws::String & GetRequestId() const
CreateBuildResult & WithStorageLocation(StorageLocationT &&value)
const AwsCredentials & GetUploadCredentials() const
void SetStorageLocation(StorageLocationT &&value)
AWS_GAMELIFT_API CreateBuildResult()=default
AWS_GAMELIFT_API CreateBuildResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API CreateBuildResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const S3Location & GetStorageLocation() const
void SetUploadCredentials(UploadCredentialsT &&value)
CreateBuildResult & WithRequestId(RequestIdT &&value)
CreateBuildResult & WithUploadCredentials(UploadCredentialsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue