AWS SDK for C++

AWS SDK for C++ Version 1.11.868

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
36
40 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
41 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
42 template <typename ProfileArnT = Aws::String>
43 void SetProfileArn(ProfileArnT&& value) {
44 m_profileArnHasBeenSet = true;
45 m_profileArn = std::forward<ProfileArnT>(value);
46 }
47 template <typename ProfileArnT = Aws::String>
49 SetProfileArn(std::forward<ProfileArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<RecommendationType>& GetTypes() const { return m_types; }
59 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
60 template <typename TypesT = Aws::Vector<RecommendationType>>
61 void SetTypes(TypesT&& value) {
62 m_typesHasBeenSet = true;
63 m_types = std::forward<TypesT>(value);
64 }
65 template <typename TypesT = Aws::Vector<RecommendationType>>
67 SetTypes(std::forward<TypesT>(value));
68 return *this;
69 }
71 m_typesHasBeenSet = true;
72 m_types.push_back(value);
73 return *this;
74 }
76
78
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template <typename NameT = Aws::String>
85 void SetName(NameT&& value) {
86 m_nameHasBeenSet = true;
87 m_name = std::forward<NameT>(value);
88 }
89 template <typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
92 return *this;
93 }
95
97
101 inline Aws::Utils::DocumentView GetAdditionalContext() const { return m_additionalContext; }
102 inline bool AdditionalContextHasBeenSet() const { return m_additionalContextHasBeenSet; }
103 template <typename AdditionalContextT = Aws::Utils::Document>
104 void SetAdditionalContext(AdditionalContextT&& value) {
105 m_additionalContextHasBeenSet = true;
106 m_additionalContext = std::forward<AdditionalContextT>(value);
107 }
108 template <typename AdditionalContextT = Aws::Utils::Document>
110 SetAdditionalContext(std::forward<AdditionalContextT>(value));
111 return *this;
112 }
114
116
119 inline const Scope& GetScope() const { return m_scope; }
120 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
121 template <typename ScopeT = Scope>
122 void SetScope(ScopeT&& value) {
123 m_scopeHasBeenSet = true;
124 m_scope = std::forward<ScopeT>(value);
125 }
126 template <typename ScopeT = Scope>
128 SetScope(std::forward<ScopeT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_profileArn;
134
136
137 Aws::String m_name;
138
139 Aws::Utils::Document m_additionalContext;
140
141 Scope m_scope;
142 bool m_profileArnHasBeenSet = false;
143 bool m_typesHasBeenSet = false;
144 bool m_nameHasBeenSet = false;
145 bool m_additionalContextHasBeenSet = false;
146 bool m_scopeHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace WellArchitected
151} // namespace Aws
StartAgentRecommendationGenerationRequest & WithAdditionalContext(AdditionalContextT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
StartAgentRecommendationGenerationRequest & WithProfileArn(ProfileArnT &&value)
StartAgentRecommendationGenerationRequest & AddTypes(RecommendationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector