AWS SDK for C++  1.9.129
AWS SDK for C++
GetComponentVersionArtifactResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 GreengrassV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; }
39 
43  inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrl = value; }
44 
48  inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrl = std::move(value); }
49 
53  inline void SetPreSignedUrl(const char* value) { m_preSignedUrl.assign(value); }
54 
58  inline GetComponentVersionArtifactResult& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;}
59 
63  inline GetComponentVersionArtifactResult& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;}
64 
68  inline GetComponentVersionArtifactResult& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;}
69 
70  private:
71 
72  Aws::String m_preSignedUrl;
73  };
74 
75 } // namespace Model
76 } // namespace GreengrassV2
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult
Definition: GetComponentVersionArtifactResult.h:28
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::WithPreSignedUrl
GetComponentVersionArtifactResult & WithPreSignedUrl(const Aws::String &value)
Definition: GetComponentVersionArtifactResult.h:58
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::GetComponentVersionArtifactResult
GetComponentVersionArtifactResult()
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::GetComponentVersionArtifactResult
GetComponentVersionArtifactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::SetPreSignedUrl
void SetPreSignedUrl(Aws::String &&value)
Definition: GetComponentVersionArtifactResult.h:48
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::SetPreSignedUrl
void SetPreSignedUrl(const Aws::String &value)
Definition: GetComponentVersionArtifactResult.h:43
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::SetPreSignedUrl
void SetPreSignedUrl(const char *value)
Definition: GetComponentVersionArtifactResult.h:53
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::GetPreSignedUrl
const Aws::String & GetPreSignedUrl() const
Definition: GetComponentVersionArtifactResult.h:38
AWSString.h
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::WithPreSignedUrl
GetComponentVersionArtifactResult & WithPreSignedUrl(Aws::String &&value)
Definition: GetComponentVersionArtifactResult.h:63
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::operator=
GetComponentVersionArtifactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::GetComponentVersionArtifactResult::WithPreSignedUrl
GetComponentVersionArtifactResult & WithPreSignedUrl(const char *value)
Definition: GetComponentVersionArtifactResult.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97