AWS SDK for C++  0.14.3
AWS SDK for C++
GetDownloadUrlForLayerResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/ecr/ECR_EXPORTS.h>
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace ECR
32 {
33 namespace Model
34 {
36  {
37  public:
41 
45  inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; }
46 
50  inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrl = value; }
51 
55  inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrl = value; }
56 
60  inline void SetDownloadUrl(const char* value) { m_downloadUrl.assign(value); }
61 
65  inline GetDownloadUrlForLayerResult& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;}
66 
70  inline GetDownloadUrlForLayerResult& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(value); return *this;}
71 
75  inline GetDownloadUrlForLayerResult& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;}
76 
80  inline const Aws::String& GetLayerDigest() const{ return m_layerDigest; }
81 
85  inline void SetLayerDigest(const Aws::String& value) { m_layerDigest = value; }
86 
90  inline void SetLayerDigest(Aws::String&& value) { m_layerDigest = value; }
91 
95  inline void SetLayerDigest(const char* value) { m_layerDigest.assign(value); }
96 
100  inline GetDownloadUrlForLayerResult& WithLayerDigest(const Aws::String& value) { SetLayerDigest(value); return *this;}
101 
105  inline GetDownloadUrlForLayerResult& WithLayerDigest(Aws::String&& value) { SetLayerDigest(value); return *this;}
106 
110  inline GetDownloadUrlForLayerResult& WithLayerDigest(const char* value) { SetLayerDigest(value); return *this;}
111 
112  private:
113  Aws::String m_downloadUrl;
114  Aws::String m_layerDigest;
115  };
116 
117 } // namespace Model
118 } // namespace ECR
119 } // namespace Aws
GetDownloadUrlForLayerResult & WithLayerDigest(Aws::String &&value)
GetDownloadUrlForLayerResult & WithDownloadUrl(Aws::String &&value)
GetDownloadUrlForLayerResult & WithLayerDigest(const Aws::String &value)
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:37
GetDownloadUrlForLayerResult & WithDownloadUrl(const char *value)
GetDownloadUrlForLayerResult & WithDownloadUrl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDownloadUrlForLayerResult & WithLayerDigest(const char *value)
JSON (JavaScript Object Notation).