AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetComponentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10#include <aws/greengrassv2/model/RecipeOutputFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace GreengrassV2 {
19namespace Model {
20
24 public:
25 AWS_GREENGRASSV2_API GetComponentRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetComponent"; }
32
33 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
34
35 AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline RecipeOutputFormat GetRecipeOutputFormat() const { return m_recipeOutputFormat; }
42 inline bool RecipeOutputFormatHasBeenSet() const { return m_recipeOutputFormatHasBeenSet; }
44 m_recipeOutputFormatHasBeenSet = true;
45 m_recipeOutputFormat = value;
46 }
49 return *this;
50 }
52
54
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_arn;
76 bool m_recipeOutputFormatHasBeenSet = false;
77 bool m_arnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace GreengrassV2
82} // namespace Aws
AWS_GREENGRASSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetRecipeOutputFormat(RecipeOutputFormat value)
virtual const char * GetServiceRequestName() const override
GetComponentRequest & WithRecipeOutputFormat(RecipeOutputFormat value)
GetComponentRequest & WithArn(ArnT &&value)
AWS_GREENGRASSV2_API GetComponentRequest()=default
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String