AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
GetComponentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace imagebuilder {
18namespace Model {
19
23 public:
24 AWS_IMAGEBUILDER_API GetComponentRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetComponent"; }
31
32 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
33
34 AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
44 inline const Aws::String& GetComponentBuildVersionArn() const { return m_componentBuildVersionArn; }
45 inline bool ComponentBuildVersionArnHasBeenSet() const { return m_componentBuildVersionArnHasBeenSet; }
46 template <typename ComponentBuildVersionArnT = Aws::String>
47 void SetComponentBuildVersionArn(ComponentBuildVersionArnT&& value) {
48 m_componentBuildVersionArnHasBeenSet = true;
49 m_componentBuildVersionArn = std::forward<ComponentBuildVersionArnT>(value);
50 }
51 template <typename ComponentBuildVersionArnT = Aws::String>
52 GetComponentRequest& WithComponentBuildVersionArn(ComponentBuildVersionArnT&& value) {
53 SetComponentBuildVersionArn(std::forward<ComponentBuildVersionArnT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_componentBuildVersionArn;
59 bool m_componentBuildVersionArnHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace imagebuilder
64} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetComponentBuildVersionArn(ComponentBuildVersionArnT &&value)
GetComponentRequest & WithComponentBuildVersionArn(ComponentBuildVersionArnT &&value)
AWS_IMAGEBUILDER_API GetComponentRequest()=default
const Aws::String & GetComponentBuildVersionArn() const
AWS_IMAGEBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String