AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
57 inline GetComponentVersionArtifactRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline GetComponentVersionArtifactRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline GetComponentVersionArtifactRequest& WithArn(const char* value) { SetArn(value); return *this;}
61
63
71 inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
72 inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
73 inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; }
74 inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); }
75 inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); }
77 inline GetComponentVersionArtifactRequest& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
78 inline GetComponentVersionArtifactRequest& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
80
82
89 inline const S3EndpointType& GetS3EndpointType() const{ return m_s3EndpointType; }
90 inline bool S3EndpointTypeHasBeenSet() const { return m_s3EndpointTypeHasBeenSet; }
91 inline void SetS3EndpointType(const S3EndpointType& value) { m_s3EndpointTypeHasBeenSet = true; m_s3EndpointType = value; }
92 inline void SetS3EndpointType(S3EndpointType&& value) { m_s3EndpointTypeHasBeenSet = true; m_s3EndpointType = std::move(value); }
96
98
104 inline const IotEndpointType& GetIotEndpointType() const{ return m_iotEndpointType; }
105 inline bool IotEndpointTypeHasBeenSet() const { return m_iotEndpointTypeHasBeenSet; }
106 inline void SetIotEndpointType(const IotEndpointType& value) { m_iotEndpointTypeHasBeenSet = true; m_iotEndpointType = value; }
107 inline void SetIotEndpointType(IotEndpointType&& value) { m_iotEndpointTypeHasBeenSet = true; m_iotEndpointType = std::move(value); }
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_artifactName;
117 bool m_artifactNameHasBeenSet = false;
118
119 S3EndpointType m_s3EndpointType;
120 bool m_s3EndpointTypeHasBeenSet = false;
121
122 IotEndpointType m_iotEndpointType;
123 bool m_iotEndpointTypeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace GreengrassV2
128} // namespace Aws
GetComponentVersionArtifactRequest & WithArtifactName(const char *value)
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetComponentVersionArtifactRequest & WithIotEndpointType(const IotEndpointType &value)
GetComponentVersionArtifactRequest & WithArn(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
GetComponentVersionArtifactRequest & WithArn(const char *value)
GetComponentVersionArtifactRequest & WithArtifactName(Aws::String &&value)
GetComponentVersionArtifactRequest & WithArtifactName(const Aws::String &value)
GetComponentVersionArtifactRequest & WithS3EndpointType(const S3EndpointType &value)
GetComponentVersionArtifactRequest & WithArn(Aws::String &&value)
AWS_GREENGRASSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetComponentVersionArtifactRequest & WithIotEndpointType(IotEndpointType &&value)
GetComponentVersionArtifactRequest & WithS3EndpointType(S3EndpointType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String