AWS SDK for C++  1.9.44
AWS SDK for C++
RequestUploadCredentialsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GameLift
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
47  inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
48 
54  inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
55 
61  inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); }
62 
68  inline RequestUploadCredentialsResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;}
69 
75  inline RequestUploadCredentialsResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(std::move(value)); return *this;}
76 
77 
82  inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
83 
88  inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
89 
94  inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); }
95 
100  inline RequestUploadCredentialsResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
101 
106  inline RequestUploadCredentialsResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
107 
108  private:
109 
110  AwsCredentials m_uploadCredentials;
111 
112  S3Location m_storageLocation;
113  };
114 
115 } // namespace Model
116 } // namespace GameLift
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::RequestUploadCredentialsResult::RequestUploadCredentialsResult
RequestUploadCredentialsResult()
Aws::GameLift::Model::RequestUploadCredentialsResult::WithUploadCredentials
RequestUploadCredentialsResult & WithUploadCredentials(AwsCredentials &&value)
Definition: RequestUploadCredentialsResult.h:75
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
S3Location.h
Aws::GameLift::Model::RequestUploadCredentialsResult::SetStorageLocation
void SetStorageLocation(S3Location &&value)
Definition: RequestUploadCredentialsResult.h:94
Aws::GameLift::Model::RequestUploadCredentialsResult::operator=
RequestUploadCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::RequestUploadCredentialsResult::WithUploadCredentials
RequestUploadCredentialsResult & WithUploadCredentials(const AwsCredentials &value)
Definition: RequestUploadCredentialsResult.h:68
GameLift_EXPORTS.h
Aws::GameLift::Model::RequestUploadCredentialsResult::SetStorageLocation
void SetStorageLocation(const S3Location &value)
Definition: RequestUploadCredentialsResult.h:88
Aws::GameLift::Model::RequestUploadCredentialsResult::RequestUploadCredentialsResult
RequestUploadCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::RequestUploadCredentialsResult::SetUploadCredentials
void SetUploadCredentials(AwsCredentials &&value)
Definition: RequestUploadCredentialsResult.h:61
Aws::GameLift::Model::RequestUploadCredentialsResult
Definition: RequestUploadCredentialsResult.h:35
Aws::GameLift::Model::RequestUploadCredentialsResult::WithStorageLocation
RequestUploadCredentialsResult & WithStorageLocation(S3Location &&value)
Definition: RequestUploadCredentialsResult.h:106
Aws::GameLift::Model::RequestUploadCredentialsResult::GetUploadCredentials
const AwsCredentials & GetUploadCredentials() const
Definition: RequestUploadCredentialsResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::RequestUploadCredentialsResult::SetUploadCredentials
void SetUploadCredentials(const AwsCredentials &value)
Definition: RequestUploadCredentialsResult.h:54
Aws::GameLift::Model::S3Location
Definition: S3Location.h:35
Aws::GameLift::Model::RequestUploadCredentialsResult::WithStorageLocation
RequestUploadCredentialsResult & WithStorageLocation(const S3Location &value)
Definition: RequestUploadCredentialsResult.h:100
Aws::GameLift::Model::RequestUploadCredentialsResult::GetStorageLocation
const S3Location & GetStorageLocation() const
Definition: RequestUploadCredentialsResult.h:82
AwsCredentials.h
Aws::GameLift::Model::AwsCredentials
Definition: AwsCredentials.h:35