AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Build& GetBuild() const{ return m_build; }
44 inline void SetBuild(const Build& value) { m_build = value; }
45 inline void SetBuild(Build&& value) { m_build = std::move(value); }
46 inline CreateBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;}
47 inline CreateBuildResult& WithBuild(Build&& value) { SetBuild(std::move(value)); return *this;}
49
51
59 inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
60 inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
61 inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); }
62 inline CreateBuildResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;}
63 inline CreateBuildResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(std::move(value)); return *this;}
65
67
71 inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
72 inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
73 inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); }
74 inline CreateBuildResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
75 inline CreateBuildResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline CreateBuildResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline CreateBuildResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline CreateBuildResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Build m_build;
91
92 AwsCredentials m_uploadCredentials;
93
94 S3Location m_storageLocation;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace GameLift
101} // namespace Aws
void SetStorageLocation(S3Location &&value)
const Aws::String & GetRequestId() const
const AwsCredentials & GetUploadCredentials() const
CreateBuildResult & WithRequestId(Aws::String &&value)
CreateBuildResult & WithBuild(const Build &value)
void SetUploadCredentials(const AwsCredentials &value)
CreateBuildResult & WithRequestId(const char *value)
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
CreateBuildResult & WithStorageLocation(const S3Location &value)
void SetRequestId(const Aws::String &value)
void SetStorageLocation(const S3Location &value)
CreateBuildResult & WithUploadCredentials(const AwsCredentials &value)
void SetUploadCredentials(AwsCredentials &&value)
CreateBuildResult & WithBuild(Build &&value)
CreateBuildResult & WithStorageLocation(S3Location &&value)
CreateBuildResult & WithUploadCredentials(AwsCredentials &&value)
CreateBuildResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue