AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetComponentVersionArtifactRequest.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/greengrassv2/model/S3EndpointType.h>
11#include <aws/greengrassv2/model/IotEndpointType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace GreengrassV2
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GREENGRASSV2_API GetComponentVersionArtifactRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetComponentVersionArtifact"; }
37
38 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
39
40 AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42 AWS_GREENGRASSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
52 inline const Aws::String& GetArn() const { return m_arn; }
53 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 GetComponentVersionArtifactRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
69 inline const Aws::String& GetArtifactName() const { return m_artifactName; }
70 inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
71 template<typename ArtifactNameT = Aws::String>
72 void SetArtifactName(ArtifactNameT&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::forward<ArtifactNameT>(value); }
73 template<typename ArtifactNameT = Aws::String>
74 GetComponentVersionArtifactRequest& WithArtifactName(ArtifactNameT&& value) { SetArtifactName(std::forward<ArtifactNameT>(value)); return *this;}
76
78
85 inline S3EndpointType GetS3EndpointType() const { return m_s3EndpointType; }
86 inline bool S3EndpointTypeHasBeenSet() const { return m_s3EndpointTypeHasBeenSet; }
87 inline void SetS3EndpointType(S3EndpointType value) { m_s3EndpointTypeHasBeenSet = true; m_s3EndpointType = value; }
90
92
98 inline IotEndpointType GetIotEndpointType() const { return m_iotEndpointType; }
99 inline bool IotEndpointTypeHasBeenSet() const { return m_iotEndpointTypeHasBeenSet; }
100 inline void SetIotEndpointType(IotEndpointType value) { m_iotEndpointTypeHasBeenSet = true; m_iotEndpointType = value; }
103 private:
104
105 Aws::String m_arn;
106 bool m_arnHasBeenSet = false;
107
108 Aws::String m_artifactName;
109 bool m_artifactNameHasBeenSet = false;
110
111 S3EndpointType m_s3EndpointType{S3EndpointType::NOT_SET};
112 bool m_s3EndpointTypeHasBeenSet = false;
113
114 IotEndpointType m_iotEndpointType{IotEndpointType::NOT_SET};
115 bool m_iotEndpointTypeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace GreengrassV2
120} // namespace Aws
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_GREENGRASSV2_API GetComponentVersionArtifactRequest()=default
GetComponentVersionArtifactRequest & WithIotEndpointType(IotEndpointType value)
GetComponentVersionArtifactRequest & WithArtifactName(ArtifactNameT &&value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
GetComponentVersionArtifactRequest & WithS3EndpointType(S3EndpointType value)
AWS_GREENGRASSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String