AWS SDK for C++  1.8.56
AWS SDK for C++
CreateBuildResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Build& GetBuild() const{ return m_build; }
48 
53  inline void SetBuild(const Build& value) { m_build = value; }
54 
59  inline void SetBuild(Build&& value) { m_build = std::move(value); }
60 
65  inline CreateBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;}
66 
71  inline CreateBuildResult& WithBuild(Build&& value) { SetBuild(std::move(value)); return *this;}
72 
73 
80  inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
81 
88  inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
89 
96  inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); }
97 
104  inline CreateBuildResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;}
105 
112  inline CreateBuildResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(std::move(value)); return *this;}
113 
114 
119  inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
120 
125  inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
126 
131  inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); }
132 
137  inline CreateBuildResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
138 
143  inline CreateBuildResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
144 
145  private:
146 
147  Build m_build;
148 
149  AwsCredentials m_uploadCredentials;
150 
151  S3Location m_storageLocation;
152  };
153 
154 } // namespace Model
155 } // namespace GameLift
156 } // namespace Aws
#define AWS_GAMELIFT_API
const AwsCredentials & GetUploadCredentials() const
CreateBuildResult & WithStorageLocation(S3Location &&value)
void SetUploadCredentials(const AwsCredentials &value)
CreateBuildResult & WithBuild(Build &&value)
CreateBuildResult & WithBuild(const Build &value)
CreateBuildResult & WithUploadCredentials(const AwsCredentials &value)
void SetStorageLocation(S3Location &&value)
const S3Location & GetStorageLocation() const
void SetUploadCredentials(AwsCredentials &&value)
CreateBuildResult & WithUploadCredentials(AwsCredentials &&value)
void SetStorageLocation(const S3Location &value)
CreateBuildResult & WithStorageLocation(const S3Location &value)