AWS SDK for C++  1.9.160
AWS SDK for C++
GetDownloadUrlForLayerResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; }
39 
43  inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrl = value; }
44 
48  inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrl = std::move(value); }
49 
53  inline void SetDownloadUrl(const char* value) { m_downloadUrl.assign(value); }
54 
58  inline GetDownloadUrlForLayerResult& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;}
59 
63  inline GetDownloadUrlForLayerResult& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;}
64 
68  inline GetDownloadUrlForLayerResult& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;}
69 
70 
74  inline const Aws::String& GetLayerDigest() const{ return m_layerDigest; }
75 
79  inline void SetLayerDigest(const Aws::String& value) { m_layerDigest = value; }
80 
84  inline void SetLayerDigest(Aws::String&& value) { m_layerDigest = std::move(value); }
85 
89  inline void SetLayerDigest(const char* value) { m_layerDigest.assign(value); }
90 
94  inline GetDownloadUrlForLayerResult& WithLayerDigest(const Aws::String& value) { SetLayerDigest(value); return *this;}
95 
99  inline GetDownloadUrlForLayerResult& WithLayerDigest(Aws::String&& value) { SetLayerDigest(std::move(value)); return *this;}
100 
104  inline GetDownloadUrlForLayerResult& WithLayerDigest(const char* value) { SetLayerDigest(value); return *this;}
105 
106  private:
107 
108  Aws::String m_downloadUrl;
109 
110  Aws::String m_layerDigest;
111  };
112 
113 } // namespace Model
114 } // namespace ECR
115 } // namespace Aws
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetLayerDigest
void SetLayerDigest(const char *value)
Definition: GetDownloadUrlForLayerResult.h:89
Aws::ECR::Model::GetDownloadUrlForLayerResult::GetDownloadUrl
const Aws::String & GetDownloadUrl() const
Definition: GetDownloadUrlForLayerResult.h:38
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::GetDownloadUrlForLayerResult::operator=
GetDownloadUrlForLayerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithDownloadUrl
GetDownloadUrlForLayerResult & WithDownloadUrl(const char *value)
Definition: GetDownloadUrlForLayerResult.h:68
Aws::ECR::Model::GetDownloadUrlForLayerResult
Definition: GetDownloadUrlForLayerResult.h:28
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithDownloadUrl
GetDownloadUrlForLayerResult & WithDownloadUrl(Aws::String &&value)
Definition: GetDownloadUrlForLayerResult.h:63
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetLayerDigest
void SetLayerDigest(Aws::String &&value)
Definition: GetDownloadUrlForLayerResult.h:84
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetDownloadUrl
void SetDownloadUrl(Aws::String &&value)
Definition: GetDownloadUrlForLayerResult.h:48
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetLayerDigest
void SetLayerDigest(const Aws::String &value)
Definition: GetDownloadUrlForLayerResult.h:79
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithDownloadUrl
GetDownloadUrlForLayerResult & WithDownloadUrl(const Aws::String &value)
Definition: GetDownloadUrlForLayerResult.h:58
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetDownloadUrl
void SetDownloadUrl(const char *value)
Definition: GetDownloadUrlForLayerResult.h:53
Aws::ECR::Model::GetDownloadUrlForLayerResult::GetLayerDigest
const Aws::String & GetLayerDigest() const
Definition: GetDownloadUrlForLayerResult.h:74
ECR_EXPORTS.h
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithLayerDigest
GetDownloadUrlForLayerResult & WithLayerDigest(const Aws::String &value)
Definition: GetDownloadUrlForLayerResult.h:94
AWSString.h
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithLayerDigest
GetDownloadUrlForLayerResult & WithLayerDigest(const char *value)
Definition: GetDownloadUrlForLayerResult.h:104
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::GetDownloadUrlForLayerResult::SetDownloadUrl
void SetDownloadUrl(const Aws::String &value)
Definition: GetDownloadUrlForLayerResult.h:43
Aws::ECR::Model::GetDownloadUrlForLayerResult::WithLayerDigest
GetDownloadUrlForLayerResult & WithLayerDigest(Aws::String &&value)
Definition: GetDownloadUrlForLayerResult.h:99
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::GetDownloadUrlForLayerResult::GetDownloadUrlForLayerResult
GetDownloadUrlForLayerResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::GetDownloadUrlForLayerResult::GetDownloadUrlForLayerResult
GetDownloadUrlForLayerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)