AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSolutionArn(const Aws::String& value) { m_solutionArnHasBeenSet = true; m_solutionArn = value; }
45 inline void SetSolutionArn(Aws::String&& value) { m_solutionArnHasBeenSet = true; m_solutionArn = std::move(value); }
46 inline void SetSolutionArn(const char* value) { m_solutionArnHasBeenSet = true; m_solutionArn.assign(value); }
47 inline UpdateSolutionRequest& WithSolutionArn(const Aws::String& value) { SetSolutionArn(value); return *this;}
48 inline UpdateSolutionRequest& WithSolutionArn(Aws::String&& value) { SetSolutionArn(std::move(value)); return *this;}
49 inline UpdateSolutionRequest& WithSolutionArn(const char* value) { SetSolutionArn(value); return *this;}
51
53
70 inline bool GetPerformAutoTraining() const{ return m_performAutoTraining; }
71 inline bool PerformAutoTrainingHasBeenSet() const { return m_performAutoTrainingHasBeenSet; }
72 inline void SetPerformAutoTraining(bool value) { m_performAutoTrainingHasBeenSet = true; m_performAutoTraining = value; }
73 inline UpdateSolutionRequest& WithPerformAutoTraining(bool value) { SetPerformAutoTraining(value); return *this;}
75
77
80 inline const SolutionUpdateConfig& GetSolutionUpdateConfig() const{ return m_solutionUpdateConfig; }
81 inline bool SolutionUpdateConfigHasBeenSet() const { return m_solutionUpdateConfigHasBeenSet; }
82 inline void SetSolutionUpdateConfig(const SolutionUpdateConfig& value) { m_solutionUpdateConfigHasBeenSet = true; m_solutionUpdateConfig = value; }
83 inline void SetSolutionUpdateConfig(SolutionUpdateConfig&& value) { m_solutionUpdateConfigHasBeenSet = true; m_solutionUpdateConfig = std::move(value); }
87 private:
88
89 Aws::String m_solutionArn;
90 bool m_solutionArnHasBeenSet = false;
91
92 bool m_performAutoTraining;
93 bool m_performAutoTrainingHasBeenSet = false;
94
95 SolutionUpdateConfig m_solutionUpdateConfig;
96 bool m_solutionUpdateConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Personalize
101} // namespace Aws
const SolutionUpdateConfig & GetSolutionUpdateConfig() const
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
UpdateSolutionRequest & WithSolutionUpdateConfig(const SolutionUpdateConfig &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSolutionRequest & WithPerformAutoTraining(bool value)
UpdateSolutionRequest & WithSolutionUpdateConfig(SolutionUpdateConfig &&value)
virtual const char * GetServiceRequestName() const override
void SetSolutionUpdateConfig(SolutionUpdateConfig &&value)
UpdateSolutionRequest & WithSolutionArn(const char *value)
void SetSolutionUpdateConfig(const SolutionUpdateConfig &value)
UpdateSolutionRequest & WithSolutionArn(const Aws::String &value)
UpdateSolutionRequest & WithSolutionArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String