AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
GetAgentRecommendationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/RemediationType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API GetAgentRecommendationRequest() = 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 "GetAgentRecommendation"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
40 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
41
43
46 inline const Aws::String& GetRecommendationArn() const { return m_recommendationArn; }
47 inline bool RecommendationArnHasBeenSet() const { return m_recommendationArnHasBeenSet; }
48 template <typename RecommendationArnT = Aws::String>
49 void SetRecommendationArn(RecommendationArnT&& value) {
50 m_recommendationArnHasBeenSet = true;
51 m_recommendationArn = std::forward<RecommendationArnT>(value);
52 }
53 template <typename RecommendationArnT = Aws::String>
55 SetRecommendationArn(std::forward<RecommendationArnT>(value));
56 return *this;
57 }
59
61
64 inline RemediationType GetRemediationType() const { return m_remediationType; }
65 inline bool RemediationTypeHasBeenSet() const { return m_remediationTypeHasBeenSet; }
67 m_remediationTypeHasBeenSet = true;
68 m_remediationType = value;
69 }
71 SetRemediationType(value);
72 return *this;
73 }
75 private:
76 Aws::String m_recommendationArn;
77
79 bool m_recommendationArnHasBeenSet = false;
80 bool m_remediationTypeHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace WellArchitected
85} // namespace Aws
GetAgentRecommendationRequest & WithRecommendationArn(RecommendationArnT &&value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAgentRecommendationRequest & WithRemediationType(RemediationType value)
AWS_WELLARCHITECTED_API GetAgentRecommendationRequest()=default
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String