AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBRecommendationRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/RecommendedActionUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
24 {
25 public:
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 "ModifyDBRecommendation"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
46 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
47 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
48 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
49 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
51 inline ModifyDBRecommendationRequest& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
52 inline ModifyDBRecommendationRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
54
56
59 inline const Aws::String& GetLocale() const{ return m_locale; }
60 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
61 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
62 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
63 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
64 inline ModifyDBRecommendationRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
65 inline ModifyDBRecommendationRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
66 inline ModifyDBRecommendationRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
68
70
74 inline const Aws::String& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
79 inline ModifyDBRecommendationRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
80 inline ModifyDBRecommendationRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
81 inline ModifyDBRecommendationRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
83
85
89 inline const Aws::Vector<RecommendedActionUpdate>& GetRecommendedActionUpdates() const{ return m_recommendedActionUpdates; }
90 inline bool RecommendedActionUpdatesHasBeenSet() const { return m_recommendedActionUpdatesHasBeenSet; }
91 inline void SetRecommendedActionUpdates(const Aws::Vector<RecommendedActionUpdate>& value) { m_recommendedActionUpdatesHasBeenSet = true; m_recommendedActionUpdates = value; }
92 inline void SetRecommendedActionUpdates(Aws::Vector<RecommendedActionUpdate>&& value) { m_recommendedActionUpdatesHasBeenSet = true; m_recommendedActionUpdates = std::move(value); }
95 inline ModifyDBRecommendationRequest& AddRecommendedActionUpdates(const RecommendedActionUpdate& value) { m_recommendedActionUpdatesHasBeenSet = true; m_recommendedActionUpdates.push_back(value); return *this; }
96 inline ModifyDBRecommendationRequest& AddRecommendedActionUpdates(RecommendedActionUpdate&& value) { m_recommendedActionUpdatesHasBeenSet = true; m_recommendedActionUpdates.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::String m_recommendationId;
101 bool m_recommendationIdHasBeenSet = false;
102
103 Aws::String m_locale;
104 bool m_localeHasBeenSet = false;
105
106 Aws::String m_status;
107 bool m_statusHasBeenSet = false;
108
109 Aws::Vector<RecommendedActionUpdate> m_recommendedActionUpdates;
110 bool m_recommendedActionUpdatesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace RDS
115} // namespace Aws
ModifyDBRecommendationRequest & WithStatus(const char *value)
ModifyDBRecommendationRequest & WithRecommendationId(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBRecommendationRequest & WithStatus(Aws::String &&value)
ModifyDBRecommendationRequest & WithRecommendationId(const Aws::String &value)
const Aws::Vector< RecommendedActionUpdate > & GetRecommendedActionUpdates() const
ModifyDBRecommendationRequest & WithLocale(const Aws::String &value)
ModifyDBRecommendationRequest & AddRecommendedActionUpdates(RecommendedActionUpdate &&value)
ModifyDBRecommendationRequest & WithLocale(const char *value)
void SetRecommendedActionUpdates(const Aws::Vector< RecommendedActionUpdate > &value)
virtual const char * GetServiceRequestName() const override
ModifyDBRecommendationRequest & WithRecommendationId(Aws::String &&value)
ModifyDBRecommendationRequest & WithLocale(Aws::String &&value)
ModifyDBRecommendationRequest & WithRecommendedActionUpdates(const Aws::Vector< RecommendedActionUpdate > &value)
void SetRecommendedActionUpdates(Aws::Vector< RecommendedActionUpdate > &&value)
ModifyDBRecommendationRequest & WithRecommendedActionUpdates(Aws::Vector< RecommendedActionUpdate > &&value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyDBRecommendationRequest & AddRecommendedActionUpdates(const RecommendedActionUpdate &value)
ModifyDBRecommendationRequest & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector