AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecommendationLifecycleRequest.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/trustedadvisor/TrustedAdvisorRequest.h>
9#include <aws/trustedadvisor/model/UpdateRecommendationLifecycleStage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/trustedadvisor/model/UpdateRecommendationLifecycleStageReasonCode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace TrustedAdvisor
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_TRUSTEDADVISOR_API UpdateRecommendationLifecycleRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRecommendationLifecycle"; }
33
34 AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override;
35
36
38
41 inline const UpdateRecommendationLifecycleStage& GetLifecycleStage() const{ return m_lifecycleStage; }
42 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
43 inline void SetLifecycleStage(const UpdateRecommendationLifecycleStage& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = value; }
44 inline void SetLifecycleStage(UpdateRecommendationLifecycleStage&& value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = std::move(value); }
48
50
54 inline const Aws::String& GetRecommendationIdentifier() const{ return m_recommendationIdentifier; }
55 inline bool RecommendationIdentifierHasBeenSet() const { return m_recommendationIdentifierHasBeenSet; }
56 inline void SetRecommendationIdentifier(const Aws::String& value) { m_recommendationIdentifierHasBeenSet = true; m_recommendationIdentifier = value; }
57 inline void SetRecommendationIdentifier(Aws::String&& value) { m_recommendationIdentifierHasBeenSet = true; m_recommendationIdentifier = std::move(value); }
58 inline void SetRecommendationIdentifier(const char* value) { m_recommendationIdentifierHasBeenSet = true; m_recommendationIdentifier.assign(value); }
63
65
68 inline const Aws::String& GetUpdateReason() const{ return m_updateReason; }
69 inline bool UpdateReasonHasBeenSet() const { return m_updateReasonHasBeenSet; }
70 inline void SetUpdateReason(const Aws::String& value) { m_updateReasonHasBeenSet = true; m_updateReason = value; }
71 inline void SetUpdateReason(Aws::String&& value) { m_updateReasonHasBeenSet = true; m_updateReason = std::move(value); }
72 inline void SetUpdateReason(const char* value) { m_updateReasonHasBeenSet = true; m_updateReason.assign(value); }
74 inline UpdateRecommendationLifecycleRequest& WithUpdateReason(Aws::String&& value) { SetUpdateReason(std::move(value)); return *this;}
75 inline UpdateRecommendationLifecycleRequest& WithUpdateReason(const char* value) { SetUpdateReason(value); return *this;}
77
79
82 inline const UpdateRecommendationLifecycleStageReasonCode& GetUpdateReasonCode() const{ return m_updateReasonCode; }
83 inline bool UpdateReasonCodeHasBeenSet() const { return m_updateReasonCodeHasBeenSet; }
84 inline void SetUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode& value) { m_updateReasonCodeHasBeenSet = true; m_updateReasonCode = value; }
85 inline void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode&& value) { m_updateReasonCodeHasBeenSet = true; m_updateReasonCode = std::move(value); }
89 private:
90
92 bool m_lifecycleStageHasBeenSet = false;
93
94 Aws::String m_recommendationIdentifier;
95 bool m_recommendationIdentifierHasBeenSet = false;
96
97 Aws::String m_updateReason;
98 bool m_updateReasonHasBeenSet = false;
99
101 bool m_updateReasonCodeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace TrustedAdvisor
106} // namespace Aws
UpdateRecommendationLifecycleRequest & WithLifecycleStage(const UpdateRecommendationLifecycleStage &value)
const UpdateRecommendationLifecycleStageReasonCode & GetUpdateReasonCode() const
UpdateRecommendationLifecycleRequest & WithRecommendationIdentifier(const Aws::String &value)
UpdateRecommendationLifecycleRequest & WithUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
UpdateRecommendationLifecycleRequest & WithLifecycleStage(UpdateRecommendationLifecycleStage &&value)
void SetUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
UpdateRecommendationLifecycleRequest & WithUpdateReason(const char *value)
UpdateRecommendationLifecycleRequest & WithUpdateReason(const Aws::String &value)
UpdateRecommendationLifecycleRequest & WithUpdateReason(Aws::String &&value)
void SetUpdateReasonCode(const UpdateRecommendationLifecycleStageReasonCode &value)
AWS_TRUSTEDADVISOR_API Aws::String SerializePayload() const override
UpdateRecommendationLifecycleRequest & WithRecommendationIdentifier(Aws::String &&value)
UpdateRecommendationLifecycleRequest & WithRecommendationIdentifier(const char *value)
UpdateRecommendationLifecycleRequest & WithUpdateReasonCode(UpdateRecommendationLifecycleStageReasonCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String