AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateSolutionRequest.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/personalize/model/SolutionUpdateConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Personalize
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PERSONALIZE_API UpdateSolutionRequest() = 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 "UpdateSolution"; }
32
33 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
34
35 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetSolutionArn() const { return m_solutionArn; }
43 inline bool SolutionArnHasBeenSet() const { return m_solutionArnHasBeenSet; }
44 template<typename SolutionArnT = Aws::String>
45 void SetSolutionArn(SolutionArnT&& value) { m_solutionArnHasBeenSet = true; m_solutionArn = std::forward<SolutionArnT>(value); }
46 template<typename SolutionArnT = Aws::String>
47 UpdateSolutionRequest& WithSolutionArn(SolutionArnT&& value) { SetSolutionArn(std::forward<SolutionArnT>(value)); return *this;}
49
51
68 inline bool GetPerformAutoTraining() const { return m_performAutoTraining; }
69 inline bool PerformAutoTrainingHasBeenSet() const { return m_performAutoTrainingHasBeenSet; }
70 inline void SetPerformAutoTraining(bool value) { m_performAutoTrainingHasBeenSet = true; m_performAutoTraining = value; }
71 inline UpdateSolutionRequest& WithPerformAutoTraining(bool value) { SetPerformAutoTraining(value); return *this;}
73
75
78 inline const SolutionUpdateConfig& GetSolutionUpdateConfig() const { return m_solutionUpdateConfig; }
79 inline bool SolutionUpdateConfigHasBeenSet() const { return m_solutionUpdateConfigHasBeenSet; }
80 template<typename SolutionUpdateConfigT = SolutionUpdateConfig>
81 void SetSolutionUpdateConfig(SolutionUpdateConfigT&& value) { m_solutionUpdateConfigHasBeenSet = true; m_solutionUpdateConfig = std::forward<SolutionUpdateConfigT>(value); }
82 template<typename SolutionUpdateConfigT = SolutionUpdateConfig>
83 UpdateSolutionRequest& WithSolutionUpdateConfig(SolutionUpdateConfigT&& value) { SetSolutionUpdateConfig(std::forward<SolutionUpdateConfigT>(value)); return *this;}
85 private:
86
87 Aws::String m_solutionArn;
88 bool m_solutionArnHasBeenSet = false;
89
90 bool m_performAutoTraining{false};
91 bool m_performAutoTrainingHasBeenSet = false;
92
93 SolutionUpdateConfig m_solutionUpdateConfig;
94 bool m_solutionUpdateConfigHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Personalize
99} // namespace Aws
const SolutionUpdateConfig & GetSolutionUpdateConfig() const
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSolutionRequest & WithPerformAutoTraining(bool value)
void SetSolutionUpdateConfig(SolutionUpdateConfigT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSolutionRequest & WithSolutionUpdateConfig(SolutionUpdateConfigT &&value)
UpdateSolutionRequest & WithSolutionArn(SolutionArnT &&value)
AWS_PERSONALIZE_API UpdateSolutionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String