AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
StartAgentRecommendationGenerationRequest.h
1
6#pragma once
7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wellarchitected/WellArchitectedRequest.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/RecommendationType.h>
13#include <aws/wellarchitected/model/Scope.h>
14
15#include <utility>
16
17namespace Aws {
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API StartAgentRecommendationGenerationRequest() = 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 "StartAgentRecommendationGeneration"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
38 AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override;
39
41
45 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
46 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
47 template <typename ProfileArnT = Aws::String>
48 void SetProfileArn(ProfileArnT&& value) {
49 m_profileArnHasBeenSet = true;
50 m_profileArn = std::forward<ProfileArnT>(value);
51 }
52 template <typename ProfileArnT = Aws::String>
54 SetProfileArn(std::forward<ProfileArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<RecommendationType>& GetTypes() const { return m_types; }
64 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
65 template <typename TypesT = Aws::Vector<RecommendationType>>
66 void SetTypes(TypesT&& value) {
67 m_typesHasBeenSet = true;
68 m_types = std::forward<TypesT>(value);
69 }
70 template <typename TypesT = Aws::Vector<RecommendationType>>
72 SetTypes(std::forward<TypesT>(value));
73 return *this;
74 }
76 m_typesHasBeenSet = true;
77 m_types.push_back(value);
78 return *this;
79 }
81
83
87 inline const Aws::String& GetName() const { return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 template <typename NameT = Aws::String>
90 void SetName(NameT&& value) {
91 m_nameHasBeenSet = true;
92 m_name = std::forward<NameT>(value);
93 }
94 template <typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
97 return *this;
98 }
100
102
106 inline Aws::Utils::DocumentView GetAdditionalContext() const { return m_additionalContext; }
107 inline bool AdditionalContextHasBeenSet() const { return m_additionalContextHasBeenSet; }
108 template <typename AdditionalContextT = Aws::Utils::Document>
109 void SetAdditionalContext(AdditionalContextT&& value) {
110 m_additionalContextHasBeenSet = true;
111 m_additionalContext = std::forward<AdditionalContextT>(value);
112 }
113 template <typename AdditionalContextT = Aws::Utils::Document>
115 SetAdditionalContext(std::forward<AdditionalContextT>(value));
116 return *this;
117 }
119
121
124 inline const Scope& GetScope() const { return m_scope; }
125 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
126 template <typename ScopeT = Scope>
127 void SetScope(ScopeT&& value) {
128 m_scopeHasBeenSet = true;
129 m_scope = std::forward<ScopeT>(value);
130 }
131 template <typename ScopeT = Scope>
133 SetScope(std::forward<ScopeT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_profileArn;
139
141
142 Aws::String m_name;
143
144 Aws::Utils::Document m_additionalContext;
145
146 Scope m_scope;
147 bool m_profileArnHasBeenSet = false;
148 bool m_typesHasBeenSet = false;
149 bool m_nameHasBeenSet = false;
150 bool m_additionalContextHasBeenSet = false;
151 bool m_scopeHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace WellArchitected
156} // namespace Aws
StartAgentRecommendationGenerationRequest & WithAdditionalContext(AdditionalContextT &&value)
AWS_WELLARCHITECTED_API EndpointParameters GetEndpointContextParams() const override
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
StartAgentRecommendationGenerationRequest & WithProfileArn(ProfileArnT &&value)
StartAgentRecommendationGenerationRequest & AddTypes(RecommendationType value)
Aws::Endpoint::EndpointParameters EndpointParameters
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector